-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
channel monitoring #4
Comments
You sure that applies to bots too? - I mean I never had an error on the Log of the other bot. For convenience sake lol... I'll grant you access on out server so you can see the log of the current variance |
Access granted to channel #chat-log |
It's something I hit before when doing the VOC commands as some of the outputs were very large and caused multiple messages to be sent in a short timespan. The newer version of discord.js automatically detects this, but if the bot hits the limit, then it appears to slow down to users as it cannot reply as quickly. Looking at the docs though, it seems the limit is on a per channel basis, so really the limit would probably only apply to the monitoring channel and therefore not really a problem. https://github.com/hammerandchisel/discord-api-docs/blob/master/docs/topics/Rate_Limits.md |
That's it interesting. I guess it works at the moment because even though we have " a lot" of messages we never have the case of 1 user posting 10messages in a sec and the bot trying to copy it on the log channel |
I'll copy the NadekoBot method for the moment as it's still pretty easy, but also log to a file. This way you can figure out which works better |
Just tidying up the project and closing some issues, but I think this one may not yet be complete. Are there other events you want logged? |
Hm.. after checking:
Discord has a function under
I have the feeling they are not triggered (or I simply didnt see em) Bonus:
(the small "emojis below messages) |
Can you remember when you pruned them @IrealiTY ? I'd like to take a look at the logs, since it kicks out an event on my dev server:
|
I pruned now (9:48 CET) 2 members were removed |
Since discord have rate limiting on bots, I was thinking it might be better to log all messages into a file rather than a dedicated channel. What do you think?
The text was updated successfully, but these errors were encountered: