discord-bot-client
discord-bot-client copied to clipboard
[Bug] Can't send/see messages/members
I can't see messages I can't see them, there is a load messages button, but clicking it does nothing
I can't send messages Whenever I send a message, nothing happens, I checked on another account to see if they were sent but nothing happens
I can't see members The member list doesn't show anything, not even the bot itself
The new messages thing is wrong as well
it happend to me too
just restart and relogin
I did that now I can see messages but I still can't see the members list
the member list issue is known, but there isn't a fixed
@xNaCly do not close it, until the issue is fixed
@Flam3rboy a reload fixes the issue, the memberlist is not showable at this time, so why should we keep it opened?
it fixes the issue not always
You need to check this option:
Please double check if the token is good, since Discord reload bot token if sent as messages. When the token is reload you can't do anything.
still it isn't working.
Well, what if I didn't have access to server settings, then we need access to server member list right?
What if the bot didn't had the perms lol? Better to fix this.
Hmm, maybe I can try.
Where does he finds the Source Code?
Where does he finds the Source Code?
Discord is open source project.
Where does he finds the Source Code?
Discord is open source project.
no it isn't I use the closed source code of discord and patch it. You can find the source code of the discord bot client here: https://github.com/Flam3rboy/discord-bot-client/
Where does he finds the Source Code?
Discord is open source project.
no it isn't I use the closed source code of discord and patch it. You can find the source code of the discord bot client here: https://github.com/Flam3rboy/discord-bot-client/
How did you change some of the pages? For example, when you login, instead of email and password, you write token?
just look into the source code
Oh yes thanks i'm trying to do embed builder
the whole source code is in index.html, I load the discord js files and patch them appropriately
I understood
Can you tell your discord for help in some piece of code?
Flam3rboy#3490
well, where do you find those discord js files? because the bot client doesn't support replies yet.
I could have made that, but I don't even know where to start.
The version of the discord bot client's discord client is old.
yes I need to port it to the new version
But how you do that? That’s my question.
Regards, Sairam.
its complicated but I'll try to explain it:
You load the https://discord.com/app site after the site loaded you press Ctrl + S
to save all the files.
Now you should have all the JS files of discord.
Now you follow the instructions here so that you can make changes to the index.html
file.
Now you must patch all the changed variable names:
e.g.
old:
const fixAffinities = fixLibraryApplications.replace(
",r.default.get({url:i.Endpoints.USER_AFFINITIES,retries:e?3:0}).then((function(e){var t=e.body;a.default.dispatch({type:i.ActionTypes.LOAD_USER_AFFINITIES_SUCCESS,affinities:t})}),(function(){a.default.dispatch({type:i.ActionTypes.LOAD_USER_AFFINITIES_FAILURE})}))):Promise.resolve()",
`,setTimeout(()=>{
var exampleAffinities = {"user_affinities": [], "inverse_user_affinities": []}
a.default.dispatch({
type: i.ActionTypes.LOAD_USER_AFFINITIES_SUCCESS,
affinities: exampleAffinities
})
},0)) : Promise.resolve()`
);
new:
const fixAffinities = fixLibraryApplications.replace(
",l.default.get({url:i.Endpoints.USER_AFFINITIES,retries:e?3:0}).then((function(h){var t=h.body;j.default.dispatch({type:i.ActionTypes.LOAD_USER_AFFINITIES_SUCCESS,affinities:t})}),(function(){a.default.dispatch({type:i.ActionTypes.LOAD_USER_AFFINITIES_FAILURE})}))):Promise.resolve()",
`,setTimeout(()=>{
var exampleAffinities = {"user_affinities": [], "inverse_user_affinities": []}
j.default.dispatch({
type: i.ActionTypes.LOAD_USER_AFFINITIES_SUCCESS,
affinities: exampleAffinities
})
},0)) : Promise.resolve()`
);
^ notice the changed variable names (r -> l, a -> j, e -> h)
if you want to make it compatible with all futures version you could instead convert the search and replace strings to regular expressions
hmm, nice...
Where does he finds the Source Code?
He is a magician )
well, it doesn't work, I mean, even if I press Ctrl+S it still doesn't work. @Flam3rboy
Wait i'll try
I managed
hmm, how?, It didn't work for me, tho. Have you tried pressing Ctrl+Shift+S?
No, I pressed CTRL + S
hmm, when?
When It loads up?
yes
Well, I only got a html page lol. With No css, only html
i have this
but I don't get that.
Hm strange
and also someone is blackmailing me right now.
who?
nothing..
You said that someone was blackmailing you
just ignore it, lol
click on the adress bar and then press Ctrl + S
click on the adress bar and then press
Ctrl + S
Should it be?
yes this looks correct
well it doesn't work for me
What to do about it?
this is correct, now you have the files
When I downloaded the page there were many pictures, I deleted everything and left only the code files.
Do I remove everything in app-mount?
yes you should
Oh thanks!, I'll check.
uhh?
most of discord bot clients sucks , now this sucks too
why?
now i have this code
doesn't load any shit
I don't know, I always wanted to be a bot)
I am self-bot lol
download my current version of the index.html file and replace
<script>
window.assets = [
"/assets/e1180c171e5a54377584.js",
"/assets/07ca8d15cc9ad4ffc0f6.js",
"/assets/c05bdc0c5c3c90e28c77.js",
"/assets/7288c77130c62ff8aa82.js",
];
</script>
with the changed asset: view-source:https://discord.com/
it doesn't have a bot tag, but it has commands and nuking stuff
Well, I got this atlast
But the thing is I can see .pngs and .js.download only not .js
mhh, weird, it didn't correctly download the .js files, maybe try it again?
yeah, I'm trying again.
Well, I got this atlast
But the thing is I can see .pngs and .js.download only not .js
Remove the text at the end (download extension files)
y did u delete that
yes
Oh, ok, thanks!
y did u delete that
no advertising
where does it says "no advertising"
I say it
that rules doesn't exist until now, this aint a discord server buddy
to have rules and stuff
now you know it
where does it says "no advertising"
discord server link -> adversting
Huh
refer the rule
Left with 16 js.download files, I will change those names now.
left with 16 js files. I will do the what flamr said.
Now what to do next?
Now you follow the instructions here so that you can make changes to the index.html file.
follow this instructions
What I have now:
clone the discord-bot-client repo
@Flam3rboy can u make a full toutorial video so that i can doo
For member list to work:
That didn't work. @wolfy01
Regards, Sairam.
That didn't work. @wolfy01 Regards, Sairam.
You have to click one or a few channels in a server before they show up, strangely