Overhaul of various things#19
Open
SamusAranX wants to merge 42 commits into
Open
Conversation
Slightly reformats the status message
Adds proper pluralization for the number of servers uwubot is connected to Adds config check to the Animals module to avoid a crash on startup Adds an alias check to the Unicode module to avoid aliases being defined for multiple charsets
Removed the gm module entirely, since it was Bad Added an option to use different fonts for each image macro Cut the unicode module down to size and made it the new !clap Removed the emojitext module since it was replaced by the unicode module Added a boolean option "avoidFlags" to the unicode module to make !ri stop producing flags sometimes (default: false) Fixed the bot ping problem for good
Added NotoEmoji-Regular font Added version display to `!uwuhelp`'s output Added "<module> loaded" messages to each module
Set avoidFlags to true
Added help text
also features line ending fuckery
…cicigera songs used in derail
Removed the autorole module
Fixed deprecation warning in the derail module by replacing sendMessage with send Replaced all instances of readFileSync with simple require()s Hopefully fixed random bot crashes by adding error handler Prioritized uwuhelp command
Converted all callback-using functions I could find to use Promises Changed package.json to use the latest versions of all dependencies Changed startup banner Changed config system to use deepmerge package instead of manual merging Changed all bot modules' help string construction methods Changed bot activity message to reflect the bot's current repository Changed message handling routine to filter out other bots earlier Changed command priority to allow !uwuhelp in uwubot's direct messages Changed all bot modules that had a !list* command to instead print their usage when the main command is run without any arguments Updated all bot module help texts The imagetext module now uses the selected template's name as output image name instead of "dril.png" Simplified animals module Moved "command needs to be run in a server" message from individual bot modules to bot.js Renamed !owo to !uwu and added a new !owo command that owofies text even more Added date to console messages Added !uwuinfo command to be used by bot owners Added untested support for other people adding/deleting uwubot on their servers Removed unused files
Reduced console spam in case of errors Raised message text limit to 240 characters Added two new fonts: Roboto Regular and Medium
Added preliminary permissions comment
Slightly edited server join/leave message
Replaced discord_emoji.json with package "emoji-aware" Fixed !sheriff not accepting server emoji Kind of broke !im's emoji support. Oh well.
Added animated emoji support to !sheriff Also added support for emoji name lookup to !sheriff
Fixed server emojis for !sheriff Added a better "unknown emoji" message
Moved module config from config.json to own moduleConfig.json file Renamed server_config.json to serverConfig.json Adjusted copypasta strings Added more error messages to imagetext module Updated dependencies
Added !hedgehog command Made help text of animals module generate itself Changed info in package.json since I'm the maintainer of this fork
Added text autosizing to imagetext module Added more image templates
The bot now prints the template list when a requested template doesn't exist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
imagemacromodule got completely overhauled. It no longer depends ongm, which was bad, it now just callsconvertbehind the scenes. Sincegm's syntax was horrendous, this should make maintenance and the addition of new macros much easier. I also added a few new fonts.The
emojitextmodule has been replaced with theunicodemodule. The commands!riand!clapare now in there and no longer suffer from the bot ping problem. There's also an option for!riin the form of a boolean namedavoidFlagsthat adds zero-width spaces to each character to avoid the display of flags in what's supposed to be text.There are other small changes here and there, but nothing that should drastically alter functionality or break the bot.