An IRC Bot that can play Pokemon
Welcome to Battle Dungeon! Chances are you were invited by an automated script ran by someone else. Me and my bot did not invite you (unless you were challenged to a Battle, then you were invited by the bot)
To listen to the music feature, go here https://discord.gg/0uMaFWa51QM5My1E and join the Voice Channel.
Command parameters with <>
are required, parameters with []
are optional. Commands seperated by a |
do the same thing. Only one battle can be going on at any given time.
Command | Purpose |
---|---|
!battle |
Puts you in a battle with a Random Pokemon and gives you a Random Pokemon to fight. |
!randbat <@username> [num] |
Challenges username to a battle. Change num to a number between 1 and 6 for a Multi-Pokemon battle. |
!safari |
Puts you in a Safari battle with a Random pokemon. Gives you a rock, bait, and Pokeballs to catch the random Pokemon. |
!pwt |
Starts a Pokemon World Tournament. In the future, there will be more options for this, but for right now this defaults to a Random 8-player Pokemon World Tournament. |
!join |
Joins a Pokemon World Tournament during the joining phase. Only the first four people who join as of right now will get in. |
`!changeclass | !switchclass ` |
!list |
Gets a list of your current Pokemon in battles with more than 1 Pokemon per team. Only works in Battle. |
!switch<number> |
Switches your Pokemon to the number specified. number is gotten from the !list command. |
!check<number> |
Checks the Pokemon number specified. number is gotten from the !list command. |
!move<number> |
Uses the Move from your Pokemon against your opponent. |
!run |
Forefeits the current battle. If in a Wild Pokemon battle, if the Wild Pokemon outspeeds your Pokemon, the Wild Pokemon will attack before you run. |
As of right now, it's not possible to capture Pokemon during battle. In Safari battles, you can capture Pokemon, however, any Pokemon caught are not saved. This will change in the future.
Original Program created by the_chef1337. frumpy4 has contributed significanty.
Feel free to add/modify/fix the code above.
If you would like, you can code a bot that can respond to matches through the !randbat
command. If you have a favorite language, even if it is not Java, go ahead and code a bot and get in contact with the_chef1337 on Twitch.
These bots can be challenged with the !randbat
command:
Bot Name | Trainer Class | Creator |
---|---|---|
frunky5 | Gym Leader | walle303 |
23forces | Elite Four | frumpy4 |
groudonger | Gym Leader | chfoo |
If you defeat any of these bots with the Gym Leader trainer class, in the future you will receive a Gym Badge. These are currently not implemented just yet, but will be in the future.