'Is there a way to send messages to every member on a discord server? (discord.py)

So, I want to send a message to everyone on a discord server, except one. How can I do it? Because, with my code it checks if it's that user over and over. (and it would be best if this could happen when the bot gets online (on_ready)) Thanks for any help.



Solution 1:[1]

It is possible to do it, but Im not providing an example here. Mass-messaging users with a bot is considered spamming by Discord and its guidelines.

EDIT: You also aren't allowed to do it cause you would go over the rate-limit Discord is allowing a bot to do at the same time.

I suggest you just create a newsletter via email.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1