[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

So /g/, I'm having a problem here. I'm trying to make

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 32
Thread images: 5

So /g/, I'm having a problem here.

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?
>>
>>62338031
discord wont let you spam lol
>>
>>62338114
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...
>>
Instead of reinventing the wheel, use an API library that lets you log in with email and password.
>>
>>62338272
Thing is, discord apis are made for bots, not for users.
>>
>>62338367
in older versions you can still use your user token
>>
>>62338272
>>62338367
>>62338408

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?
>>
>>62338513
idk, try looking into how betterdiscord handles its plugins
>>
>>62338513
>But they require an external server.
no they don't you mongrel
>>
>>62338544
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.

>>62338827
Oh, cool, how do I use their api without node.js then?
>>
>>62338850
Just fucking install it like a normal non-retarded human being
>>
>>62338850
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.
>>
>>62338862
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
>>
>>62338891
>being a normie sympathizer

i bet you are one of them secretly
>>
>>62338906
I just want to get some views on youtube alright?

:(
>>
>>62338891
>I dont want normies to waste time installing node.js
Jesus fuck just kill yourself already
>>
>>62338891
Fuck off
>>
>Discord
Discard
>>
File: 4bc8b6771214bfc0.png (117KB, 300x300px) Image search: [Google]
4bc8b6771214bfc0.png
117KB, 300x300px
>>62338031
literal retard
>>
>>62340382
well, does mr smartass have a solution then?
>>
>>62338031
>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.
>>
>>62340702
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.
>>
>>62340850
Tell your friends they're gay and good bye forever and use something else.
>>
Doesn't discord rate limit everything, not just bots?
>>
>>62338031
this thread
>see you on r/4chan
>hi doctor
>>
>>62338031
Wouldn't you just invoke a send method in the framework itself? If bots can do it, users should as well.
>>
File: 1470157473712.png (372KB, 600x450px) Image search: [Google]
1470157473712.png
372KB, 600x450px
>>62338031
>help me write a spammer to shit up the internet /g/
Why haven't you been banned yet?
Why aren't you in jail?
Just fuck off.
>>
what's stopping you from making a Strg+v, enter macro and looping it?
>>
https://github.com/Jiiks/BetterDiscordApp/tree/v2
>>
>accountgen.pw
>it's a site for minecraft accounts
You had to be 18+ to post here OP.
>>
File: 1482077588684.png (261KB, 1039x559px) Image search: [Google]
1482077588684.png
261KB, 1039x559px
lmao just use the API you dumbshit
I wrote a discord spammer in python, it's not hard.
>>
>>62338031
What's up with the Reddit spacing?
Thread posts: 32
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.