Fixed cog errors (discord.py Update)

This commit is contained in:
SamSanai 2019-03-28 14:40:10 +00:00 committed by GitHub
parent e07e7e8bd4
commit c707416b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()