Giter Site home page Giter Site logo

Comments (9)

Xirado avatar Xirado commented on June 10, 2024

While i can't tell you what's wrong with your code, all i can say is that this is certainly not a JDA-Utilities issue. You should ask for help on the JDA Discord in the jda-utilities channel.

from jda-utilities.

xXFlyingBananaXx avatar xXFlyingBananaXx commented on June 10, 2024

Well i did ask and they said its probably a Bug and i should do my own Command thing so :/

from jda-utilities.

Destitution-SC avatar Destitution-SC commented on June 10, 2024

Hey there,

I'm not sure if that's the actual problem but you're checking here "JDABuilder" it should be "JDA"
JDABuilder bot = JDABuilder.createDefault("");

JDA bot = JDABuilder.createDefault("");

from jda-utilities.

Xirado avatar Xirado commented on June 10, 2024

Hey there,

I'm not sure if that's the actual problem but you're checking here "JDABuilder" it should be "JDA"
JDABuilder bot = JDABuilder.createDefault("");

JDA bot = JDABuilder.createDefault("");

Nope, he is building the JDABuilder in the code

from jda-utilities.

Destitution-SC avatar Destitution-SC commented on June 10, 2024

Oh yea right, i see. Then I'm not sure what's the problem.

from jda-utilities.

Andre601 avatar Andre601 commented on June 10, 2024

You should fix the formatting of your issue. Parts of the code blocks are messed up

from jda-utilities.

DManstrator avatar DManstrator commented on June 10, 2024

JDA bot = JDABuilder.createDefault("");

That wouldn't even compile. It is just a bad naming.

from jda-utilities.

Bluedragonplayz2 avatar Bluedragonplayz2 commented on June 10, 2024

Your command should work. The only issue is there there is a return block in

 if (list.isEmpty()){
        return;
    }else {

soo if the BCSystem returned an empty list your bot wouldn't respond at all. There it may not be that your bot is not working it might be due to the return statement that stops the command from proceeding.
If not there shouldn't be any other issue, if the above is not your problem try checking your bots intends maybe something is messed up there

from jda-utilities.

Sanduhr32 avatar Sanduhr32 commented on June 10, 2024

If the returned players is empty for some reason your list will also stay empty.

from jda-utilities.

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.