Quantcast
Viewing all articles
Browse latest Browse all 14126

discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Command' object has no attribute 'server'

@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)

Why doesn't this work?

I'm beginner programmer


Viewing all articles
Browse latest Browse all 14126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>