Change lib name

This commit is contained in:
Aki 2020-11-08 16:16:24 +09:00 committed by GitHub
parent 5dc03895a6
commit 8ff3ef9f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# discord-deno # harmony
![banner](banner.png) ![banner](banner.png)
@ -28,17 +28,17 @@ Note: Library is yet under development and not completely usable. You're still a
## Usage ## Usage
Right now, the package is not published anywhere, as its not completely usable. Right now, the package is not published anywhere, as its not completely usable.
You can import it from this Raw GitHub URL: https://raw.githubusercontent.com/discord-deno/discord.deno/main/mod.ts You can import it from this Raw GitHub URL: https://raw.githubusercontent.com/harmony-org/harmony/main/mod.ts
For a quick example, run this: For a quick example, run this:
```bash ```bash
deno run --allow-net https://raw.githubusercontent.com/discord-deno/discord.deno/main/examples/ping.ts deno run --allow-net https://raw.githubusercontent.com/harmony-org/harmony/main/examples/ping.ts
``` ```
And input your bot's token and Intents. And input your bot's token and Intents.
Here is a small example of how to use discord.deno, Here is a small example of how to use discord.deno,
```ts ```ts
import { Client, Message, Intents } from 'https://raw.githubusercontent.com/discord-deno/discord.deno/main/mod.ts' import { Client, Message, Intents } from 'https://raw.githubusercontent.com//harmony-org/harmony/main/mod.ts'
const client = new Client() const client = new Client()
@ -61,7 +61,7 @@ client.connect('super secret token comes here', Intents.All)
Or with CommandClient! Or with CommandClient!
```ts ```ts
import { CommandClient, Command, CommandContext, Message, Intents } from 'https://raw.githubusercontent.com/discord-deno/discord.deno/main/mod.ts' import { CommandClient, Command, CommandContext, Message, Intents } from 'https://raw.githubusercontent.com/harmony-org/harmony/main/mod.ts'
const client = new CommandClient({ const client = new CommandClient({
prefix: '!' prefix: '!'