Thread: discord bot

Results 1 to 4 of 4
  1. #1 discord bot 
    cypher founder

    Join Date
    Feb 2019
    Posts
    26
    Thanks given
    0
    Thanks received
    2
    Rep Power
    15
    ```Exception in thread "main" java.lang.ExceptionInInitializerError
    at org.javacord.api.DiscordApiBuilder.<init>(DiscordA piBuilder.java:28)
    at com.arlania.discord.Discord.start(Discord.java:24)
    at com.arlania.GameServer.main(GameServer.java:33)
    Caused by: java.lang.IllegalStateException: No DelegateFactoryDelegate implementation was found!
    at org.javacord.api.util.internal.DelegateFactory.<cl init>(DelegateFactory.java:72)
    ... 3 more```


    can som1 help why it not connecting whitch api??

    i added all discord files what need in source i added lib but not sure why it not connecting
    Reply With Quote  
     

  2. #2  
    Donator

    StanDev's Avatar
    Join Date
    Apr 2014
    Posts
    657
    Thanks given
    70
    Thanks received
    237
    Discord
    StanDev#0990
    Rep Power
    526
    In order for people to help you, please provide some more details.
    What steps did you take? Have you created a discord bot and did you configure the bot in the code?
    Also provide the referenced lines by the stacktrace
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Feb 2015
    Posts
    8
    Thanks given
    0
    Thanks received
    2
    Rep Power
    0
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at org.javacord.api.DiscordApiBuilder.<init>(DiscordA piBuilder.java:28)
    at com.arlania.discord.Discord.start(Discord.java:24)
    at com.arlania.GameServer.main(GameServer.java:33)
    Caused by: java.lang.IllegalStateException: No DelegateFactoryDelegate implementation was found!
    at org.javacord.api.util.internal.DelegateFactory.<cl init>(DelegateFactory.java:72)
    ... 3 more```


    READ YOUR ERROR DISCORD A PIBUILDER
    You have a space where it does not need to be
    Reply With Quote  
     

  4. #4  
    cypher founder

    Join Date
    Feb 2019
    Posts
    26
    Thanks given
    0
    Thanks received
    2
    Rep Power
    15
    Quote Originally Posted by StanDev View Post
    In order for people to help you, please provide some more details.
    What steps did you take? Have you created a discord bot and did you configure the bot in the code?
    Also provide the referenced lines by the stacktrace
    i didnt made that bot my friend did it!

    i did add the discord bot in source side and added api in lib javacord-api

    change all ids and token and should work

    Quote Originally Posted by apocolypse 420 View Post
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at org.javacord.api.DiscordApiBuilder.<init>(DiscordA piBuilder.java:28)
    at com.arlania.discord.Discord.start(Discord.java:24)
    at com.arlania.GameServer.main(GameServer.java:33)
    Caused by: java.lang.IllegalStateException: No DelegateFactoryDelegate implementation was found!
    at org.javacord.api.util.internal.DelegateFactory.<cl init>(DelegateFactory.java:72)
    ... 3 more```


    READ YOUR ERROR DISCORD A PIBUILDER
    You have a space where it does not need to be
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at org.javacord.api.DiscordApiBuilder.<init>(DiscordA piBuilder.java:28)
    at com.arlania.discord.Discord.start(Discord.java:24)
    at com.arlania.GameServer.main(GameServer.java:33)
    Caused by: java.lang.IllegalStateException: No DelegateFactoryDelegate implementation was found!
    at org.javacord.api.util.internal.DelegateFactory.<cl init>(DelegateFactory.java:72)
    ... 3 more

    it noit have space prob when i add error here i missclick
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 74
    Last Post: 06-29-2018, 05:11 PM
  2. 876 nocturne Discord bot setup need help
    By Psn Sign Out in forum Help
    Replies: 3
    Last Post: 03-14-2018, 03:53 PM
  3. Buying discord bot
    By Saim in forum Buying
    Replies: 1
    Last Post: 11-15-2017, 05:28 PM
  4. Custom discord bots [previous work]
    By Phoenix in forum Selling
    Replies: 8
    Last Post: 06-07-2017, 07:05 PM
  5. Add a Discord Bot to your server!
    By Cody_ in forum Tutorials
    Replies: 5
    Last Post: 01-21-2017, 12:50 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •