Added help command
This commit is contained in:
parent
5a440d91ab
commit
75d5a3c664
8 changed files with 119 additions and 9 deletions
|
@ -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("🌑")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue