gabrielbrunop / haxball-server

A small server utility for Haxball
19 stars 2 forks source link

Discord commands have no effect at all #10

Closed iwishiknewcoding closed 1 year ago

iwishiknewcoding commented 1 year ago

Hello @gabrielbrop, thanks for the awesome package. Though it does not quite work for me. Would appreciate some help here.

The thing is, in the server when I do haxball-server open this is the output:

[11:11:47] [REMOTE DEBUGGING] Listening to remote connections on port 9500
[11:11:48] [DISCORD] Logged in as mybot#0001!

and I expect Discord commands to work as expected, but when I type them in the channel where the bot is invited and has Administrator scopes, nothing is happening either in Discord or in server.

It's an Ubuntu server, and this is my config file:

$ cat config.json
{
    "server": {
        "execPath": "/snap/bin/chromium-browser",
        "userDataDir": "./path/to/data-dir"
    },
    "panel": {
        "bots": [
            {
                "name": "myroom",
                "displayName": "My room",
                "path": "./path/to/script.js"
            }
        ],
        "discordToken": "MTExsaMADSJXOASD.G-sad.JASXDlxsda", # placeholder
        "discordPrefix": "!",
        "mastersDiscordId": [
            "57994213123124" # placeholder
        ]
    }
}

Where should I start troubleshooting from? Or maybe I'm missing something?

iwishiknewcoding commented 1 year ago

oops, I just realized 😅

Luis8a3010 commented 6 months ago

Could you teach me how to use this, I have followed the steps, but I feel like I am missing something, I don't know if it is yet, I need it for my Haxball vps please, could we contact you via discord