Coder Social home page Coder Social logo

Comments (4)

Katrix avatar Katrix commented on August 30, 2024

Are you setting the right intents? The guild members events a privileged and as such AckCord won't set that intent by default.

from ackcord.

AlexITC avatar AlexITC commented on August 30, 2024

I have no idea what are you referring to, but, I'm using the same code I used with 0.16.1, where these events were being captured. There are no changes on the discord role either.

from ackcord.

Katrix avatar Katrix commented on August 30, 2024

Discord released intents, which is a way to specify what events a bot will receive, a few months ago now. These can be set in AckCord in the ClientSettings object. You likely want GatewayIntents.AllNonPrivileged++ GatewayIntents.GuildMembers.

Before you start the bot again, you'll have to enable the guild members intent in the bot settings, same place where you find the bot token.

image

from ackcord.

AlexITC avatar AlexITC commented on August 30, 2024

Ok, I wasn't aware of those changes, but I can confirm that reverting back to 0.16.1 has fixed the issue.

I analyzed a bit, and the default intends on the previous version used to include the member related events, while the current version does not (AllNonPrivileged).

I confirm that using the right intents gets the bot working again, thanks!

In any case

from ackcord.

Related Issues (20)

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.