v3.1.0 Release Notes¶
Mongo Driver Migration¶
Due to the required changes of the Mongo driver for Config, all existing Mongo users will need to complete the below instructions to continue to use Mongo after updating to 3.1. This includes all users, regardless of any prior migration attempt to a development version of 3.1.
- Upgrade to 3.1
- Convert all existing Mongo instances to JSON using the new converters
- Start each bot instance while using JSON and load any and all cogs you have in order to successfully preserve data.
- Turn each instance off and convert back to Mongo. NOTE: No data is wiped from your Mongo database when converting to JSON. You may want to use a new database name when converting back to Mongo in order to not have duplicate data.
Setup Utility¶
New commands were introduced to simplify the conversion/editing/removal process both on our end and the users end.
Please use redbot-setup --help
to learn how to use the new features.
Hint
Converting to JSON: redbot-setup convert <instance_name> json
Converting to Mongo: redbot-setup convert <instance_name> mongo
v3.1.0 Changelog¶
Audio¶
- Add Spotify support (#2328)
- Play local folders via text command (#2457)
- Change pause to a toggle (#2461)
- Remove aliases (#2462)
- Add track length restriction (#2465)
- Seek command can now seek to position (#2470)
- Add option for dc at queue end (#2472)
- Emptydisconnect and status refactor (#2473)
- Queue clean and queue clear addition (#2476)
- Fix for audioset status (#2481)
- Playlist download addition (#2482)
- Add songs when search-queuing (#2513)
- Match v2 behavior for channel change (#2521)
- Bot will no longer complain about permissions when trying to connect to user-limited channel, if it has “Move Members” permission (#2525)
- Fix issue on audiostats command when more than 20 servers to display (#2533)
- Fix for prev command display (#2556)
- Fix for localtrack playing (#2557)
- Fix for playlist queue when not playing (#2586)
- Track search and append fixes (#2591)
- DJ role should ask for a role (#2606)
Core¶
- Warn on usage of
yaml.load
(#2326)- New Event dispatch:
on_message_without_command
(#2338)- Improve output format of cooldown messages (#2412)
- Delete cooldown messages when expired (#2469)
- Fix local blacklist/whitelist management (#2531)
[p]set locale
now only accepts actual locales (#2553)[p]listlocales
now displaysen-US
(#2553)redbot --version
will now give you current version of Red (#2567)- Redesign help and related formatter (#2628)
- Default locale changed from
en
toen-US
(#2642)- New command
[p]datapath
that prints the bot’s datapath (#2652)
Config¶
discord.py¶
Downloader¶
[p]cog install
will now tell user that cog has to be loaded (#2523)- The message when libraries fail to install is now formatted (#2576)
- Fixed bug, that caused Downloader to include submodules on cog list (#2590)
[p]cog uninstall
allows to uninstall multiple cogs now (#2592)[p]cog uninstall
will now remove cog from installed cogs even if it can’t find the cog in install path anymore (#2595)[p]cog install
will not allow to install cogs which aren’t suitable for installed version of Red anymore (#2605)- Cog Developers now have to use
min_bot_version
in form of version string instead ofbot_version
in info.json and they can also usemax_bot_version
to specify maximum version of Red, more in Info.json format. (#2605)
Mod¶
Setup Scripts¶
Streams¶
Utility Functions¶
- New:
chat_formatting.humanize_timedelta
(#2412)Tunnel
- Spelling correction of method name - changedfiles_from_attatch
tofiles_from_attach
(old name is left for backwards compatibility) (#2496)Tunnel
- fixed behavior ofreact_close()
, now when tunnel closes message will be sent to other end (#2507)chat_formatting.humanize_list
- Improved error handling of empty lists (#2597)