Removing errors in help_command.py.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user