diff --git a/isolate/isolate.py b/isolate/isolate.py index 08652a3..6c90fab 100644 --- a/isolate/isolate.py +++ b/isolate/isolate.py @@ -1372,7 +1372,7 @@ class Isolate(commands.Cog): @commands.Cog.listener() async def on_voice_state_update(self, member, before, after): - if await self.bot.cog_disabled_in_guild(self, after.guild): + if await self.bot.cog_disabled_in_guild(self, member.guild): return if not after.channel: return diff --git a/punish/punish.py b/punish/punish.py index 77d0b49..f352338 100644 --- a/punish/punish.py +++ b/punish/punish.py @@ -1440,7 +1440,7 @@ class Punish(commands.Cog): @commands.Cog.listener() async def on_voice_state_update(self, member, before, after): - if await self.bot.cog_disabled_in_guild(self, after.guild): + if await self.bot.cog_disabled_in_guild(self, member.guild): return if not after.channel: return diff --git a/trickortreat/info.json b/trickortreat/info.json index 2f8c18f..bfe8022 100644 --- a/trickortreat/info.json +++ b/trickortreat/info.json @@ -1,18 +1,20 @@ -"author": [ - "Brandons209" -], -"bot_version": [ - 3, - 4, - 0 -], -"description": "Trick or treat! Sometimes you get some credits, sometimes you get tricked and lose them!", -"hidden": false, -"install_msg": "Thank you for using this cog! Please make sure to setup the cog using [p]totset", -"requirements": [], -"short": "Provides a fun way to get currency during spooktober.", -"tags": [ - "brandons209", - "Halloween" -], -"end_user_data_statement": "This doesn't store any user data." +{ + "author": [ + "Brandons209" + ], + "bot_version": [ + 3, + 4, + 0 + ], + "description": "Trick or treat! Sometimes you get some credits, sometimes you get tricked and lose them!", + "hidden": false, + "install_msg": "Thank you for using this cog! Please make sure to setup the cog using [p]totset", + "requirements": [], + "short": "Provides a fun way to get currency during spooktober.", + "tags": [ + "brandons209", + "Halloween" + ], + "end_user_data_statement": "This doesn't store any user data." +}