You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm run register /etc/discord/ReactionRoleBot/config.json
70
+
npm run register -- --config /etc/discord/ReactionRoleBot/config.json src/commands.ts
71
71
NODE_ENV=prod npm run knex migrate:latest
72
72
```
73
73
@@ -86,7 +86,7 @@ start your bot.
86
86
87
87
-**database_file** - Use a different SQLite3 database file. This defaults to `/srv/discord/rolebot.sqlite3`. Users on non-Linux systems will probably want to change this.
88
88
-**enable_precache** - Makes the bot pre-cache all messages with reaction roles on startup. This can help the bot be more consistent when it first starts, but will cause larger bots to be rate limited. Use with caution!
89
-
-**guild_id** - Limits slash command registration to this Guild. This is useful for bot development.
89
+
-**guild** - Limits slash command registration to this Guild. This is useful for bot development.
90
90
-**log_file** - Use a different log file. This defaults to `output.log` in the project root.
91
91
92
92
You can also run the bot with a config file other than `config.json`, but you must provide an absolute file path!
0 commit comments