discord-bot-client icon indicating copy to clipboard operation
discord-bot-client copied to clipboard

[Bug] Can't send/see messages/members

Open OmegaVirus655 opened this issue 4 years ago • 94 comments

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 #general 05_10_2020 4_15_35 PM

OmegaVirus655 avatar Oct 05 '20 08:10 OmegaVirus655

it happend to me too

EledeRR avatar Oct 06 '20 18:10 EledeRR

just restart and relogin

SamuelScheit avatar Oct 08 '20 09:10 SamuelScheit

I did that now I can see messages but I still can't see the members list

MuhannadYT avatar Oct 15 '20 20:10 MuhannadYT

the member list issue is known, but there isn't a fixed

SamuelScheit avatar Oct 16 '20 04:10 SamuelScheit

@xNaCly do not close it, until the issue is fixed

SamuelScheit avatar Nov 07 '20 18:11 SamuelScheit

@Flam3rboy a reload fixes the issue, the memberlist is not showable at this time, so why should we keep it opened?

xNaCly avatar Nov 07 '20 18:11 xNaCly

it fixes the issue not always

SamuelScheit avatar Nov 07 '20 19:11 SamuelScheit

You need to check this option: mRP 1 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.

grifgrif avatar Nov 08 '20 14:11 grifgrif

still it isn't working.

sairam4123 avatar Nov 11 '20 18:11 sairam4123

Well, what if I didn't have access to server settings, then we need access to server member list right?

sairam4123 avatar Dec 04 '20 12:12 sairam4123

What if the bot didn't had the perms lol? Better to fix this.

sairam4123 avatar Dec 04 '20 13:12 sairam4123

Hmm, maybe I can try.

sairam4123 avatar Dec 04 '20 14:12 sairam4123

Where does he finds the Source Code?

sairam4123 avatar Dec 04 '20 14:12 sairam4123

Where does he finds the Source Code?

Discord is open source project.

Nitrrine avatar Dec 08 '20 12:12 Nitrrine

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/

SamuelScheit avatar Dec 08 '20 12:12 SamuelScheit

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?

Nitrrine avatar Dec 08 '20 13:12 Nitrrine

just look into the source code

SamuelScheit avatar Dec 08 '20 16:12 SamuelScheit

Oh yes thanks i'm trying to do embed builder

Nitrrine avatar Dec 08 '20 16:12 Nitrrine

the whole source code is in index.html, I load the discord js files and patch them appropriately

SamuelScheit avatar Dec 08 '20 16:12 SamuelScheit

I understood

Nitrrine avatar Dec 08 '20 16:12 Nitrrine

Can you tell your discord for help in some piece of code?

Nitrrine avatar Dec 08 '20 16:12 Nitrrine

Flam3rboy#3490

SamuelScheit avatar Dec 08 '20 16:12 SamuelScheit

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.

sairam4123 avatar Dec 08 '20 18:12 sairam4123

The version of the discord bot client's discord client is old.

sairam4123 avatar Dec 08 '20 18:12 sairam4123

yes I need to port it to the new version

SamuelScheit avatar Dec 08 '20 19:12 SamuelScheit

But how you do that? That’s my question.

Regards, Sairam.

sairam4123 avatar Dec 08 '20 19:12 sairam4123

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

SamuelScheit avatar Dec 08 '20 19:12 SamuelScheit

hmm, nice...

sairam4123 avatar Dec 09 '20 09:12 sairam4123

Where does he finds the Source Code?

He is a magician )

Nitrrine avatar Dec 09 '20 09:12 Nitrrine

well, it doesn't work, I mean, even if I press Ctrl+S it still doesn't work. @Flam3rboy

sairam4123 avatar Dec 09 '20 09:12 sairam4123

Wait i'll try

Nitrrine avatar Dec 09 '20 09:12 Nitrrine

I managed

Nitrrine avatar Dec 09 '20 09:12 Nitrrine

hmm, how?, It didn't work for me, tho. Have you tried pressing Ctrl+Shift+S?

sairam4123 avatar Dec 09 '20 09:12 sairam4123

No, I pressed CTRL + S

Nitrrine avatar Dec 09 '20 09:12 Nitrrine

hmm, when?

When It loads up?

sairam4123 avatar Dec 09 '20 09:12 sairam4123

yes

Nitrrine avatar Dec 09 '20 09:12 Nitrrine

Well, I only got a html page lol. With No css, only html

sairam4123 avatar Dec 09 '20 09:12 sairam4123

image i have this

Nitrrine avatar Dec 09 '20 09:12 Nitrrine

but I don't get that.

sairam4123 avatar Dec 09 '20 09:12 sairam4123

Hm strange

Nitrrine avatar Dec 09 '20 10:12 Nitrrine

and also someone is blackmailing me right now.

sairam4123 avatar Dec 09 '20 10:12 sairam4123

who?

Nitrrine avatar Dec 09 '20 10:12 Nitrrine

nothing..

sairam4123 avatar Dec 09 '20 10:12 sairam4123

You said that someone was blackmailing you

