1
0
Fork 0
mirror of synced 2024-05-17 19:12:33 +12:00

Convert int ID to a string, as that is required by rethinkdb

This commit is contained in:
phxntxm 2017-03-08 00:25:17 -06:00
parent 1e2f44d494
commit 0823c19b94

2
bot.py
View file

@ -60,7 +60,7 @@ async def process_command(ctx):
# Add one to the author's usage for this command
total_member_usage = command_usage.get('member_usage', {})
member_usage = total_member_usage.get(author.id, 0) + 1
total_member_usage[author.id] = member_usage
total_member_usage[str(author.id)] = member_usage
command_usage['member_usage'] = total_member_usage
# Add one to the server's usage for this command