Releases: NanderTGA/msgroom-orm
v3.0.0
v2.0.0
2.0.0 (2024-01-29)
Bug Fixes
-
welcomeMessage
is ignored and default is used (8d50887), closes #150 -
adapt types to match new prefix behavior (21d1d42)
-
add ability to change servers (b2e5a4d)
-
all crashes in main event handlers (b170f30)
-
array-starts-with importing (626a03f)
-
cause property on errors (b6d1f4a)
-
Client#name not updating after changing it (2d07427), closes #95
-
correct nickname length (9eeeb44)
-
description formatting in help command (7d8cfee)
-
disable default welcomeMessage when there's no main prefix (d9713e5)
-
document behavior to disable commands (a8c3dd2)
-
don't send error message when no error (f95ef45)
-
eslint false positive (cbb6ebb)
-
import fuckery (bfaf354)
-
logic bug in validateNickname (5061122)
-
make blockSelf default to options.bot (4183cb6)
-
make validateNickname match server behavior (22f538a)
-
missing properties from imported commands (3ef8b15)
-
readme: fix typo (5efd95e)
-
reject promise instead of uncaught error (d20dac3)
-
remove flag types for bridged messages (debdd91)
-
remove reference to require (c35fdca)
-
some small bugs + fix eslint errors (3f80e24)
-
testbot: prefix t! conflicting with other bot (c1f2589)
-
testbot: switch to commonjs (d132235)
-
testCommand: context.reply() inaccuracy (987ce3d)
-
the types I broke with this import mess (dacf038)
-
type error ModuleInitializeFunctionReturnType (792d802)
-
update isBlocked description (81be86f)
-
use import() instead of require() (5f83c3f)
-
use validateNickname properly (c8edf3e)
-
chore!: define public interface + remove CJS (797c6ca)
-
refactor!: rename some functions + add tsdocs (beea55e)
-
chore(ci)!: switch to msgroom@nightly (d3aae1c)
-
feat!: rewrite getCommand and walkCommandOrMap (02c5240)
Features
- add
escapedName
field toUser
(d0f1cb7), closes #125 - add authOptions (a6084e1)
- add browser support (b792d6a)
- add cause to error (5410bac)
- add hidden commands (c67552a), closes #110
- add option to disable unescaping messages (ded8b23), closes #88
- add pages to the help command (0a079a7), closes #44
- add possibility to simplify aliases (fd4cbac)
- add socketIOOptions (784e3f6)
- add trimMessage function (831ac91)
- add types with reserved events (3294b7b)
- add unescaping to sys messages + add jsdocs (1356dec)
- automatically trim each message (f128d00)
- bind
this
in handler to command (8987c8f), closes #124 - block bots using Sheesh's bot API (3b80d25)
- deal with message bridging from other platforms (fe7429d)
- detect bots using bot flag too (221a73a)
- implement proposed option to mark user as bot (baa3110)
- implement warning system, finishing #6 (60540d4)
- improved prefix processing (1766972), closes #84
- let users override helpCommandLimit in arg 2 (0028027)
- make pings bold (0352de3)
- separate arguments using quotes (5c6aa00), closes #60
- testbot: add name command (57d64ad), closes #95
- testbot: alias testing with new ping command (510b0e5)
BREAKING CHANGES
- We defined our public interface in package.json.
This was done for clarity.
We also added a list of supported node versions (node 18 or 20+)
- removed CommonJS since it got too ...
Msgroom v2.0.0-1
Another v2 prelease, with some changes to the Command class to make it easier to import
Full Changelog: v2.0.0-0...v2.0.0-1
Msgroom v2.0.0-0
This is a prelease of v2
Full Changelog: v1.4.1...v2.0.0-0
Msgroom v1.4.1
This release will send a werror
event when a too long message is sent
Full Changelog: v1.4.0...v1.4.1
Msgroom v1.4.0
This release adds subcommands
Full Changelog: v1.3.2...v1.4.0
Msgroom v1.3.2
This release checks if the length of your username is valid (it can't be longer than 18 characters, and has to be at least 1 character long).
Full Changelog: v1.3.1...v1.3.2
Msgroom v1.3.1
This release fixes #4
Full Changelog: v1.3.0...v1.3.1
Msgroom v1.3.0
Small update:
- You can now have async command handlers.
- You can now pass a string instead of an array of strings to the
Client
constructor to set 1 prefix.
Full Changelog: v1.2.0...v1.3.0
Msgroom v1.2.0
This small release comes with the following changes:
- Your command handlers can now return a
string
or an array ofstring
s, which will be passed toclient.sendMessage()
. - Fixed #2.
Full Changelog: v1.1.0...v1.2.0