Update docs
This commit is contained in:
parent
0c5f9f4d6a
commit
52bf19204c
1 changed files with 3 additions and 3 deletions
|
@ -16,12 +16,12 @@ To generate a new Command or Event run `deno task new:command` or `deno task new
|
||||||
|
|
||||||
## Running Locally
|
## Running Locally
|
||||||
|
|
||||||
- Copy .env.example and rename to .env
|
- Copy `.env.example` and rename to `.env`
|
||||||
- Create a Discord Bot with all gateway permissions enabled
|
- Create a Discord Bot with all gateway permissions enabled
|
||||||
- Generate a token for this discord bot and paste it in the .env for BOT_TOKEN
|
- Generate a token for this discord bot and paste it in the .env for `BOT_TOKEN`
|
||||||
- Run `deno run --allow-all mod.ts` to run locally
|
- Run `deno run --allow-all mod.ts` to run locally
|
||||||
|
|
||||||
## Adding the bot to a server
|
## Adding the bot to a server
|
||||||
|
|
||||||
Use the following link (replacing BOT_TOKEN with your own Token of course...) to add your bot:
|
Use the following link (replacing `BOT_TOKEN` with your own Token of course...) to add your bot:
|
||||||
https://discord.com/oauth2/authorize?client_id=BOT_TOKEN&scope=bot&permissions=8
|
https://discord.com/oauth2/authorize?client_id=BOT_TOKEN&scope=bot&permissions=8
|
||||||
|
|
Loading…
Add table
Reference in a new issue