discord.ext.commands.errors.CommandInvokeError: Command raised an exception: OperationalError: near "(": syntax error
(Извиняюсь за плохой код) Помогите решить данную проблему с ботом для discord, я не очень понимаю что от меня хочет программа
@bot.command()
async def god(message):
userid = int(message.author.id)
await message.send('Имя')
msg = await bot.wait_for('message', check=check, timeout=None)
chname =str(msg.content)
await message.send('Восприятие')
msg = await bot.wait_for('message', check=check, timeout=None)
vos =int(msg.content)
await message.send('Сила')
msg = await bot.wait_for('message', check=check, timeout=None)
sila = int(msg.content)
await message.send('Телосложение')
msg = await bot.wait_for('message', check=check, timeout=None)
tel =int(msg.content)
await message.send('Ловкость')
msg = await bot.wait_for('message', check=check, timeout=None)
lov =int(msg.content)
await message.send('Интеллект')
msg = await bot.wait_for('message', check=check, timeout=None)
intel =int(msg.content)
await message.send('Харизма')
msg = await bot.wait_for('message', check=check, timeout=None)
charizma =int(msg.content)
await message.send('Проклятость')
msg = await bot.wait_for('message', check=check, timeout=None)
proucluatost=int(msg.content)
name = message.guild.name
base.execute('CREATE TABLE IF NOT EXISTS (userid INT, chname TEXT, vos INT, sila INT, tel INT, lov INT, intel INT, charizma INT, procluatost INT)')
base.commit()
god= cur.execute('SELECT * FROM WHERE userid ==?',(message.author.id)).fetchall()
if god == None:
cur.execute(f'INSERT INTO VALUES(?,?,?,?,?,?,?,?,?)',(message.author.id,chname,vos,sila,tel,lov,intel,charizma,proucluatost))
base.commit()