Releases: yoinc-development/CounterStrikeBot
Releases · yoinc-development/CounterStrikeBot
v3.5
v3.4
v3.3
Bugfixes
- removed formatting around message in "contactGreg" method to prevent follow-up issues during react event
- don't allow slash commands to be executed in private channels or if the event was not triggered in a guild
- updated pom.xml
- updated README.md
- various localization updates
- sort entries by title for weekly report
v3.2
New features
- A new feature has been added for selected users (Gregflix). It has no connection to Counter Strike and for users to use it, they have to be manually approved.
Logic changes
- After each restart scheduled tasks will be delayed until the next full hour. This is to prevent repeated collection tasks requests to the database after each restart (for example during the development phase). It would be recommended to restart the application close to the next full hour to ensure functionalities (especially the retake join task).
Bugfixes
- added missing localization declaration for teams event
- removed sout messages for scheduled tasks
- changed collection task timer from an hour to a day
- moved declaration and initialization of MessageService to StartUp (like DataService)
- added square brackets (containing application and class name) to each sout message for clearer readability on cyberance
- moved urls to properties
- removed "ConsoleUpdate" class (will be recreated as a task)
v3.1
This is what happens when you don't properly test your application.
Bugfixes
- added locale to "sendMessageInCorrectChannel" method to display "info.messagesent" in user's language
- included a userInDB check when collection task runs to prevent user_ids in DB to add up on new creation (inserting already existing data to DB does not save it, but increases user_id)
- send retakeStats in correct channel (method "handleStatsEvent" in "RetakeService") for home guild
v3.0
It's v3.0 and this time, I'm using correct capitalization - at least I will try my best.
New features
- Retake is back! It comes with loads of new features:
- informing users about the server being used (RetakeWatchdog)
- displaying the user's retake stats ("retake stats" user command)
- requesting the server status ("status" command)
- Teams! No more external sites are needed to set up teams for matches. Simply be in a voice channel and type "/teams" including the amount of teams you need (no number falls back to a default of 2 teams).
- Implementation on a connection to Faceit has started but has not been completed.
Logic changes
- Removed lists with IDs mentioned in the code. All users and IDs are now saved in the database too. References to wow entries are now only possible through f_user_id (foreign key to "users" table). No more lists!
- Included an "initialdata.sql" file to import in case the database has to be dropped. VIPs only!
- Added more "sout" calls for debugging purposes. No exception should kill the bot. No promises!
- Removed the whole "dedicatedChannel" / "dedicatedVoiceChannel" / "allowedRoleId" logic. This only applied for a specific guild which is now being referenced. All events taking place in one specific guild will include some message logic. All other servers are allowed to execute commands anywhere / by anyone.
- Created a "MessageService" based on the clean up of the previous point.
Bugfixes
- Accidentally flood the database with multiple wows in case a user decides to replace his wow with a better one. Awkward!
Special thanks to @Aatha-Sivas for joining this project on this release and his exceptional work spirit and massive drive to finish this release.
v2.2
v2.1
v2.1 is now live.
new features
- a stable version of "compare" has been released.
- wow! a new feature called "wow" has been added. it enables users to set their own highlight video (youtube or discord) on themselves. other users can request to see highlights across different servers. isn't that cool? wow!
- excluding "map" all commands now return embed messages. this was done for a cleaner chat and to prevent formatting issues due to weird user names
bugfixes
- removed a check for command permissions at incorrect position
- added a dedicatedchannel property to allow userinteractionevents to be called across the server, but if needed to send the responses only to one channel. if no property is set, the response will end up in whatever channel the user is currently in.
- various localization issues
v2.0 - CounterStrikeBot
This release contains the first stable version of the newly renamed "CounterStrikeBot". Given the current waiting period for a stable SourceMod release this bot will start offering different services to maintain a sense of purpose on Discord servers.