forked from kageru/discord-selphybot
kageru
982144f059
Also extracted the command permission logic to a separate function because it was getting ridiculous. It might be a by slower now, but I really don’t care. Readabiliy should be much better, except now it’s even more obvious how bad the entire idea behind that logic was/is. Shikata ga nai, I guess.
49 lines
1.7 KiB
Markdown
49 lines
1.7 KiB
Markdown
# Selphybot Changelog
|
|
Updates are listed in reverse chronological order.
|
|
|
|
### 1.4 (dev)
|
|
- a copy of each deleted message is now send via DM to the author (suggested by CommanderLook)
|
|
- seasonal fluff
|
|
- finally use gofmt
|
|
- better logging of own messages
|
|
- redirect function is much cleaner now
|
|
- commands can be limited to certain channels
|
|
|
|
### 1.3
|
|
- use global array of pointers to commands to allow easier modification and avoid unnecessary memcpy
|
|
- added feedback to !complain (used to work but was forgotten when refactoring)
|
|
- lessen the retardation
|
|
- lessen the retardation some more
|
|
- added !mods
|
|
- fix !help not showing all relevant commands
|
|
- made !help available to all users
|
|
- set !help as the currently played game
|
|
- add !scomplain that is even more special and secret than regular complaints
|
|
- minor changes to !help’s behavior
|
|
|
|
### 1.2
|
|
- added !help command to automatically print a list of all commands and some additional information
|
|
- finally wrote a readme
|
|
- updated wink regex
|
|
- added more misc commands
|
|
|
|
### 1.1
|
|
- cooldowns are now stored per-user, not globally, and no longer apply in DMs
|
|
- multiple admins can now be defined in the config
|
|
- admins can now use DM-only commands anywhere
|
|
|
|
## 1.0
|
|
Marks the first release after the initial refactoring. This contains:
|
|
- the entire logic registerCommand
|
|
- various matching modes for commands
|
|
- auto moderation actions
|
|
- different switches to control command behavior
|
|
- custom functions as parameters to more advanced commands
|
|
- cooldowns for each command
|
|
- handling of newly joined users
|
|
- the ability to add an admin
|
|
- and special commands for them
|
|
- admins can use commands that are on cooldown
|
|
- lots of specific functions used on Selphy’s server
|
|
- probably more that I’m forgetting
|