Oops, didn't add all files.

This commit is contained in:
2023-04-15 21:44:37 -04:00
parent 5d7ad13982
commit 1acac43df1
11 changed files with 312 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
from nextcord.ext import commands
from .help_command import NewHelpCommand
class HelpCog(commands.Cog):
def __init__(self, bot: commands.Bot):
self.bot = bot
self._original_help_command = bot.help_command
bot.help_command = NewHelpCommand()
bot.help_command.cog = self
def cog_unload(self):
self.bot.help_command = self._original_help_command
# setup functions for bot
def setup(bot: commands.Bot):
bot.add_cog(HelpCog(bot))