diff --git a/src/pluralkit/bot/commands/__init__.py b/src/pluralkit/bot/commands/__init__.py index 646b2611..27f0a114 100644 --- a/src/pluralkit/bot/commands/__init__.py +++ b/src/pluralkit/bot/commands/__init__.py @@ -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 ))