Skip to content

docimin/modmail-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fyfu ModMail

Setup

To setup the bot please fill in the .env file.

Edit messages

All messages are saved in ./bot/assets/messages and can be edited at any time.

To visualize messages, you can use any Discord message editor like the editor in Sapphire.

Slash Command Permissions

Every user in the .env file will automatically have permissions for slash commands (and oauth).

Additionally users can be add in the "User Management" tab in the Dashboard. They will get permission to login after restarting, even permissions that use Slash Commands.

The command /support is open for all users.

Code editing

Bot

When the code in ./bot has been edited, the bot needs to be restarted.

Dashboard

When the code in ./dashboard/src has been edited, the following needs to be run in the ./dashboard folder:

npm i
npm run build

And restart the dashboard after.