mirror of
https://github.com/SamSanai/VoiceMaster-Discord-Bot.git
synced 2024-11-22 09:55:50 +01:00
Fixed cog errors (discord.py Update)
This commit is contained in:
parent
e07e7e8bd4
commit
c707416b00
@ -17,7 +17,7 @@ class voice(commands.Cog):
|
|||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
||||||
|
@commands.Cog.listener()
|
||||||
async def on_voice_state_update(self, member, before, after):
|
async def on_voice_state_update(self, member, before, after):
|
||||||
conn = sqlite3.connect('voice.db')
|
conn = sqlite3.connect('voice.db')
|
||||||
c = conn.cursor()
|
c = conn.cursor()
|
||||||
|
Loading…
Reference in New Issue
Block a user