From a301b2c758a60f977956d4b32f4499101d499df0 Mon Sep 17 00:00:00 2001 From: zephyrkul Date: Sun, 23 Sep 2018 07:34:57 -0600 Subject: [PATCH] Add missing @staticmethod to Red.send_filtered (#2143) Method was previously missing `self` argument but was missing static decorator. --- redbot/core/bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/redbot/core/bot.py b/redbot/core/bot.py index 335bea784..9d2a5e29e 100644 --- a/redbot/core/bot.py +++ b/redbot/core/bot.py @@ -294,6 +294,7 @@ class RedBase(commands.GroupMixin, commands.bot.BotBase, RPCMixin): if pkg_name.startswith("redbot.cogs."): del sys.modules["redbot.cogs"].__dict__[name] + @staticmethod async def send_filtered( destination: discord.abc.Messageable, filter_mass_mentions=True,