Thread: [Any Framework]AIO Discord Bot

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11  
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    717
    Thanks given
    198
    Thanks received
    189
    Discord
    View profile
    Rep Power
    267
    Issues surrounding .setup not working have been fixed.

    New release is here: [Only registered and activated users can see links. ]
    Simply replace the JAR and it should work.


    Newest release is here: [Only registered and activated users can see links. ]
    More information on the release page.

    Biggest changes: multiple bug fixes, most should be fixed by now, also added .help command to see the commands you are able to do.

    Next up: Gonna allow custom commands to be added in.

    Also to note: You have access to the full JDA bot should you want to do anothing manually.
    DiscordBot.getInstance().getJda() will return the JDA instance. Please read up on JDA documentation for instructions on how to send messages to discord, listen for additional messages, etc. Most listeners for the bot can be added after the bot has been created by yourself in your server. I will explain more in my next update.
    Reply With Quote  
     

  2. #12  
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    717
    Thanks given
    198
    Thanks received
    189
    Discord
    View profile
    Rep Power
    267
    Release 6 is out.

    [Only registered and activated users can see links. ]

    Information on the release can be found on the github page. I will update the original post with information on how to provide custom commands, games, and dialogues in the morning.

    I have also noticed the tutorial completely misses out how to setup your friends chat in-game to send to discord if they are linked. This will be remedied tomorrow as well.

    EDIT: Release 7 is out

    [Only registered and activated users can see links. ]

    Instructions have been added to the 'Linking friends chat' section of the original post about how to get your server to send the messages to discord channels.
    Reply With Quote  
     

  3. #13  
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    717
    Thanks given
    198
    Thanks received
    189
    Discord
    View profile
    Rep Power
    267
    Release 10 is out. This release forces character encoding for the MySQL server, fixing an issue with certain MySQL versions.
    Reply With Quote  
     

  4. #14  
    Registered Member
    Join Date
    May 2011
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Josh Hoberman View Post
    Release 10 is out. This release forces character encoding for the MySQL server, fixing an issue with certain MySQL versions.
    Excellent update, works great!
    Reply With Quote  
     

  5. #15  
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    717
    Thanks given
    198
    Thanks received
    189
    Discord
    View profile
    Rep Power
    267
    [Only registered and activated users can see links. ]

    Release 11

    This release adds the ability to begin linking discord and in-game accounts from in-game.

    Calling Links.beginDiscordLinkFromServer(username); will provide a random string if the accounts are not linked, or will return null if they're in-game account is already linked.
    Provide the player with this string, and a new command has been added in discord: .verify (random) that players can use to finish the link.

    Edit: Release 12 is out and fixes a few issues from this. Link has been changed.
    Reply With Quote  
     

  6. #16  
    Registered Member
    Join Date
    May 2020
    Posts
    37
    Thanks given
    10
    Thanks received
    2
    Rep Power
    11
    I’m looking to add this, is it hard to make the bot say rare drops, yells, etc in specific channels? I’m fairly new to coding so any advice would help, I do have a web sever to host the dB on
    Reply With Quote  
     

  7. #17  
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    717
    Thanks given
    198
    Thanks received
    189
    Discord
    View profile
    Rep Power
    267
    Quote Originally Posted by oSurge View Post
    I’m looking to add this, is it hard to make the bot say rare drops, yells, etc in specific channels? I’m fairly new to coding so any advice would help, I do have a web sever to host the dB on
    No, should be as simple as the code below once everything is set up.

    Code:
    DiscordBot.getInstance().getJda().getTextChannelById(CHANNEL_ID).sendMessage(MESSAGE).queue();
    Channel ID can be obtained by doing the command .channel_id in the desired channel once the basic bot has been set up.
    Reply With Quote  
     

  8. Thankful user:


  9. #18  
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    717
    Thanks given
    198
    Thanks received
    189
    Discord
    View profile
    Rep Power
    267
    Release 13 is out.

    Fixes blocking code caused by building the bot using buildBlocking() instead of buildAsync() (oops...)

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  10. #19  
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    717
    Thanks given
    198
    Thanks received
    189
    Discord
    View profile
    Rep Power
    267
    Release 14 is out, updates JDA to 4.2.0_214 to accommodate updated discord api.

    This will fix the issue with events not triggering (causes commands not to work)

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  11. #20  
    Registered Member
    Join Date
    May 2012
    Posts
    947
    Thanks given
    19
    Thanks received
    27
    Rep Power
    0
    checkFriendsChatMessage(String chatName, String displayName, String message); just trying to figure out where this is located in your bot files cant find it anywhere.
    Reply With Quote  
     

Page 2 of 3 FirstFirst 123 LastLast

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. [718] [Any Revision]AIO Discord Bot
    By Cody_ in forum Projects
    Replies: 7
    Last Post: 06-08-2019, 07:07 AM
  2. [317] Is there any discord bot for Runescape 4 free
    By alexvdburg1 in forum Help
    Replies: 1
    Last Post: 10-12-2018, 07:02 AM
  3. Custom discord bots [previous work]
    By Phoenix in forum Selling
    Replies: 8
    Last Post: 06-07-2017, 07:05 PM
  4. Add a Discord Bot to your server!
    By Cody_ in forum Tutorials
    Replies: 5
    Last Post: 01-21-2017, 12:50 AM
  5. NPC Definitions [Any framework]
    By relex lawl in forum Snippets
    Replies: 12
    Last Post: 09-08-2012, 10:22 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
  •