Palace Guard\cogs\modmail.py", line 35, in on_message File "C:\Users\dyimi\Desktop\Code related stuff\python\discord_create_channel(name, overwrites, ChannelType.text
, days_in_house): self.days_in_house = days_in_house
"""Creates a pdf which contains data about flatmates such as namePdf.cell(w=6, h=2, txt=flatmate1.name, bo
data[user.id] = {} await client.send_message(message.channel, "The user is already muted") 在"if not user.id in data:“说"AttributeError:'str‘对象没有属性'id'”时,我该如何解决这个问题呢?
\Workspaces\Python Workspaces\Discord Bots\JustMe Bot\bot.py", line 143, in callbackAttributeError: 'NoneType' object has no attribute 'name for key, value in inter.text_values.i
我正在用discord.py为我的不和谐服务器制作一个机器人。我正在尝试创建一个命令,为用户提供一个名为“静音”的角色。但是,当我试图静音用户(通过发送“0静音@user#0000"),我会得到错误。async def mute(ctx, user: discord.Member):注意:我使用的是普通的discord.py,而不是 discord.py重写。_unique(Object(id=r.id) for s