diff options
author | 2020-10-15 15:25:07 +0530 | |
---|---|---|
committer | 2020-10-15 15:25:07 +0530 | |
commit | 5297e025e782be44351cf4869287951ebb35197e (patch) | |
tree | 2696434720693db8d89793248ec2f9ca97186ddc | |
parent | Apply suggested re-formatting (diff) |
send_spook_msg to staticmethod
-rw-r--r-- | bot/exts/halloween/candy_collection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/halloween/candy_collection.py b/bot/exts/halloween/candy_collection.py index 7d226f87..a5e2b02b 100644 --- a/bot/exts/halloween/candy_collection.py +++ b/bot/exts/halloween/candy_collection.py @@ -136,9 +136,9 @@ class CandyCollection(commands.Cog): """Get #hacktoberbot channel from its ID.""" return self.bot.get_channel(id=Channels.seasonalbot_commands) - @classmethod + @staticmethod async def send_spook_msg( - cls, author: discord.Member, channel: discord.TextChannel, candies: Union[str, int] + author: discord.Member, channel: discord.TextChannel, candies: Union[str, int] ) -> None: """Send a spooky message.""" e = discord.Embed(colour=author.colour) |