async def on_guild_remove(guild):
await my_bot.db.execute('REMOVE FROM guilds (guild_id) VALUES ($1)', guild.id)
- 文件“asyncpg\protocol\protocol.pyx”,第 168 行,准备 asyncpg.exceptions.PostgresSyntaxError:“删除”处或附近的语法错误*
async def on_guild_remove(guild):
await my_bot.db.execute('REMOVE FROM guilds (guild_id) VALUES ($1)', guild.id)