Discord.ext.commands.errors.CommandInvokeError: Der Befehl hat eine Ausnahme ausgelöst: AttributeError: Das Objekt „BefePython

Python-Programme
Anonymous
 Discord.ext.commands.errors.CommandInvokeError: Der Befehl hat eine Ausnahme ausgelöst: AttributeError: Das Objekt „Befe

Post by Anonymous »

Code: Select all

@FiveStarBot.command(pass_context=True)
async def globalmessage(cxt, *, text : str):
x = message.server.members
for member in x:
await FiveStarBot.send_message(member.name, text)
Warum funktioniert das nicht?

Ich bin Programmieranfänger

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post