1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Send short messages to the channel

This commit is contained in:
phxntxm 2018-10-10 19:36:39 -05:00
parent f0cbb39d25
commit 925beb8b2e

View file

@ -110,7 +110,7 @@ class Miscallaneous:
except (discord.Forbidden, discord.HTTPException): except (discord.Forbidden, discord.HTTPException):
await ctx.send("I cannot DM you, please allow DM's from this server to run this command") await ctx.send("I cannot DM you, please allow DM's from this server to run this command")
else: else:
if ctx.guild and destination == ctx.channel: if ctx.guild and destination == ctx.author:
await ctx.send("I have just DM'd you some information about me!") await ctx.send("I have just DM'd you some information about me!")
@commands.command() @commands.command()