Jump to content

(HELP) Scouting Bot Read CC Text


averagee

Recommended Posts

I have check this in API and I can't seem to find it? How could I make my scout bot read what is being said in the clan chat I want to create little commands system that way but I cant just seem to find this in the API >.< plz help? I only found out regular chat and game messages.

Edited by averagee
Link to comment
Share on other sites

26 minutes ago, harrypotter said:

@Override
public void onMessage(Message message) {
    if (message.getTypeId() == 9) {
        // do something with clan chat message
    }
}

I believe clan chat messages have an ID of 9 however I haven't tested this.

Thank you so much man. If its not 9 i will just find it with a loop. Thx!! <3

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...