BaumSplitter41 1 mese fa
parent
commit
5519f0c15a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      VPD_BOT/cogs/userinfo.py

+ 1 - 1
VPD_BOT/cogs/userinfo.py

@@ -56,7 +56,7 @@ class userinfo(commands.Cog):
         team_role = ctx.guild.get_role(int(team_role_id))
         conn = self._connect_db()
         cursor = conn.cursor()
-        conn.database = self._connect_db().dbdb
+        conn.database = self._connect_db().database
 
         if team_role not in ctx.author.roles:
             await ctx.respond("You don't have the permission to use this command!", ephemeral=True)