Add special case for errors in DMs

This commit is contained in:
Ske 2018-09-07 21:30:47 +02:00
parent 52be946404
commit 9fe0c0a95a

View File

@ -131,7 +131,7 @@ async def log_error_in_channel(ctx: CommandContext):
embed.set_footer(text="Sender: {}#{} | Server: {} | Channel: {}".format(
ctx.message.author.name, ctx.message.author.discriminator,
ctx.message.server.id,
ctx.message.server.id if ctx.message.server else "(DMs)",
ctx.message.channel.id
))