Skip to content

slimf1/Elsa-Discord

Repository files navigation

Elsa-Discord

Setup

Rename the .env.example file to .env and fill in the details.

The following environment variables are required:

Variable Description
DISCORD_TOKEN The Discord bot token
TRIGGER The trigger for the bot commands
MAINTAINER The Discord ID of the bot maintainer
AUTHORIZED_ROLES The Discord IDs of the roles that are allowed to use the bot (separated with ; character)
AUTHORIZED_CHANNELS The Discord IDs of the channels that are allowed to use the bot (separated with ; character)
LOG_DB Set to true if you want to log every database query

Commands

Dev commands

  • command-list - Lists all commands
  • hot-reload - Reloads the bot
  • info - Shows information about the bot
  • kill - Kills the bot process
  • ping - Pong!
  • tts - Sends a message as TTS (text-to-speech)
  • uptime - Shows the uptime of the bot

Discord specific commands

  • clean-channel [channelID] - Delete at most 100 messages from a channel

Misc commands

  • add-custom-command [command name], [content] - Adds a custom command
  • delete-custom-command [command name] - Deletes a custom command
  • list-custom-commands - Lists all custom commands

Pokemon commands

  • data [pokemon] - Shows the data of a pokemon
  • rand-poke - Shows a random pokemon

About

A flexible TypeScript Discord bot [WIP]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published