Giter Club home page Giter Club logo

Comments (5)

kyranet avatar kyranet commented on July 23, 2024 1

I strongly believe that issue is caused exactly in this line:

collected.first().delete();

And here aswell:

if (this.ended) return this.message.clearReactions();

This issue could be solved by checking permissions. I'll try to add a getter that checks the permissions to solve this issue.

from klasa.

bdistin avatar bdistin commented on July 23, 2024

This is why #149 exists.

from klasa.

kyranet avatar kyranet commented on July 23, 2024

Whilst #149 is probably a Discord Client bug (ratelimits, connection issues...), this is not, this issue is caused by the lack of MANAGE_MESSAGES permission in DM channels. Locking such feature to guilds is a bad idea, and I also wanted to use RichDisplay in DMs for latter projects.

from klasa.

bdistin avatar bdistin commented on July 23, 2024

149 is not because of a discord client bug; it only effects the menu when a reaction is added, which is why manage messages is Required

from klasa.

kyranet avatar kyranet commented on July 23, 2024

Can you elaborate that response, please?

I could reproduce 149 only when I had network hiccups or was reacting too fast, and I was able to reproduce this even in guilds with full permissions, not only in DMs nor without permissions.

from klasa.

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.