-
Notifications
You must be signed in to change notification settings - Fork 8
Configuration
CY L edited this page Dec 18, 2021
·
8 revisions
Open the config.js
file in the bot's folder. If you don't have a code editor software such as Visual Studio Code, you can simply open the file with a text editor.
View an example of configured config.js
Key | Description | Required |
---|---|---|
token |
Your Bot's Token (e.g. MjQ1NTU5MDg3NGI0MjE2ODMy.AulyxA.brcD2xRAqjACTuMcGPwy4TWVQdg ) |
true |
databaseURI |
Your MongoDB Database URI (e.g. mongodb+srv://Username:<password>@modmail.mongodb.net/ ) |
true |
guildID |
Your modmail thread server ID (the server you use to receive modmails) | true |
category |
ID of the category where threads will be created | true |
roleID |
ID of the role for modmail staff(s) (users without this role cannot reply, view, delete modmails) | true |
prefix |
Made with ❤️ by the Chee Yong Lee & the Bot Studios team.