コード例 #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
ファイル: help.py プロジェクト: MUEDEV/MUE-Discord-Tips
 def __init__(self, bot: discord.ext.commands.Bot):
     self.bot = bot
     bot.remove_command('help')
コード例 #3
0
ファイル: dice.py プロジェクト: Chlorophytus/chloricordal
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)