#Why doesn't my script work?
1 messages · Page 1 of 1 (latest)
I don't see the point to be honest
They'll just block the bot
and if you spam others and not (just) your friends, which we can't be sure of you don't, then that's probably bannable
alr but curious.. why doesn't it work?
why does the execption print ?
403 Forbidden (error code: 50007): Cannot send messages to this user
so now you know
can be because no guild in commun, the user has his dm closed etc etc
is it a user setting? is it just prevented from discord?
tested with a friend that put all permissions n everything
didn't work
does the bot has a guild in common with the user?
Bots cannot DM a user they do not share a guild with.
That'd be awful lmao
Though
That makes me wonder how the fetch even worked
or can fetch fetch any user
fetch can fetch any user
Yes, but you cannot DM a user if the bot does not share a guild with that user. That's why 403: Forbidden is being raised.
Yes. Although they're your friend, you're seen to be developing a "spam bot", which is against Discord's Developer Terms.
https://discord.com/developers/docs/policies-and-agreements/developer-terms-of-service
what if a server just has 500 bots and when someone enters it, they get bombarded
that's the server owners fault
Probably against ToS if it's intentional. Then, you could argue that they're just bot features that all happen to be triggered at the same time. Not too sure what the standing on that would be, but I'd suggest just not doing anything stupid.
i just don't see why
if you just try to annoy your friends as much as possible they won't be your friends for much longer
^^^
Looking at it from a legal/Discord side of things though, you'd probably get banned for spam/harassment/smilar.
nah like if it's a scam server
would that work?
surely discord has some sort of
failsafe idk
oof
if your token gets leaked and someone abuses your bot
what can discord do about it? like can you prove it's not you doing it
Just don't let your token be leaked, easy prevention
but if it did get leakd..
if the token get leak
then you reset it.
not automatically unless on GitHub or a major website
and even if u token get leak and someone abuse ur bot
u will still be the one ban
because ur responsable of ur account
and discord will not try to find something
just dont use a script to spam some user
hm ok
Discord has restrictions on DMs to. If you send a bunch of DMs to someone discord will eventually ratelimit you and disable your bot.