Closed AlexisHuvier closed 7 years ago
try: counter = 0 async for log in client.logs_from(message.channel, limit=100): [tab][tab]if log.author == message.author: [tab][tab][tab]counter += 1
Wrong place to ask, join the discord server in the readme.
Joker is correct in using logs_from, look at the example in the documentation for more info: http://discordpy.readthedocs.io/en/async/api.html?highlight=Logs#discord.Client.logs_from
Sorry, NotSoSuper. I answer to jorker and mgardne : but logs_from has a limit of 100 messages
you can change the limit
client.logs_from(message.channel, limit=10000)
But you can't use this command without limit ?
make limit absurdly high?
try limit=none
and join discord
I will try
I want to get the number of messages who a members write. How i can make that ?