Use stable in example

This commit is contained in:
Helloyunho 2020-12-03 20:07:35 +09:00 committed by GitHub
parent af8e17c462
commit b265d0fb71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: '!'