mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-09 12:48:54 -05:00
Fixed choose command
This commit is contained in:
parent
6527e026ae
commit
d3d09e701c
@ -30,7 +30,7 @@ class General:
|
|||||||
if len(choices) < 2:
|
if len(choices) < 2:
|
||||||
await self.bot.say('Not enough choices to pick from.')
|
await self.bot.say('Not enough choices to pick from.')
|
||||||
else:
|
else:
|
||||||
await self.bot.say(choice(choices))
|
await self.bot.say(randchoice(choices))
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def roll(self, number : int = 100):
|
async def roll(self, number : int = 100):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user