登録のときにどうしてもエラーになるバグを修正

This commit is contained in:
suti7yk5032 2024-08-23 00:55:49 +09:00
parent 9269441051
commit edd01a0d4d

View file

@ -340,10 +340,10 @@ class Bot(discord.Client):
print(str(error.__class__.__name__)) print(str(error.__class__.__name__))
print(str(error.args)) print(str(error.args))
print(str(error)) print(str(error))
return {"result": "error"} return {"result": 1, "about": "error"}
finally: finally:
cursor.close() cursor.close()
return {"result": 1, "about": "error"}
def stop(self, **kwargs): def stop(self, **kwargs):
try: try: