- if len(tokens) > 0 and tokens[0] in commands \
- and len(tokens) >= commands[tokens[0]][0] + 1:
- if commands[tokens[0]][1]:
- commands[tokens[0]][2]()
+ if len(tokens) > 0 and tokens[0] in commands_db \
+ and len(tokens) >= commands_db[tokens[0]][0] + 1:
+ if commands_db[tokens[0]][1]:
+ commands_db[tokens[0]][2]()