mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-10 14:34:57 +12:00
3.4 boo boos i made
This commit is contained in:
parent
e9f7b86be9
commit
e68ebc7875
|
@ -1372,7 +1372,7 @@ class Isolate(commands.Cog):
|
||||||
|
|
||||||
@commands.Cog.listener()
|
@commands.Cog.listener()
|
||||||
async def on_voice_state_update(self, member, before, after):
|
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
|
return
|
||||||
if not after.channel:
|
if not after.channel:
|
||||||
return
|
return
|
||||||
|
|
|
@ -1440,7 +1440,7 @@ class Punish(commands.Cog):
|
||||||
|
|
||||||
@commands.Cog.listener()
|
@commands.Cog.listener()
|
||||||
async def on_voice_state_update(self, member, before, after):
|
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
|
return
|
||||||
if not after.channel:
|
if not after.channel:
|
||||||
return
|
return
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
"author": [
|
{
|
||||||
"Brandons209"
|
"author": [
|
||||||
],
|
"Brandons209"
|
||||||
"bot_version": [
|
],
|
||||||
3,
|
"bot_version": [
|
||||||
4,
|
3,
|
||||||
0
|
4,
|
||||||
],
|
0
|
||||||
"description": "Trick or treat! Sometimes you get some credits, sometimes you get tricked and lose them!",
|
],
|
||||||
"hidden": false,
|
"description": "Trick or treat! Sometimes you get some credits, sometimes you get tricked and lose them!",
|
||||||
"install_msg": "Thank you for using this cog! Please make sure to setup the cog using [p]totset",
|
"hidden": false,
|
||||||
"requirements": [],
|
"install_msg": "Thank you for using this cog! Please make sure to setup the cog using [p]totset",
|
||||||
"short": "Provides a fun way to get currency during spooktober.",
|
"requirements": [],
|
||||||
"tags": [
|
"short": "Provides a fun way to get currency during spooktober.",
|
||||||
"brandons209",
|
"tags": [
|
||||||
"Halloween"
|
"brandons209",
|
||||||
],
|
"Halloween"
|
||||||
"end_user_data_statement": "This doesn't store any user data."
|
],
|
||||||
|
"end_user_data_statement": "This doesn't store any user data."
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue