AttributeError:“帮助”对象在discord.py bot中没有属性“命令”

时间:2020-07-28 16:07:50

标签: python discord discord.py

我遇到错误:

Command raised an exception: AttributeError: 'Help' object has no attribute 'commands'

这是我的对象Help的代码:

class Help(commands.Cog, name='Help'):

    """Help command"""

    def __init__(self, client):
        self.client = client

0 个答案:

没有答案