Comments (9)
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
from crc-bot.
Access granted to channel #chat-log
from crc-bot.
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
from crc-bot.
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
from crc-bot.
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
from crc-bot.
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?
from crc-bot.
Hm.. after checking:
pruned users
Discord has a function under server settings -> members > prune members
to mass kick players under 3 different conditions, they just get kicked but don't seem to be caught by the User Left monitor
file attachments
I have the feeling they are not triggered (or I simply didnt see em)
Bonus:
name changes
reactions
(the small "emojis below messages)
from crc-bot.
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:
2017-04-21T17:31:55.415Z - debug: RAW:
{ t: 'GUILD_MEMBER_REMOVE',
s: 10,
op: 0,
d:
{ user:
{ username: 'NeoSword',
id: '213360808346910720',
discriminator: '8202',
avatar: 'c30c892df32769d3dc73efbea103e62c' },
guild_id: '302228486121062401' } }
2017-04-21T17:31:55.418Z - info: User Left: NeoSword (213360808346910720)
2017-04-21T17:31:55.421Z - info: NeoSword (<@213360808346910720>) left the CRC
from crc-bot.
I pruned now (9:48 CET) 2 members were removed
from crc-bot.
Related Issues (8)
- Needed Features list HOT 2
- travis-CI integration HOT 2
- self assigned roles HOT 3
- message throttle HOT 4
- commands trigger error HOT 1
- purge failing to delete old messages HOT 1
- noDefaultGuild HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crc-bot.