This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
Release 1.4.0
Added
- New utility: dateDisplay. Sending a date to the method will return a human-readable string such as "November 19, 2020". Date display options are editable in the settings.json file and follow the options used in toLocaleString method for Date types.
- New command: setDefaultChannel. Allow admins to determine where general bot messages should go (ie: moderation logs when no mod-log is set.)
- New game: Blackjack. Requires daily permissions. Play a game of blackjack in hopes to double your credits or aim to get 21 and get 2.5 times your bet.
- New inhibitors: disabled and nsfw. MargarineBot now has its own disabled and nsfw inhibitors instead of relying on the base inhibitors from Klasa.
Fixed and Modifications
- Fixed an issue with userinfo not being able to find a "name" key.
- userinfo command will now display the last time the user sent a message on the server and their guild nickname.
- userinfo command will no longer give out presence information if the bot does not have the presence intent.
- Bot user field in userinfo display has been converted into a user type and will display either bot or human if the user is a bot or not.
- ID is also no longer displayed in the title with the account tag on the userinfo display.
- Updated the TOS link in about command to utilize the repository's wiki pages rather than a file within the codebase.
- envCheck method will now allow Margarine to run on any Discord.js version 12.3.0+
- All games will use "earnings" in their speech keys instead of using both "earnings" and "earning".
Removed
- client.ownerSetting has been removed due to it no longer having any use within Margarine