v3.3.0
Summary
3.3.0 brings discordrb up to speed with new features added to Discord's API over the last year. Included is a large number of fixes, optimizations, and library features.
Since there is a lot here, here are highlights of the more notable changes in this release:
-
We now use SSL certificate validation in our gateway connections, and enforce use of TLSv1.2. If this is an issue for your platform or environment (you get errors related to SSL), please report this with relevant details. You can revert to the old codepath at any time by setting DISCORDRB_SSL_VERIFY_NONE`. This environment variable will be removed in a later release when this proves to be a stable default.
-
CommandBotnow supports a new method of "aliasing" commands with thealiases:keyword. It accepts an array of symbols of alternate command names. Currently this is supported by passing an array of symbols for the command name itself, but this essentially makes "copies" of the command, meaning each alias will show up in your help command. Usingaliasesinstead, the library will recognize that these other names are aliases instead of copying the command. Aliases will be listed when users use with the command name, or any of its aliases. For now you may chose to use either style, but you cannot use both. Specifying an array for the command name is now considered deprecated.