Skip to content

Commit

Permalink
Change command /random to /roll
Browse files Browse the repository at this point in the history
changing the command so it makes more sense when rolling a dice
  • Loading branch information
chaseetech committed Jun 9, 2022
1 parent 28ce2de commit c0bcab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async def send_message(ctx):
c = bot.get_channel(937579766784065598) or (await bot.fetch_channel(937579766784065598))
await ctx.send(hex(random.randint(1, 999999999999999999999999999999999999999999))) #Hexadecimal generate

@bot.command(name="random")
@bot.command(name="roll")
async def random_cmd(ctx):
c = bot.get_channel(937563323254321183) or (await bot.fetch_channel(937563323254321183)) #Random dice roll
await ctx.send(f"You have rolled a {random.randint(1, 11)}")
Expand Down

0 comments on commit c0bcab1

Please sign in to comment.