made none mean dms in logging

This commit is contained in:
Adriene Hutchins 2020-03-03 19:48:40 -05:00
parent 47ea949d52
commit 1db31f55a9
2 changed files with 11 additions and 3 deletions

View file

@ -53,7 +53,7 @@ class BetterLogging(commands.Cog):
msg = (
f"**`{ctx.command.name}`** called by "
f"**{ctx.author}** in _\"{ctx.guild}\"_."
f"**{ctx.author}** in _\"{ctx.guild if ctx.guild else 'DMs'}\"_."
)
await self.info(content=msg, name="Command Call")