Jump to content

(HELP) Scouting Bot Read CC Text


Recommended Posts

Posted (edited)

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
Posted
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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