This is my personal gitlab instance. Feel free to browse my stuff: https://gitlab.greeson.xyz/users/highsaltlevels/projects

Initial project creation

David Greeson requested to merge initial into main

Summary

This is the first pass at creating a pokemon bot game. It has a simple PING -> PONG TCP health server, and it takes 4 discord commands:

  • !help returns the help message
  • !list shows all pokemon caught so far for that user
  • !catch catches the last pokemon that was sent to the channel
  • !choose <pokemon name or id> selects a pokemon for leveling up.

Twice a day at 8am and 8pm ET, it will post a random pokemon that either has no evolutions or is the first evolution in the chain. Then, in any other channel except the bot channel, a user can level up their chosen pokemon by typing messages. After 10 messages, their chosen pokemon will either evolve (if it can) or nothing will happen.

This is still a bit of a work in progress and I haven't fully tested it yet, but basic functionality seems to be there and I've covered as many edge cases as I can think of.

TODO in the future

I think it would be cool if the !list command also showed which pokemon the user has currently chosen. Right now, there's no way to see which pokemon is currently chosen except by looking through the message history and that's not a great user experience.

Merge request reports