maxsupermanhd / FactoCord-3.0

Factorio bidirectional Discord bridge bot for Linux servers with control functionality.
Apache License 2.0
14 stars 10 forks source link

Slash commands #44

Closed ComputerComa closed 2 years ago

ComputerComa commented 2 years ago

Will the command structure be moved to slash commands? I really like the look and feel of this project, but I would really like to see the ability to use slash commands.

TechnoStrife commented 2 years ago

Probably, when I get more free time

ComputerComa commented 2 years ago

Cool! I would offer to help, but I'm not very familiar with lua or go.

TechnoStrife commented 2 years ago

@ComputerComa slash commands are ready.

Before I make a release you can test them in the test server: https://discord.gg/uNhtRH8

ComputerComa commented 2 years ago

OOh. Thanks! And alright!

TechnoStrife commented 2 years ago

Test build ready. It can be found in releases

ComputerComa commented 2 years ago

Hey sorry, I took a little break from Factorio but I definitely will be taking a look again at this soon!

ComputerComa commented 1 year ago

Are slash commands part of the stable releases now? I see that they show up in my server but i tried to use one and it just comes back with Application did not respond image

maxsupermanhd commented 1 year ago

The Application did not respond error is happening when bot did not acknowledged or responded to the command within 5 seconds (iirc). The only 2 ways that "no response" can be observed is at first you launch bot with slash command support and then rolled back to a version that does not know about them (old registration of command is being used) and when bot actually did not respond and likely crashed or encountered some sort of error that made it not respond back (should be something written in the logs on the server/tty).

Unfortunately I am long gone from Factorio (and suppose so is TechnoStrife) so I don't immediately know an answer to your question nor do I even remember how FactoCord implemented slash commands and in what branch it is.

TechnoStrife commented 1 year ago

They were working fine when I published a test build with slash commands. Can't guarantee that now. Also there isn't exactly a high demand for them, so...

ComputerComa commented 1 year ago

Ok Fair enough.