final commit i hope
This commit is contained in:
1 parent
1ba7281573
commit
a8154ac3fa
5 files changed
+69
-52
No files matched your search
@@ -6,6 +6,13 @@ class Fun(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
|
||||
# this command lists all the fun commands, not an actualy fun command##
|
||||
@commands.command()
|
||||
async def fun(self, ctx):
|
||||
fun_commands = [f'!{cmd.name}' for cmd in self.get_commands() if cmd.name != 'fun']
|
||||
await ctx.reply('\n'.join(sorted(fun_commands)))
|
||||
######################################################################
|
||||
|
||||
@commands.command()
|
||||
async def coin(self, ctx):
|
||||
result = random.choice(['🪙 Heads', '🪙 Tails'])
|
||||
|
||||
Reference in new issue
Block a user