Skip to content

🤖 BTE Germany Discord Bot with features like moderation, suggestions handling and much more

License

Notifications You must be signed in to change notification settings

BTE-Germany/BTEDE-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BTEDE-Discord-Bot

BTE Germany Discord Bot

Commands:

Generally available

Command Effect Options aliases
/activity Starts an activity in the callers voice channel -help
-youtube
-poker
-betrayal
-fish
-chess
-artist
-awkword
-delete
-doodle
-sketch
-letter
-word
-spell
-checkers
-8s
-putt
-land
-
/gif Sends a gif, depending on the option -tpll
-install
-measure
-installgif
-install
-howtoinstall
-installationgif
/help Lists all commands or diplay help for a specific command Name of any command -hilfe
/playerlist Shows the players currently building on the server - -players
-list
/status Shows the status of the minecraft servers - -serverstatus
-server-status

Team

Command Effect Options
/ban user Bans a user via mention user, duration, reason
/ban id Bans a user via user ID user, duration, reason
/banner Set a new banner for the discord server image
/case id Looks up a case case-id
/cases user Looks up a users cases via mention user
/cases id Looks up a users cases via user ID user
/changelog Creates a changelog to post to a channel channel, title, subtitle1, content1, (subtitle2), ..., (content7)
/duty Get or remove a support duty
/kick user Kicks a user via mention user, reason
/kick id Kicks a user via user ID user, reason
/lock Locks a channel (channel)
/mute user Mutes a user via mention user, duration, reason
/mute id Mutes a user via user ID user, duration, reason
/new Registers a new builder or trial user
/schematic Manages schematics on the MC servers -upload [schematic, sterra, (comment)]
-list [terra
-download [terra, schematic, (comment)]
-transfer [fromserver, toserver, schematic, (comment)]
-delete [terra, schematic, (comment)]
/unban Unbans a user user, reason
/unlock Unlocks a channel (channel)
/unmute Unmutes a user user, reason
/warn user Warns a user via mention user, reason
/warn id Warns a user via user ID user, reason
/welcome Dis- or enables welcome messages for the server.

For /commands see Dynamically defined

Suggestions

Command Effect Options
/accept Accepts a suggestion suggestion-id, text
/consider Considers a suggestion suggestion-id, text
/delete Deletes a suggestion suggestion-id
/inprocess Inprocesses a suggestion suggestion-id, text
/reject Rejects a suggestion suggestion-id, text

Dynamically defined

Team members have the option of adding and removing commands using /command. These are dynamically loaded and are stored in .json files with the commands name inside /src/lang/de and /src/lang/en, depending on the language of the command, and in /config/infoCommands.json.

To view a list of commands either check these files on the server running the bot or use the /help command to get the full list.

Adding a command is done with /commands add {commandname} {english-title} {english-description} {german-title} {german-description}.
To edit an existing command use /commands edit {commandname} {language} {type} {text}, where type refers to whether you are editing the title or the description.
Deletion can be done with /commands delete {commandname}.

Events

guildMemberAdd

Triggered when a user joins the server. Sends a welcome message and re-applies mute to the user if necessary.

interaction

Handles interactions with the bot (commands, autocompletion, buttons, dropdowns) and forwards the event to the corresponding command.

message

Checks messages on the discord for the !changelog command, handles suggestions and user registration.

ready

Initializes the bot and registers the handlers.

voiceStateUpdate

Notifies support staff if a user is in the waiting room voice channel and joins the bot to play waiting room music.

Handlers

Bans

Checks the bans saved in the database for their expiry date and revokes them once that date is reached.

instagram

not used

Mutes

Checks the mutes saved in the database for their expiry date and revokes them once that date is reached.

youtube

not used

TODO:

  • /activity hat keine Vorschläge für die Options
  • /gif tpll nicht verfügbar
  • Anpassen der Ban-Dauer ermöglichen
  • (Waitingroom.mp3 nicht auf discord hosten und dann Funktionalität reparieren)
  • instagram und youtube handler tun derzeit nichts, evtl entfernen?

About

🤖 BTE Germany Discord Bot with features like moderation, suggestions handling and much more

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •