|
|
@ -176,15 +176,17 @@ class Fun(commands.Cog):
|
|
|
|
# Send out one of the responses stored in the array
|
|
|
|
# Send out one of the responses stored in the array
|
|
|
|
await ctx.send(f"{ctx.author.mention} {random.choice(responses)}")
|
|
|
|
await ctx.send(f"{ctx.author.mention} {random.choice(responses)}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
# ~dm only allows me to dm anyone through the bot
|
|
|
|
# ~dm only allows me to dm anyone through the bot
|
|
|
|
@commands.command()
|
|
|
|
@commands.command()
|
|
|
|
@commands.is_owner()
|
|
|
|
@commands.is_owner()
|
|
|
|
async def dm(self, ctx, member: discord.Member, *, text):
|
|
|
|
async def dm(self, ctx, member: discord.Member, *, text):
|
|
|
|
# Send the message typed the mentioned user
|
|
|
|
# Send the message typed the mentioned user
|
|
|
|
await member.send(text)
|
|
|
|
await member.send(text)
|
|
|
|
|
|
|
|
|
|
|
|
# Delete the message sent instantly
|
|
|
|
# Delete the message sent instantly
|
|
|
|
await ctx.message.delete()
|
|
|
|
await ctx.message.delete()
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
# ~remindme command to allow the bot to dm you to remind you of something
|
|
|
|
# ~remindme command to allow the bot to dm you to remind you of something
|
|
|
|
@commands.command(aliases=["remindme", "rm"])
|
|
|
|
@commands.command(aliases=["remindme", "rm"])
|
|
|
|