Answer the question
In order to leave comments, you need to log in
How to make a discord bot send statistics of messages of users who sent them at the end of the day?
In general, I need the bot to send statistics of users who sent messages. That is, those that were not sent, he will not show. In general, for counting messages, I use:
user_counter = {}
...
try:
user_counter[message.author.id] += 1
except KeyError:
user_counter[message.author.id] = 1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question