tuxinal / impostorCord

A discord bot plugin for Impostor
MIT License
19 stars 3 forks source link

Running impostorCord on a docker host which has ports 80 and 443 in use #6

Closed flrvt closed 3 years ago

flrvt commented 3 years ago

Hi, First of all thank you for creating this project.

I have set up an Impostor server as a docker container running on my own docker host. This host already has ports 80 and 443 in use. When I run the Impostor game server, everything works. I was able to enable your plugin and set up a Discord Bot. Which comes online when I start the Impostor server. However, I cannot interact with this bot. It does not reply to the message help for example.

Now, I am not very experienced in this, but I have not been able to figure out what's wrong. However, when I saw the proxy config in the bot, I started to believe that the bot cannot receive the webhook/callback from Discord, because it probably does that over ports 80/443, which the bot cannot listen on. Is this assumption correct?

Is this what the proxy config is for? If so, could you give me a hint how to set it up? Or should I just host the container completely separate where the bot can indeed listen on ports 80/443?

Thanks!

tuxinal commented 3 years ago

Hi, make sure the bot has the permissions to respond to you in your channel

The proxy settings are there because of sanctions for where I live but now i don't need a proxy anymore so the option may be removed in the future

flrvt commented 3 years ago

Thanks for your swift reply.

Turns out it had nothing to do with ports or proxies indeed. Just me who did not understand I had to prefix the commands with ;

Seems to work now, I'll try it out later with some players!

flrvt commented 3 years ago

Clarified with #7