From e1256d26a58b3a0caf8f66d81922748e17778fa6 Mon Sep 17 00:00:00 2001 From: bobloy Date: Wed, 29 Jul 2020 11:34:26 -0400 Subject: [PATCH] Better credits --- ccrole/ccrole.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ccrole/ccrole.py b/ccrole/ccrole.py index bacbd76..9be63f2 100644 --- a/ccrole/ccrole.py +++ b/ccrole/ccrole.py @@ -235,8 +235,11 @@ class CCRole(commands.Cog): @commands.Cog.listener() async def on_message_without_command(self, message: discord.Message): - - """Filtering credit to redbot.cogs.customcom's listener""" + """ + Credit to: + https://github.com/Cog-Creators/Red-DiscordBot/blob/V3/develop/redbot/cogs/customcom/customcom.py#L508 + for the message filtering + """ ########### is_private = isinstance(message.channel, discord.abc.PrivateChannel)