예제 #1
0
파일: help.py 프로젝트: Nadro-J/tipbot-v2
 def __init__(self, bot: discord.ext.commands.Bot):
     self.bot = bot        
     bot.remove_command('help')
     config = parsing.parse_json('config.json')        
     self.prefix = config["prefix"]
     self.bot_descr = config["description"]
     self.color = 0x1e7180
     self.error = 0xcc0000
예제 #2
0
 def __init__(self, bot: discord.ext.commands.Bot):
     self.bot = bot
     bot.remove_command('help')
예제 #3
0
def teardown(bot: discord.ext.commands.Bot):
    bot.remove_command(roll)
예제 #4
0
def teardown(bot: discord.ext.commands.Bot):
    bot.remove_command(get_version)