Cog-Creators / Red-DiscordBot

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

Fix info.json keys in approved CC guide #6382

Closed Flame442 closed 6 days ago

Flame442 commented 1 month ago

Description of the changes

Like many people, I simply referenced other people's cogs to make my info.jsons, and an extra phantom key from the V2 days made its way into our docs. I removed the name key from both the repo and cog requirements, and added the conditional min_python_version key since lots of cogs lately have needed that one.

Technically the cookie cutter repo and the policies should also be updated, but I don't want to do that :(

Have the changes in this PR been tested?

Yes

Jackenmen commented 6 days ago

Technically the cookie cutter repo and the policies should also be updated, but I don't want to do that :(

Arguable - it's still an existing convention to put cog's class name in the name key, even if it doesn't currently do anything. I agree that it doesn't really make sense to have it listed in the approved CC guide though.