npc203 / npc-cogs

My list of Cogs for Red-bot :p
MIT License
25 stars 26 forks source link

[CustomHelp] d.py2 async changes #58

Closed TwinDragon closed 2 years ago

TwinDragon commented 2 years ago

Did some testing because d.py2 has async on cog loading and unloading and stuff like that. This PR will address those changes for the latest dpy2_unstable of Red and allow the cog to be used again if it was broken before.

Only did the customhelp cog, since I imagine that's going to be the most widely used cog, along with myself. lol

npc203 commented 2 years ago

the reset_formatter doesnt require await on cog_unload.

This PR can wait for a while, i'm going on a massive rewrite, in case if i didn't make it in time, ill merge this

TwinDragon commented 2 years ago

I probably should of closed this sooner, but since there's already work done on the d.py2 branch for this cog and all that, there's no real point in keeping this open. lol