if args[0].isdigit() and args[1].isdigit():
data = Global.select().where(Global.id == args[0])
if bool(data):
data = list(data)[0]
data.metal += int(args[1])
data.save()
# Global.update(
# metal=Global.metal + int(args[1])
# ).where(Global.id == int(args[0])).execute()
return store.send('готово!')