Skip to content

miwalol/bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Miwa Discord Bot

GitHub go.mod Go version GitHub branch check runs GitHub License Uptime (24h)

This repository contains the code of the Miwa Discord server bot.

Features

The bot is used to:

  • Send a welcome message to joining members
  • Thanks to the user when someone boosted the server

Project Structure

  • 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.

Commands

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.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Miwa Discord server bot, rewritten in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  
  •  

Packages

No packages published