Closed Bluscream closed 7 years ago
These endpoints are blacklisted.
They haven't been removed from the library because I'm not sure what to do with them.
Why are they blacklisted tho? :o Also that means that i have to use requests for these? I mean they are even well documented 😢
They're blacklisted because Discord said so. Using them will unverify your account. Repeated usage will possibly end up in your account being deleted or terminated.
.ack() works tho. This is hella confusing 😕
Relationship and Invite endpoints are blacklisted for user accounts. Ack is not.
Like I said, Discord decides what endpoints are blacklisted.
i wish i could find more info on that
They are blacklisted because they can be used for spam, something Discord is very much against. Any endpoint that could be used for spam (most notably, relationship spam and raiding guilds via invites created by bots) is probably blacklisted.
Thanks for the heads-up. That actually makes a lot of sense, even tho i wanted to use it for the opposite (blocking dm invite spammers) but yeah i get why send_friend_request() is blacklisted then.
P.S. I wish there was some note on blacklisted api functions in the docs.
user.block()
user.send_friend_request()
does nothing for me :/Am i using them wrong or is it really bugged out?
Using requests.post to the block API does block the user for me.