Tornium / tornium

A website and Discord bot to assist with the playing of Torn City developed with love <3
https://tornium.com
11 stars 5 forks source link

Verify fails if user not in DB #109

Closed dssecret closed 1 year ago

dssecret commented 1 year ago

File "/home/ubuntu/tornium-pro/./skynet/commands/bot/verify.py", line 150, in verify user: User = User(user.tid) AttributeError: 'NoneType' object has no attribute 'tid'`

dssecret commented 1 year ago

Fixed in the @invoker_exists decorator instead of the bot/verify command locally.