File tree 2 files changed +24
-5
lines changed
2 files changed +24
-5
lines changed Original file line number Diff line number Diff line change
1
+ ENVIORNMENT = dev # dev, prod
2
+
3
+ TOKEN = Bot 12ab3dc # The "Bot" prefix is required
4
+ DEV_TOKEN = Bot 12ab3dc # Optional if you want to use a separate bot for development
5
+
6
+ APP_ID = 12345 # ID of the app, found in the Discord Developer Portal
7
+ DEV_APP_ID = 12345 # Optional if you want to use a separate bot for development
8
+
9
+ REGISTER_CMDS = false # Set this to true if you want to register all commands on startup (recommended for development)
10
+ MAIN_COLOR = #FFFFFF # The color of the bot's embeds
11
+ OWNER_ID = 12345 # The ID of the bot owner
12
+ WEBHOOK_URL = ... # Optional Webhook for console logs
13
+
14
+ # Redis
15
+ REDIS_URL = redis://... # Redis URL
16
+
17
+ # Database
18
+ DATABASE_DSN = ... # Postgre DSN for the database
Original file line number Diff line number Diff line change 1
1
# 🦆 Quack
2
2
3
- * Formerly Seeds *
3
+ _ Formerly Seeds _
4
4
5
5
A Discord bot focused on making Discord safer. Providing exceptional tools for moderation and community protection.
6
6
@@ -26,17 +26,18 @@ cd bot
26
26
27
27
2 . Set up environment variables.
28
28
29
- - Create a ` .env.local ` in the root of the project.
30
- - Refer to [ ` config.ts ` ] ( ./config.ts ) to see all the required enviornment variables.
31
- - Feel free to omit any for testing.
29
+ - Create a ` .env.local ` in the root of the project.
30
+ - Refer to [ ` .env.example ` ] ( ./env.example ) to see all the required enviornment variables.
31
+ - Refer to [ ` config.json ` ] ( ./config.json ) to see more configuration options.
32
+ - Feel free to omit any for testing.
32
33
33
34
3 . Start the bot!
34
35
35
36
```
36
37
go run .
37
38
```
38
39
39
- - This will run the bot.
40
+ - This will run the bot.
40
41
41
42
## Contributing
42
43
You can’t perform that action at this time.
0 commit comments