Clear Messages Changes
- No "#0000" in username output
This commit is contained in:
Logan Cusano
2022-04-09 22:03:52 -04:00
parent 8af7a70b65
commit b0d83def35

View File

@@ -27,7 +27,7 @@ class ClearMessages(commands.Cog):
LOGGER.debug(f"Deleted {sum(authors.values())} messages from {ctx.message.channel}")
for author in authors.keys():
msg += f"\t{author}: {authors[author]}\n"
msg += f"\t{str(author).split('#', 1)[0]}: {authors[author]}\n"
LOGGER.debug(f"Deleted {authors[author]} messages from {author}")
await ctx.channel.send(msg)