I'm trying to make a discord plugin via javascript injection, a simple spammer, nothing more.
I got the DOM manipulation part figured out and my spammer is appearing properly, the thing is. I can't for the love of god figure out how to send a messange.
There is no send button, discords only sends messages on [enter] key press which means I can't simulate a click on a submit button.
I tried simulating enter key presses by dispatching keypress events, jquery events etc. I made sure to focus the message input but it still aint sending shit.
I tried using chrome developer tools aka "break on" tools to figure out which functions is called when a message is being sent, the thing is, discord is so fucking bloated and everything is framework generated it is fucking impossible to get a executable function out of there.
Please guys, I wanted to make a simply fucking spammer and I am failing at the spamming part. Does anyone have a clue how to figure this out?
I'm obviously not trying to send multiple hundred messages per second here since discord would block me instantly. I aiming for more delayed messages. Like a message every 5 seconds, it would still annoy the shit outta people.
If I just got this fucking shit to work tho...
Daniel Reed
Instead of reinventing the wheel, use an API library that lets you log in with email and password.
Ian Johnson
Thing is, discord apis are made for bots, not for users.
Brandon Collins
in older versions you can still use your user token
Henry Mitchell
well, im retarded, they do work for users.
But they require an external server. I want everything to work clientside.
So can anyone help me with this sending issue?
Adrian Brooks
idk, try looking into how betterdiscord handles its plugins
Brayden Wood
>But they require an external server. no they don't you mongrel
Chase Morales
I took a look at the plugins, and I couldn't find a single one that sends messages.
Only shit which does shit AFTER you send a message.
Oh, cool, how do I use their api without node.js then?
Adam Smith
Just fucking install it like a normal non-retarded human being
Asher Long
Not to mention there are a shit ton of libraries for discord in a large variety of languages. Maybe the python one would be to your liking, but maybe it's too hard for your tiny brain to understand.
Isaiah White
I have nothing against installing and setting it up myself, but I would like to release this shit to the public, and I dont want normies to waste time installing node.js
Jordan Russell
>being a normie sympathizer
i bet you are one of them secretly
Adrian Edwards
I just want to get some views on youtube alright?
:(
Ethan Butler
>I dont want normies to waste time installing node.js Jesus fuck just kill yourself already
Alexander Peterson
Fuck off
Elijah Hall
>Discord Discard
Adam Rogers
literal retard
Nolan Walker
well, does mr smartass have a solution then?
Mason Bell
>decides to have option on by deafult that eats gpu >you cant customize it to your liking >faggot admins and mods can just change your name on their server and you have no way of changing it back if they cut off the option. Discord is fucking trash and you are retarded. Use literally anything else.
Julian Brooks
I know that Discord is Trash. But everyone uses it these days, I can't simply starr using Telegram or other shit and hope for all my friends to switch.
Angel Clark
Tell your friends they're gay and good bye forever and use something else.
William Anderson
Doesn't discord rate limit everything, not just bots?
Luis Scott
this thread >see you on r/Sup Forums >hi doctor
Ryan Morgan
Wouldn't you just invoke a send method in the framework itself? If bots can do it, users should as well.
Jaxon Green
>help me write a spammer to shit up the internet Sup Forums Why haven't you been banned yet? Why aren't you in jail? Just fuck off.
Angel Turner
what's stopping you from making a Strg+v, enter macro and looping it?