Giter Club home page Giter Club logo

Comments (9)

IrealiTY avatar IrealiTY commented on August 16, 2024

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.

IrealiTY avatar IrealiTY commented on August 16, 2024

Access granted to channel #chat-log

from crc-bot.

GeekyDeaks avatar GeekyDeaks commented on August 16, 2024

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.

IrealiTY avatar IrealiTY commented on August 16, 2024

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.

GeekyDeaks avatar GeekyDeaks commented on August 16, 2024

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.

GeekyDeaks avatar GeekyDeaks commented on August 16, 2024

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.

IrealiTY avatar IrealiTY commented on August 16, 2024

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.

GeekyDeaks avatar GeekyDeaks commented on August 16, 2024

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.

IrealiTY avatar IrealiTY commented on August 16, 2024

I pruned now (9:48 CET) 2 members were removed

from crc-bot.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.