Cog-Creators / Red-DiscordBot

A multi-function Discord bot
https://docs.discord.red
GNU General Public License v3.0
4.72k stars 2.3k forks source link

Bump YT source plugin version to 1.5.1 and add custom plugin config #6415

Closed Jackenmen closed 1 month ago

Jackenmen commented 1 month ago

Description of the changes

Fixes #6414 and bumps YT source plugin version.

I tested that this works properly both with the YT source disabled (i.e. when the manager doesn't add the YT plugin section) and enabled. It works in both cases and generates the following application.yml files:

The change_dict_naming_convention() function had to be updated since it apparently assumed that when it encounters a list, that list is going to consist of dicts. This is not the case for the new plugins.youtube.clients key - it consists of strings.

Have the changes in this PR been tested?

Yes