after the insight bot, which was also used by my friends shut down i was asked, if i could develop a new bot for discord similar then it. I’ve decided to do so, so lets introduce:
The bot is developed in NodeJS (Typescript) using a websocket to listen on the zkillboard websocket for new kills. It is configurable via Discord slash commands for each individual channel and server. Configs for this are saved in small JSON files inside a data directory. Currently the bot will only Post links to the killmails to a channel configured. There is only the default link box of discord and nothing fancy yet, but that meight come in the future.
I am also hosting a public killbot on my Server, which can be invited to any Server you want if you don’t want to Setup your own or have no knowhow of doing so.
Just some fun fact: ppl need sleep sometimes (joking aside, i am living in europe and i usally sleep at 4am )
For your question:
Yes of cause you can. Just invite it to your server using my link up in the first post. This bot is hosted on a docker container on my own server and public for everyone to invite. The docker containers are for ppl who want to understand how everything works or host their own bot because they fear i will spy on their server (what i am much to lazy to do).
Unfortunatly that won’t be possible.
/zkill-subscribe corporation is a subcommand of /zkill-subscribe, however discord does unfortunatly not allow nested subcommands. I will try to figure out a solution. Since discord not not require the optional params in a specific order it should be possible to just add filter params.
E.g.:
/zkill-subscribe corporation [id] ([filter-region-id]) ([filter-system-id]) ([filter-constellation-id]) ([min-vaue])
Since the options are optional discord will let you choose which ones you want to fill.
I will try to extend my code with that when i got time. I also plan on changing the [id] to a [id/name] option with a search from the ESI if the name was not unique.