This repository contains the code of the Miwa Discord server bot.
The bot is used to:
- Send a welcome message to joining members
- Thanks to the user when someone boosted the server
commands/
: Contains the commands for the bot. See Commands for more details.events/
: Contains the event handlers for the bot.models/
: Contains the database models.utils/
: Contains utility functions, such as the database connection.main.go
: Self-explanatory, the main file of the bot.server.go
: A local server used by the Miwa API and website, to get users and presences.
The bot has the following commands:
help
: Shows the help message and the list of commands.user <username>
: Shows the user information for the given username.me
: Shows the user information for the user who sent the command. Only works if the user links their Discord account to their Miwa account.stats
: Shows Miwa.lol statistics.donate
: Shows ways to support Miwa.lol.tag <tag>
: Sends a predefined message to the user. Only for the Miwa staff.
This project is licensed under the MIT License. See the LICENSE file for details.