I'm looking for a discord bot that will message all users in a server with a customizable message. I need this done in less than 2 days.
A bot being rate limited? I don't think bots get rate limited when dming users. Only self bots get rate limited.Easy to make but will get rate-limited extremely quick and also can just be generally annoying for users. Can't you just make a @here or @everyone in a channel?
Not true. Imagine a bot like Dyno. With Dyno you can set "message upon join" or "message upon ban". Dyno messages millions of users a day. Discord doesn't rate limit bots.Everything gets rate-limited, users have the same rate-limits as bots.
Can't you make it so the bot dms a certain amount of people, stops for a bit until it's rate limit is over, and messages again?As someone who made a large bot, yes they do. Dyno and other bots have tons of webhooks they also use to extend these rate-limits (not possible in DMs).
Rate-limits are often per-channel or server, not just globally.
Here's a nice table for you:
REST:
POST Message | 5/5s | per-channel
DELETE Message | 5/1s | per-channel
PUT/DELETE Reaction | 1/0.25s | per-channel
PATCH Member | 10/10s | per-guild
PATCH Member Nick | 1/1s | per-guild
PATCH Username | 2/3600s | per-account
|All Requests| | 50/1s | per-account
WS:
Gateway Connect | 1/5s | per-account
Presence Update | 5/60s | per-session
|All Sent Messages| | 120/60s | per-session
Even with sharding a server has one shard only, meaning that the same limits apply.WalshyDev ever heard of sharding?
They weren't talking about the server, they're talking about DMs.Even with sharding a server has one shard only, meaning that the same limits apply.
I have oneI'm looking for a discord bot that will message all users in a server with a customizable message. I need this done in less than 2 days.
