Use stable in example
This commit is contained in:
parent
af8e17c462
commit
b265d0fb71
1 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ You can import the package from https://deno.land/x/harmony/mod.ts (with latest
|
||||||
For a quick example, run this:
|
For a quick example, run this:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
deno run --allow-net https://raw.githubusercontent.com/harmony-org/harmony/main/examples/ping.ts
|
deno run --allow-net https://deno.land/x/harmony/examples/ping.ts
|
||||||
```
|
```
|
||||||
|
|
||||||
And input your bot's token and Intents.
|
And input your bot's token and Intents.
|
||||||
|
@ -48,7 +48,7 @@ import {
|
||||||
Client,
|
Client,
|
||||||
Message,
|
Message,
|
||||||
Intents
|
Intents
|
||||||
} from 'https://raw.githubusercontent.com/harmony-org/harmony/main/mod.ts'
|
} from 'https://deno.land/x/harmony/mod.ts'
|
||||||
|
|
||||||
const client = new Client()
|
const client = new Client()
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ import {
|
||||||
CommandContext,
|
CommandContext,
|
||||||
Message,
|
Message,
|
||||||
Intents
|
Intents
|
||||||
} from 'https://raw.githubusercontent.com/harmony-org/harmony/main/mod.ts'
|
} from 'https://deno.land/x/harmony/mod.ts'
|
||||||
|
|
||||||
const client = new CommandClient({
|
const client = new CommandClient({
|
||||||
prefix: '!'
|
prefix: '!'
|
||||||
|
|
Loading…
Reference in a new issue