# Small Discord killbot: Hazardous-Killbot

**URL:** <https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221>\
**Category:** Third Party Developers\
**Tags:** bots, discord, pvp\
**Created:** [June 16, 2022, 3:39pm UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221 "2022-06-16T15:39:02Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![SvenBrnn](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/svenbrnn/32/324715_2.png) [@SvenBrnn](https://forums.eveonline.com/u/SvenBrnn)\
**Post date:** [June 16, 2022, 3:39pm UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/1 "2022-06-16T15:39:02Z")

</div>

Hey guys,

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:

> **[GitHub - SvenBrnn/hazardous-killbot: ZKillBoard Discord Bot](https://github.com/SvenBrnn/hazardous-killbot)**
>
> ZKillBoard Discord Bot. Contribute to SvenBrnn/hazardous-killbot development by creating an account on GitHub.

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.

[Invite the Bot to your Server!](https://discord.com/api/oauth2/authorize?client_id=981835348030160948&permissions=274877925376&scope=bot%20applications.commands)

If there are any further questions just ask. For issues feel free to open an Issue request on the github page. Or join our [Discord Server](https://discord.gg/ACCRMvPGSf)

If you like my work i would be happy about Ingame Donations as i don’t earn money for pew pew when coding 😛 .

Fly save o7  
Sven

---

<div class="post-metadata">

**Author:** ![Lyn](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/lyn/32/387718_2.png) [@Lyn](https://forums.eveonline.com/u/Lyn)\
**Post date:** [June 16, 2022, 5:22pm UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/2 "2022-06-16T17:22:20Z")

</div>

I’m commander Shepard and this is my favorite bot on the citadel.

---

<div class="post-metadata">

**Author:** ![GoingOffRoading](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/goingoffroading/32/324763_2.png) [@GoingOffRoading](https://forums.eveonline.com/u/GoingOffRoading)\
**Post date:** [June 17, 2022, 4:01am UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/3 "2022-06-17T04:01:37Z")

</div>

Question

It looks like I can invite the bot to Discord without setting up the Docker Container.

If that is true/possible, what is the purpose of the Docker container?

I pinged on the Discord but didn’t hear back

---

<div class="post-metadata">

**Author:** ![SvenBrnn](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/svenbrnn/32/324715_2.png) [@SvenBrnn](https://forums.eveonline.com/u/SvenBrnn)\
**Post date:** [June 17, 2022, 5:51am UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/4 "2022-06-17T05:51:40Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![Kiera\_Oramara](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kiera_oramara/32/456080_2.png) [@Kiera\_Oramara](https://forums.eveonline.com/u/Kiera_Oramara)\
**Post date:** [June 18, 2022, 9:48pm UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/5 "2022-06-18T21:48:29Z")

</div>

I miss Insight 😭 So good your picking up the pieces @SvenBrnn 🙂

Can we get an option that limites to Region ?

---

<div class="post-metadata">

**Author:** ![SvenBrnn](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/svenbrnn/32/324715_2.png) [@SvenBrnn](https://forums.eveonline.com/u/SvenBrnn)\
**Post date:** [June 19, 2022, 8:18am UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/6 "2022-06-19T08:18:36Z")

</div>

yea, that would be possible. I will create a ticket on github and check if i can implement it when having some time

---

<div class="post-metadata">

**Author:** ![SvenBrnn](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/svenbrnn/32/324715_2.png) [@SvenBrnn](https://forums.eveonline.com/u/SvenBrnn)\
**Post date:** [June 23, 2022, 6:39pm UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/7 "2022-06-23T18:39:21Z")

</div>

@Kiera_Oramara your wish for a region filter was implementet 🙂

---

<div class="post-metadata">

**Author:** ![Kiera\_Oramara](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kiera_oramara/32/456080_2.png) [@Kiera\_Oramara](https://forums.eveonline.com/u/Kiera_Oramara)\
**Post date:** [June 29, 2022, 7:00am UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/8 "2022-06-29T07:00:46Z")

</div>

how about this ?

/zkill-subscribe corporation [id] region [id] ([min-vaue])

So post kills for a corp in a specific region 🙂

---

<div class="post-metadata">

**Author:** ![SvenBrnn](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/svenbrnn/32/324715_2.png) [@SvenBrnn](https://forums.eveonline.com/u/SvenBrnn)\
**Post date:** [June 29, 2022, 10:05am UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/9 "2022-06-29T10:05:20Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![SvenBrnn](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/svenbrnn/32/324715_2.png) [@SvenBrnn](https://forums.eveonline.com/u/SvenBrnn)\
**Post date:** [July 1, 2022, 10:09am UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/10 "2022-07-01T10:09:07Z")

</div>

I’ve implemented it. I also added colors for killmails using the discord embed feature.

---

<div class="post-metadata">

**Author:** ![SvenBrnn](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/svenbrnn/32/324715_2.png) [@SvenBrnn](https://forums.eveonline.com/u/SvenBrnn)\
**Post date:** [September 24, 2022, 9:38am UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/11 "2022-09-24T09:38:56Z")

</div>

The bot is closely to the threshold of 75 Servers now, so ill try to get it verifyed by discord pretty soon.

---

<div class="post-metadata">

**Author:** ![SvenBrnn](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/svenbrnn/32/324715_2.png) [@SvenBrnn](https://forums.eveonline.com/u/SvenBrnn)\
**Post date:** [September 26, 2022, 3:32pm UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/12 "2022-09-26T15:32:59Z")

</div>

The bot is now an official verifyed discord bot. 🎉 🎊

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [December 25, 2022, 3:33pm UTC](https://forums.eveonline.com/t/small-discord-killbot-hazardous-killbot/367221/13 "2022-12-25T15:33:23Z")

</div>

Closed on December 25, 2022, 3:33pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
