Skip to content

Commit

Permalink
Merge pull request #135 from takumi0213/master
Browse files Browse the repository at this point in the history
新規ユーザープロファイル作成時のエラー修正
  • Loading branch information
takumi0213 authored Oct 2, 2024
2 parents a9e26a6 + 8fe2d15 commit 9530263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ async def domsg(message):
return

try:
await bot.cursor.execute("INSERT INTO users(id,prefix,gpoint,memo,levcard,onnotif,lang,sinapartner,gban,gnick,gcolor,gmod,gstar,galpha,gbanhist,online_agreed, agree_to_gchat_tos) VALUES(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)",
await bot.cursor.execute("INSERT INTO users(id,prefix,gpoint,memo,levcard,onnotif,lang,sinapartner,gban,gnick,gcolor,gmod,gstar,galpha,gbanhist,online_agreed, agree_to_gchat_tos) VALUES(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)",
(message.author.id, "[]", 0, "{}", "m@ji☆", "[]", "ja", 0, 0, message.author.name, 0, 0, 0, 0, "なし", 0, 0))
except Exception as exc:
print(exc)
Expand Down

0 comments on commit 9530263

Please sign in to comment.