The official bot of the Short Gang's Discord server. What does it do?
Made for fun with no expectations. Anyone can contribute :)
- Clone the repository (fork it if you want to contribute).
- Make a bot via the Discord developer portal and copy your bot's token.
- Create a ".env" file from the ".env.example" and paste the token in the ".env" file.
- Run with
go run .. - Make changes.
- Create a pull request.
- Profit?
Create the command in /commands/actions. Commands are of type func(*discordgo.Session, *discordgo.InteractionCreate). Then add your command to BotCommands in /commands/registercommands.go.
Create the response in /responses. Responses are of type func(s *discordgo.Session, m *discordgo.MessageCreate). Then add your response in /eventhandlers/responsemanager.go.