We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f1c81c commit 0f2c8a2Copy full SHA for 0f2c8a2
template.txt
@@ -16,18 +16,3 @@ class Class(Cog):
16
17
async def setup(bot):
18
await bot.add_cog(Class(bot))
19
-
20
21
- commands = self.all().get('commands')
22
- print(commands)
23
24
- def all(self):
25
- def bans():
26
- self.cur.execute("""SELECT * FROM bans""")
27
- return self.cur.fetchall()
28
29
- def commands():
30
- query = """SELECT * FROM commands"""
31
- self.cur.execute(query)
32
33
- return {'bans': bans(), 'commands': commands()}
0 commit comments