Releases: rkfg/ns2query
notify_empty
Repost tracking
The meme channel(s) can now be tracked for reposted content, see README for details.
Downtime ping
Added down_notify_ids
and up_notify_ids
parameters to ping the respective server admins in case a server goes down or back up.
Discord game status
The bot now "plays" the game... or so the Discord status says. By default it will say "Playing Natural Selection 2" but you can customize it adding a status template to the config so it will show the current number of players on the server, average skill, map, slots etc. Check README.md for details.
Add automatic reactions to memes
This is a function we needed for our Discord. The bot adds a thumbs up reaction to every attachment posted in the meme thread so that users can upvote easily. The bot will join all threads specified in the "threads" object in config.json
but it will only add reactions in those that have meme
set to true (as shown in the example config). There are currently no other purposes of this.
Change the time zone to UTC+0
Local timezone in downtime notifications isn't always convenient when players are in different timezones. UTC+0 is the most neutral one so let's use it!
Downtime detection&reporting
Sometimes servers go dark. It's sad but it happens. However, it's not good to see the stale information and assume the server is working, so I added some basic reporting and visible label for the servers that are not available currently. The new config option failure_limit
should be set to the number of unsuccessful requests before assuming the server is down.
Server status style
Server status message is unified with announcements, both contents and color code.
Better seeding notifications
Not only the seeding notifications now also use embeds for better data representation, they now have colors! Green for seeding, yellow for "almost full" and red/orange when only spectator slots are available. The notification now always include the server name, current map, player count, available player and spectator slots and skill in the bottom. Hopefully, the information layout is good.
Pretty embeds
All informational messages from the bot were converted into Discord Embeds with fields, title etc. for better readability and visual pleasure. Error messages are returned in plain text.