Closed EmirhanOlgn closed 2 years ago
I am not the creator of this, but you can only do this if you want:
"panel": {
"bots": [
{
"name": "futsal",
"path": "path/to/example1.js"
}
],
But it seems that the error is not related to this, but to the execPath. Mine for example is "execPath": "/usr/bin/chromium-browser", Maybe it's wrong for you there.
Hello, thanks for the help. Another thing I can't do is I don't know how to make the file with the bot. Can you help me?
example1.js
Mine, for example, is answering:
This is not what I'm talking about. I don't know how to write the codes inside the file. require, room. and room settings. @rocosttaa
@gabrielbrop Hello again. I think I more or less understood the use of the bot, but I still don't know how to create the bot.
I don't know what to write inside the javascript folder shown. Can you open a sample usage project and show some features? for example: room.sendAnnouncement
And I am getting an error like this:
https://github.com/gabrielbrop/haxball-server/issues/2