Quiz system permissions fix
This commit is contained in:
@@ -133,7 +133,7 @@ class PlayerLink(commands.Cog):
|
||||
except SQLInsertError:
|
||||
await message.edit(embed=create_embed(ctx.author, arg, timer))
|
||||
finally:
|
||||
dbLinker.closeconnections()
|
||||
dbLinker.close()
|
||||
else:
|
||||
# this stops the timer task
|
||||
timer.stop()
|
||||
@@ -159,7 +159,7 @@ class PlayerLink(commands.Cog):
|
||||
except PlayerNotLinked:
|
||||
await ctx.send("Player not linked!")
|
||||
finally:
|
||||
dbLinker.closeconnections()
|
||||
dbLinker.close()
|
||||
|
||||
|
||||
def setup(client):
|
||||
|
||||
Reference in New Issue
Block a user