Removing errors in help_command.py.

This commit is contained in:
alwayscompiling
2022-07-03 10:47:06 -04:00
parent f23cd71647
commit cfde28ad4b
3 changed files with 14 additions and 3 deletions
+7
View File
@@ -1,9 +1,15 @@
"""
Help command
"""
from nextcord.ext import commands
from .help_command import NewHelpCommand
class HelpCog(commands.Cog):
"""Help Command"""
def __init__(self, bot: commands.Bot):
self.bot = bot
self._original_help_command = bot.help_command
@@ -16,4 +22,5 @@ class HelpCog(commands.Cog):
# setup functions for bot
def setup(bot: commands.Bot):
"""Adds functon to bot"""
bot.add_cog(HelpCog(bot))