Nitrrine avatar Dec 09 '20 10:12 Nitrrine

just ignore it, lol

sairam4123 avatar Dec 09 '20 10:12 sairam4123

click on the adress bar and then press Ctrl + S

SamuelScheit avatar Dec 09 '20 10:12 SamuelScheit

click on the adress bar and then press Ctrl + S

image Should it be?

Nitrrine avatar Dec 09 '20 10:12 Nitrrine

yes this looks correct

SamuelScheit avatar Dec 09 '20 10:12 SamuelScheit

well it doesn't work for me

sairam4123 avatar Dec 09 '20 10:12 sairam4123

image What to do about it?

Nitrrine avatar Dec 09 '20 10:12 Nitrrine

this is correct, now you have the files

SamuelScheit avatar Dec 09 '20 10:12 SamuelScheit

When I downloaded the page there were many pictures, I deleted everything and left only the code files.

Nitrrine avatar Dec 09 '20 10:12 Nitrrine

image

Do I remove everything in app-mount?

Nitrrine avatar Dec 09 '20 10:12 Nitrrine

yes you should

SamuelScheit avatar Dec 09 '20 10:12 SamuelScheit

Oh thanks!, I'll check.

sairam4123 avatar Dec 09 '20 10:12 sairam4123

uhh?

snsnss avatar Dec 09 '20 10:12 snsnss

most of discord bot clients sucks , now this sucks too

snsnss avatar Dec 09 '20 11:12 snsnss

why?

SamuelScheit avatar Dec 09 '20 11:12 SamuelScheit

image

now i have this code

Nitrrine avatar Dec 09 '20 11:12 Nitrrine

doesn't load any shit

snsnss avatar Dec 09 '20 11:12 snsnss

I don't know, I always wanted to be a bot)

Nitrrine avatar Dec 09 '20 11:12 Nitrrine

I am self-bot lol

snsnss avatar Dec 09 '20 11:12 snsnss

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/

SamuelScheit avatar Dec 09 '20 11:12 SamuelScheit

it doesn't have a bot tag, but it has commands and nuking stuff

snsnss avatar Dec 09 '20 11:12 snsnss

Well, I got this atlast image But the thing is I can see .pngs and .js.download only not .js

sairam4123 avatar Dec 09 '20 11:12 sairam4123

mhh, weird, it didn't correctly download the .js files, maybe try it again?

SamuelScheit avatar Dec 09 '20 11:12 SamuelScheit

yeah, I'm trying again.

sairam4123 avatar Dec 09 '20 11:12 sairam4123

Well, I got this atlast image But the thing is I can see .pngs and .js.download only not .js

Remove the text at the end (download extension files)

Nitrrine avatar Dec 09 '20 11:12 Nitrrine

y did u delete that

snsnss avatar Dec 09 '20 11:12 snsnss

yes

Nitrrine avatar Dec 09 '20 11:12 Nitrrine

Oh, ok, thanks!

sairam4123 avatar Dec 09 '20 11:12 sairam4123

y did u delete that

no advertising

SamuelScheit avatar Dec 09 '20 11:12 SamuelScheit

where does it says "no advertising"

snsnss avatar Dec 09 '20 11:12 snsnss

I say it

SamuelScheit avatar Dec 09 '20 11:12 SamuelScheit

that rules doesn't exist until now, this aint a discord server buddy

snsnss avatar Dec 09 '20 11:12 snsnss

to have rules and stuff

snsnss avatar Dec 09 '20 11:12 snsnss

now you know it

SamuelScheit avatar Dec 09 '20 11:12 SamuelScheit

where does it says "no advertising"

discord server link -> adversting

Nitrrine avatar Dec 09 '20 11:12 Nitrrine

Huh

snsnss avatar Dec 09 '20 11:12 snsnss

refer the rule

snsnss avatar Dec 09 '20 11:12 snsnss

Left with 16 js.download files, I will change those names now.

sairam4123 avatar Dec 09 '20 11:12 sairam4123

left with 16 js files. I will do the what flamr said.

sairam4123 avatar Dec 09 '20 11:12 sairam4123

Now what to do next?

Nitrrine avatar Dec 09 '20 11:12 Nitrrine

Now you follow the instructions here so that you can make changes to the index.html file.

sairam4123 avatar Dec 09 '20 11:12 sairam4123

follow this instructions

SamuelScheit avatar Dec 09 '20 11:12 SamuelScheit

image What I have now:

Nitrrine avatar Dec 09 '20 11:12 Nitrrine

clone the discord-bot-client repo

sairam4123 avatar Dec 09 '20 11:12 sairam4123

@Flam3rboy can u make a full toutorial video so that i can doo

AmmError avatar Dec 21 '20 13:12 AmmError

For member list to work: image

ar065 avatar Jun 25 '21 16:06 ar065

That didn't work. @wolfy01

Regards, Sairam.

sairam4123 avatar Jun 25 '21 16:06 sairam4123

That didn't work. @wolfy01 Regards, Sairam.

You have to click one or a few channels in a server before they show up, strangely

ar065 avatar Jun 29 '21 21:06 ar065