Slash and prefix commands:
/afk(+afk): Let others know you're AFK (Away From Keyboard)./alias add(+alias): Create a custom alias for quick reuse./alias list(+aliases): Display a list of your saved aliases./alias remove(+unalias): Remove a saved alias./avatar(+avatar): Display the specified member's avatar(s)./badge(+badge): Change your badge (top role icon) on the server./banner(+banner): Display the specified member's banner./color(+color,+cor): Change your color (top role color) on the server./emote add: Add a custom emote to the server./emote remove: Remove a custom emote from the server./emote rename: Rename a custom emote in the server./fake: Send a message impersonating another user in the current channel./remind(+remind,+remindme): Set a reminder for yourself or others./serverbanner (+serverbanner): Display the guild's banner./servericon (+servericon,+server): Display the guild's icon./snipe(+snipe): Restore the last deleted message in the current channel./sticker add: Add a sticker to the server./sticker remove: Remove a sticker from the server./sticker rename: Rename a sticker in the server./summarize(+summarize,+resumo): Summarize the recent conversation in the chat./weather(+weather,+w,+clima): Retrieve the current weather for a specified city.
These features run automatically, without user commands:
- Automatically transcribes voice messages (speech-to-text).
- Automatically downloads tracks from Spotify links.
- Automatically fixes Twitter/X and Instagram link previews.
- Automatically evaluates simple math expressions.
- Clone the repository using Git.
git clone git@github.com:leandcesar/discord-bot.git- Go to directory.
cd discord-bot- Ensure to fill in the necessary environment variables in the
.envfile. - Build the Docker service for the application.
make build- Check if everything was installed correctly.
make up- Uninstall all Docker components.
make downmake install- Create a new branch with a descriptive name.
git checkout -b awesome-branch-name- Implement and add your code changes on this new branch.
make lint- Validate code security issues with bandit.
make securitymake format- Commit your changes to your local branch using Conventional Commit messages.
git add .
git commit -m 'feat(scope): example message'- Push your changes to the remote GitHub repository.
git push origin awesome-branch-name- Create a Pull Request to the
mainbranch.
- Remove temporary files.
make clean- Uninstall all dependencies.
make uninstall- disnake: asynchronous Discord API wrapper for Python
- disnake-ext-plugins: plugin extension for disnake providing a alternative to cogs
- AIOHTTP: asynchronous HTTP Client/Server for Python
- Pillow (PIL Fork): Python Imaging Library
- spotDL: Spotify music downloader