Skip to content

Releases: ezelkow1/discord-key-bot

Add uninvited warning

05 Nov 15:17
9fffe55
Compare
Choose a tag to compare

Currently the bot does not warn if it has never been invited to a server, it just crashes instead unhelpfully. Adding a warning if it detects that it has no servers in its list returned from discord once it has gotten its ping back and if the list is empty displays the invite link so users can easily add it.

File fixes, stop list broadcast

18 Jan 02:31
6c2b968
Compare
Choose a tag to compare

This release brings in an option to disable the bot from displaying the entire keys list to the broadcast channel. It can be quite annoying if someone intentionally or mistakenly does a listing to get spammed if you have a large amount of keys. The option ListPMOnly will prevent this when set to true in the config file.

Also added protection around the file usage. Realized it was possible if people were fast enough to be able to do conflicting !add/!take/etc. This should take care of that

User key limiting

19 Oct 01:34
ecab7d2
Compare
Choose a tag to compare

This adds limits to users taking keys. If you specify a "UserFile" in the conf then it will generate that file and use it as a database of users and what games they have taken. As a user takes a game its name will be stored in the users list and if they request it again they will be denied

Fix crash bug - invalid dmchan

08 Aug 02:01
b6aa51d
Compare
Choose a tag to compare

This fixes a long standing crash bug. Sometimes discord will send out messages directly to all clients at random times. Keybot would always try to open a direct message channel to any messages recieved. This causes an error in these instances since one cannot be opened with a system discord message and since it was not error checked on open would crash when we attempt to use it.

Added an error check on all the dmchans and this appears to fix it

Role Support

23 Mar 04:16
eef721c
Compare
Choose a tag to compare

This release introduces roles support. You can now populate a KeyRole field in the config file (or leave it empty as ""). If populated then only users with a role matching this name will be able to communicate with the bot

v1.1 Release

07 Jan 22:31
a74f567
Compare
Choose a tag to compare
  • Updated the documentation
  • Re-organized files so it wasn't monolithic
  • Standardized on passing ref to save/load
  • Added key type parsing and storage
  • Added redemption link generation for steam and gog types

Version 1.0 Release

04 Jan 23:04
Compare
Choose a tag to compare

First fully working release. All the known bugs from beta testing have been worked out and its currently in use on a discord server