Giter Club home page Giter Club logo

Comments (5)

tmercswims avatar tmercswims commented on June 19, 2024 1

Quick fixed for V2 in 79ca938. In V3 this will be handled differently, most likely.

from tmerc-cogs.

skeith avatar skeith commented on June 19, 2024

Does anyone with the role @shimin received the DM survey?. I just tried it with my bot and it works.

Can you test with a role that has smaller number of users and see if the same error occurring?

from tmerc-cogs.

HenrickTheBull avatar HenrickTheBull commented on June 19, 2024

I tested it with the Samuari which is a smaller role and it works fine. No one received the DM survey in the Shimin role.

from tmerc-cogs.

tmercswims avatar tmercswims commented on June 19, 2024

The error is actually originating from when the bot attempts to send a list of all the users who have yet to respond to the survey - since you asked so many people, the resulting list was more than 2000 characters long, so Discord rejected it. I hadn't thought of that situation, to be honest. I'll look into a solution when I'm able, probably this weekend.

from tmerc-cogs.

skeith avatar skeith commented on June 19, 2024

I think it's better not to display the list when 2000 char limit is hit. Instead show a snippet like

Too many users to be displayed, do [p]survey waitlist <id> to get the list

from tmerc-cogs.

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.