mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[V3] DM usage fixes (#1919)
* DM usage fixes * ... * ... * ... * ok, formatting...
This commit is contained in:
@@ -423,7 +423,7 @@ class Cleanup:
|
||||
if author == self.bot.user:
|
||||
to_delete.append(ctx.message)
|
||||
|
||||
if channel.name:
|
||||
if ctx.guild:
|
||||
channel_name = "channel " + channel.name
|
||||
else:
|
||||
channel_name = str(channel)
|
||||
|
||||
Reference in New Issue
Block a user