All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Adjust changes to Uploads response format
"reply"
argument type for getting in replies.- Editing posts.
- Message telling you to update from a non-existent version.
- Adjust changes to Uploads response format (meower-media/uploads#7)
- Removed keys from Uploads response format (meower-media/uploads#7)
- Aliases overriding existing commands.
- Commands with whitespace silently breaking (instead of erroring).
- Command aliases.
- Automatic reconnection when disconnecting.
- "None" group category in help message.
- Memory leak causing post edits to create unnecessary objects exponentially.
- Banning and admin specific commands are actually enforced. (1.4.0 regression)
- Post deletion.
postDelete
event on bots anddelete
event on posts.updatePost
event on bots that looks for post edits and other changes.stringifyPatternType
function to turn a pattern type into a human readable format.- Improved logging; option to disable logging.
- Replaced the
Post
type with aRichPost
class. (ThePost
type is still available.) - Post deletion/replying using the
RichPost
class. - More idiomatic keys on posts (camelCase instead of snake_case, no single letter keys).
- The old keys on posts. See JSR documentation for details.
- Unused key in the constructor options.
- Allow any capitalization of the username in commands.
- Logging for when the web socket disconnects.
- Checking for updates.
- Setting categories.
- Nicer format for help command.
Documentation and code style fixes, no functionality change
- Customizable messages.
RoarBot.prototype.user
to get a user's profile.
- "The command undefined doesn't exist!" when sending a message only pinging the bot.
- Made failures to post (as caused by i.e. rate limits) not crash the bot.
RoarBot.prototype.commands
property for accessing commands.RoarBot.prototype.ws
property for accessing the current WebSocket.RoarBot.prototype.setAccountSettings
method for setting various account options.- A message for commands that don't exist.
- A promise rejecting in a command will no longer crash the bot.
RoarBot.prototype.run
to separate code into separate files.
- Require unique names for each command.
- Banning users.
- Option to disable help command.
- Example in module documentation.
- Documentation for
Post
,Attachment
andUploadsAttachment
.