-
Notifications
You must be signed in to change notification settings - Fork 2
Sending quickchats
SWZ edited this page Mar 14, 2021
·
1 revision
This code will spam Nice Shot! All of the quickchats are available here
const { Client, Manager, Controller, quickChats } = require("EasyRLBot");
class ExampleBot extends Client {
constructor(...args) {
super(...args); // Do not change this except if you know what you are doing.
}
getOutput(gameTickPacket, fieldInfo, ballPrediction) {
this.sendQuickChat(
quickChats.information.NiceShot, // The quickchat
false // If the quickchat is team only
);
}
}
let manager = new Manager(
ExampleBot,
3215 // This is the default port used by EasyRLBotExample
);