Всем привет, сигедня мы сделаем систему подсчета сообщений с лвлами. Работаю я на библиотеке disnake и с когами и так перейдем к коду
Подсчет:
@commands.Cog.listener()
async def on_message(self, message):
if not message.author.bot:
if not message.content.startswith('*'):
base = sqlite3.connect('cogs/Warn.db')
cur = base.cursor()
base.execute('CREATE TABLE IF NOT EXISTS...