Skip to content

Commit

Permalink
Allow users to set moveset
Browse files Browse the repository at this point in the history
  • Loading branch information
doonce committed Nov 5, 2019
1 parent f3f7e8b commit 0539233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ pkmn = Pokemon
| -------- |:-------------:| ------------|
| **!timer** | *Raid Channel* | Shows the expiry time for the raid. |
| **!timerset** \<timer\> | *Raid Channel* | Set the expiry time for the raid. |
| **!moveset** \<move 1, move 2\> | *Raid Channel* | Set the boss moveset. |
| **!starttime** \[HH:MM AM/PM\] | *Raid Channel* | Set a time for a group to start a raid. |
| **!location** | *Raid Channel* | Shows the raid location. |
| **!location new** \<place/map\> | *Raid Channel* | Sets the raid location. |
Expand Down
3 changes: 3 additions & 0 deletions meowth/exts/raid.py
Original file line number Diff line number Diff line change
Expand Up @@ -3569,6 +3569,9 @@ async def starttime(self, ctx, *, start_time=""):
@commands.command()
@checks.raidchannel()
async def moveset(self, ctx, *, moves):
"""Set the moveset for the channel
Usage: !moveset <move 1, move 2>"""
if not checks.check_hatchedraid(ctx):
return await ctx.send(f"Meowth! Please wait until the egg has hatched before setting moveset!", delete_after=10)
await self.set_moveset(ctx, ctx.channel, moves)
Expand Down

0 comments on commit 0539233

Please sign in to comment.