Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoMayor

An efficient, multi-purpose Discord bot that manages The City Project server.

Prerequisites & Setup

  • Download and install Node.js LTS.
  • Clone this repository.
  • Create a copy of .env.example and rename the copy to .env.
  • Run npm install --production in the terminal.
  • Run npm deploy and npm start in the terminal. The bot will be online after a brief delay.
    • The deploy script should only be used once and when new commands has been added.

Securing the Bot

It is recommended that you follow the principle of least privilege, where the bot should only have certain permissions needed to complete its tasks. This means avoiding the "Administrator" permission and instead, giving individuals based on what commands it has.

At the moment, it will require these permissions to be enabled:

  • Kick Members
  • Ban Members
  • Timeout Members
  • Send Messages
  • Send Messages in Thread
  • Embed Links
  • Attach Files
  • Add Reactions
  • Manage Messages (can be set on a per-channel basis)
  • Manage Threads
  • Mute Members
  • Deafen Members

About

An efficient, multi-purpose Discord bot that manages The City Project server.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

Used by

Contributors

Languages