This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
Releases: AurelicButter/MargarineBot
Releases · AurelicButter/MargarineBot
Release 1.3.2
Fixes
- Patched an issue with secondary bot owner identification. All secondary bot owner IDs are now stored in an array.
Release 1.3.1
Added
- Speech modules will now reload to their most recent changes when processing responses.
- New configurable command: disableCommand. Disable/re-enable a command for your guild. Available to Admins+
- New inhibitor: properPermission. See the third major fix in list for details.
- Margarine will now identify team members if the application is team-owned. Team leader will get level 10 and all other members will get level 9.
Modifications
- Klasa package is now taken from NPM instead of Github.
- noRecipe speech calls are made from dataCheck module instead of cooking module. Speech is still preserved for backward compatibility with v1.3.0.
- Harvest speech is now an array type. Removed old speech lines that were replaced by dataCheck module.
- commandRemover no longer requires the client
- Split up the poll command into user-friendly commands. Added a new subcategory, Polling, to contain them. All features are usable through the Poll command for backward compatibility.
Fixes
- [Major] Harvest success messages will now be displayed as harvest speech was affected by old speech lines.
- [Major] Patched an issue with finding the bot's owner with Klasa v0.5.0 NPM package.
- [Major] Increased security on guild configure and moderator commands when it comes to bot owners. Commands will fail silently now upon failing the check.
- [Minor] Trying to end a poll will no longer error if there is no poll ongoing.
- [Minor] Fixed an issue with the Queue command's response when the given page count is higher than the queue's.
Removed
- Klasa's built-in transfer and reboot commands are removed via commandRemover.
Release 1.3.0
Added
- New owner commands: setdaily, setchannel, and setaward. These commands allow the owner to set various values that were ported over from the settings.json.
- New craftable product: pancake. Craft it using 2 eggs and 2 bread.
Modifications
- Revamped the poll command to allow for dynamic and more intuitive polling. Polls are now stored for their duration and Margarine will count votes.
- Margarine now requires Node v12+ instead of Node v10+
- All economy commands and musiccheck utility now utilize the language files.
- Permission level localization has been moved into the language files and removed from the settings.json
- All awards and channel locations have been moved into the clientStorage schema and editable through Margarine's commands. The previous pre-set values are now the default values.
- Updated dataManager utility to allow for customized daily amounts. Adding new users to the database now requires a daily credit amount.
- build and globalPrefix values are now attached straight to the client. presenceHelper and various commands that use these values have been updated for it.
- Purge command utilizes integerCheck.
- Several speech modules got redesigned. The new ones will work just like the old modules for the most part.
- Removed a few speech sections as integerCheck and other arguments now handle those messages.
Fixes
- [Major] Fixed an issue with the report command not sending reports to the report channel.
- [Minor] Fixed an issue when handling incorrect numbers for the exchange command.
- [Minor] Fixed an issue with the MAL command not showing mean scores. Also includes a bit of a speed up.
Removed
- ownerSetting no longer exists. All values are either in the client settings schema or attached straight to the client.
Release 1.2.2
Added
- New argument: intCheck. This will verify if a number is an integer or not.
- New command: setprefix. Used to modify the guild prefix. This can be done by admins+ of a guild. Prefix is still modifiable via the conf command.
Modifications
- MAL, AniList, roll, balance, daily, and exchange commands now use Klasa's language file.
- Restructured dataCheck and system language files.
- More Klasa system messages are handled through the speechHelper now.
Fixes
- [Minor] Fixed a bug with the MAL and AniList commands if no user could be found.
- [Minor] Fixed a bug with the roll command when inputting non-integers.
- [Minor] Fixed a potential exploit when inputting numbers less than one into the exchange command.
- [Minor] Fixed a permission state with guild owners. Were previously labelled as guild admins, which didn't affect their abilities but will now be labelled as such by Margarine.
- [Minor] Fixed a bug with the anime and manga commands when there are no results to be found.
Release 1.2.1
Modifications
- Added some humanUse properties to baka, rps, greet, and roleinfo commands.
- Migrated baka and greet commands to use en-CA language file.
Fixes
- [Minor] Fixed an issue with the starboards not posting to the channel upon getting the required amount.
- [Minor] Fixed a bug with rps's speech when the opponent won.
- [Minor] Fixed a bug with roleInfo when Margarine couldn't find the role.
Release 1.2.0
Added
- New feature: Starboards. Moderators+ can enabled them by setting a channel via the starboard command. They can also edit what emote and the required amount for the starboard as well.
- New feature: Role assignment. Moderators+ can add roles to a list of assignables for users to add/remove to their liking.
- New module: Config. Stores all of the configurable setting commands for starboards and role assignment.
- Added a timeMaker function for creating a human readable date and time in the utilities.
- Added schemaManager to allow for more settings without making the index.js file more complex to read.
Modifications
- Some commands now utilize Klasa's parameter check instead of checking themselves.
- speechHelper is not as dependant on its message parameter.
- en-CA language has a few more additional lines and covers more of Klasa's system now.
- Arguments will now trigger the inhibitors and will not need to require null checks anymore
- Begun phasing speech module to utilize Klasa's language framework on top of speechHelper for easier modifications and edits. As of 1.2.0, all arguments, new commands, and a select few will use the language file and older commands will follow suit as more updates are made.
- Terms of Service modified to account and detail options added over the past couple of releases.
Fixes
- [Minor] Fixed an issue with two general modules showing up.
- [Minor] Margarine will no longer ping @ everyone and @ here via his say command.
- [Minor] Fixed an issue with finding a user's permission level
- [Minor] Fixed an issue with speech when searching for NSFW content in a SFW with the anime and manga commands.
Removed
- userconf command is now deleted as a part of startup.
- Merged langSpeech configuration with language. All default language files are en-CA as of 1.2.0
Release 1.1.0
Modifications
- [Patch] Fixed more cache bugs primarily in the music and moderation commands.
- [Patch] Fixed an issue with newer AniList accounts crashing the AniList command.
- [Minor] Added a check for queue lengths in the queue command
Removed
- Removed having the owner's ID in the settings. Margarine fetches this automatically.
Release 1.0.2
Fixes
- [Patch] Fixed more bugs pertaining to the new cache system in Discord.js
- [Patch] Fixed some grammar in speech.
Release 1.0.1
Fixes
- [Patch] Fixed an issue with the presence crashing Margarine
- [Patch] Fixed an issue with the readyMessage event and about command not displaying the size of the guild, channels, and users.
Release 1.0
Added
Features
- Margarine will pick a random line of dialogue based on the command and condition. System is also modifiable externally for other languages.
- Presence will change every 15 minutes. Includes a random presence upon startup.
- Margarine will now verify the environment before beginning to startup.
- Ability to set your MyAnimeList and AniList usernames for easier linking and searching. (#33)
- Ability for the user to remove their own data within Margarine's systems via the revoke command.
Commands
- Added support to search for AniList and MyAnimeList profiles (#33)
- Added ability to search for anime and manga via AniList (#33)
- Added a command to set the avatar of the bot from inside Discord. Owner only.
- Added mute command. Avalible for guild moderators+ with permissions to manage messages
Other
Modifications and Fixes
Modifications
- [Major] Migrated from Komada framework to Klasa Framework. (#51)
- [Major] Merged Recipes.json file into Items.json
- [Major] Replaced old database manager with a newer one. Includes a replacement SQLite dependency.
- [Minor] Split info command into serverinfo, roleinfo, and userinfo commands.
- [Minor] Split the award command into award and giveaward commands.
Fixes
- [Patch] Will display the proper prefix in messages (#45)
- [Patch] Fixed an issue with initializing the music queue and settings (#52)
- [Patch] Fixed an issue with timestamps not being displayed properly in the nowplaying command
- [Patch] Fixed an issue where various music commands would crash the bot before playing music.
- [Patch] Fixed an issue with the birthday display for the MAL command
- [Patch] Fixed an issue with the guildCreate event not sending a message. (#41)
Other
- Terms updated November 22nd, 2019
- Updated all commands to utilize ES6 standards
Removed
- Several old speech files from old Release-1.0 Branch
- Leaderboard command (Economy)
- ecoEdit command (Owner)
- Calculator commands (General)
- Lockdown command (Moderation)
- Bingo command (Fun)
- guildMemberAdd and guildMemberRemove events. #40 no longer an issue.
- confAdd utility (All configurations are defaulted if new)
- commandHelper monitor (Discord does this now)