@spatulox/discord-interaction-manager 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/MainCLI.js +58 -58
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,6 +41,13 @@ You can use dotenv or set them by hand
|
|
|
41
41
|
DISCORD_BOT_TOKEN="" // Discord Bot Token
|
|
42
42
|
DISCORD_BOT_CLIENTID="" // The clientID of your bot
|
|
43
43
|
DISCORD_INTERACTION_FOLDER="" // Optionnal, redirect where the generated interactions files are stored
|
|
44
|
+
DISCORD_BOT_DEV (optional)
|
|
45
|
+
* Set to `true` to enable **development mode**. This switches:
|
|
46
|
+
* - Command files: `./handlers/commands/` → `./handlers/commands_dev/`
|
|
47
|
+
* - Context Menu files: `./handlers/context_menu/` → `./handlers/context_menu_dev/`
|
|
48
|
+
* Use the dev ENV to use dev interaction and change them as you like before setting them in you prod env
|
|
49
|
+
* Avoid overwriting you interaction IDS on your prod interactions, IDS are used to update the interaction, if you overwrite them, it will be a new interaction
|
|
50
|
+
|
|
44
51
|
```
|
|
45
52
|
|
|
46
53
|
## Run the tool
|