Added help command

This commit is contained in:
Robert 2020-01-08 21:18:17 +01:00
parent 5a440d91ab
commit 75d5a3c664
8 changed files with 119 additions and 9 deletions

View file

@ -12,7 +12,7 @@ class Coinflip(commands.Cog):
def __init__(self, client: discord.Client):
self.client = client
@commands.command(name="coinflip", description="Flips a coin and reacts with the result", aliases=["coin", "flip"])
@commands.command(name="coinflip", description="Flips a coin and reacts with the result", usage="coin", aliases=["coin", "flip"])
async def coinflip(self, ctx: commands.Context):
if random.randint(0, 1) == 0:
await ctx.message.add_reaction("🌑")