SanjaySunil / BetterDiscordPanel

💬 Discord Messaging Panel that allows you to message inside of a bot!
https://betterdiscordpanel.github.io/
GNU General Public License v3.0
657 stars 234 forks source link

[BUG]: Can't login #99

Closed Kabin1234 closed 2 years ago

Kabin1234 commented 2 years ago

How major is the bug from 1 - 10

What type of bug is it?

Steps required to reproduce the bug

Screenshot (In most cases required)

PROMEDO commented 2 years ago

same problem with you

Kabin1234 commented 2 years ago

yess

On Tue, Nov 16, 2021 at 8:02 AM MEDO @.***> wrote:

same problem with you

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SanjaySunil/BetterDiscordPanel/issues/99#issuecomment-969710746, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUQ25GHOAAPWJF6MVEDEOEDUMG7EVANCNFSM5IB5TIZQ .

Scoooolzs commented 2 years ago

same problem with you

Same

Kabin1234 commented 2 years ago

yess

On Tue, Nov 16, 2021 at 10:05 AM Scoooolz @.***> wrote:

same problem with you Same

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SanjaySunil/BetterDiscordPanel/issues/99#issuecomment-969851466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUQ25GFP3HVNQCQGDWUDX7DUMHNRRANCNFSM5IB5TIZQ .

XxTHKxX commented 2 years ago

How I fixed it: changing the user-agent header, for the application version (the cmd file version), I added this to the index.js file (only the win.WebContents line is new, the other 2 lines are to show where it's supposed to be

win.webContents.userAgent = "some random user agent here" win.on('ready-to-show', () => { win.maximize(); win.show(); });

hope it helps ya guys

Kabin1234 commented 2 years ago

It works! But sunil sir should immediately fix it .

On Thu, 18 Nov, 2021, 8:53 pm ducanh2002123, @.***> wrote:

How I fixed it: changing the user-agent header, for the application version (the cmd file version), I added this to the index.js file (only the win.WebContents line is new, the other 2 lines are to show where it's supposed to be

win.webContents.userAgent = "some random user agent here" win.on('ready-to-show', () => { win.maximize(); win.show(); }); hope it helps ya guys

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SanjaySunil/BetterDiscordPanel/issues/99#issuecomment-972967095, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUQ25GBNC5OKWN6E4U3CJUDUMUK6TANCNFSM5IB5TIZQ .

cuti1234kl commented 2 years ago

How I fixed it: changing the user-agent header, for the application version (the cmd file version), I added this to the index.js file (only the win.WebContents line is new, the other 2 lines are to show where it's supposed to be

win.webContents.userAgent = "some random user agent here" win.on('ready-to-show', () => { win.maximize(); win.show(); });

hope it helps ya guys

làm sao vậy ông, tui bị lỗi ;_;

miatoszs commented 2 years ago

Hi wha is random user agent?

Code19Master commented 2 years ago

How I fixed it: changing the user-agent header, for the application version (the cmd file version), I added this to the index.js file (only the win.WebContents line is new, the other 2 lines are to show where it's supposed to be

win.webContents.userAgent = "some random user agent here" win.on('ready-to-show', () => { win.maximize(); win.show(); });

hope it helps ya guys

can you pls pull request

XxTHKxX commented 2 years ago

How I fixed it: changing the user-agent header, for the application version (the cmd file version), I added this to the index.js file (only the win.WebContents line is new, the other 2 lines are to show where it's supposed to be win.webContents.userAgent = "some random user agent here" win.on('ready-to-show', () => { win.maximize(); win.show(); }); hope it helps ya guys

can you pls pull request

Um, well, I personally think if someone can code an actual good workaround, like an UI or something to randomize the user agent it would be better, because i think pretty much all hard coded value would get blocked by discord, so a value that’s not hard coded in would be better, and I do not know how to make a UI like that :(

XxTHKxX commented 2 years ago

Hi wha is random user agent?

Just type in something random, like IAMABOT/v2.4 or something, and it’ll work

XxTHKxX commented 2 years ago

How I fixed it: changing the user-agent header, for the application version (the cmd file version), I added this to the index.js file (only the win.WebContents line is new, the other 2 lines are to show where it's supposed to be win.webContents.userAgent = "some random user agent here" win.on('ready-to-show', () => { win.maximize(); win.show(); }); hope it helps ya guys

làm sao vậy ông, tui bị lỗi ;_;

Lỗi gì vậy? Mình edit 1 tí cái file là được luôn mà

PROMEDO commented 2 years ago

Your explanation is not understandable, explain more with pictures and file name

Microngamer commented 2 years ago

How I fixed it: changing the user-agent header, for the application version (the cmd file version), I added this to the index.js file (only the win.WebContents line is new, the other 2 lines are to show where it's supposed to be

win.webContents.userAgent = "some random user agent here" win.on('ready-to-show', () => { win.maximize(); win.show(); });

hope it helps ya guys

Ayy mate ty, could you lmk how to fix it for the index.html ?

cokie1479 commented 2 years ago

i am having the same problem but i am on mac-os Catalina and am using the index.html

nsde commented 2 years ago

same problem here

SanjaySunil commented 2 years ago

Please see https://github.com/SanjaySunil/BetterDiscordPanel/blob/master/docs/prerequisites/prerequisites.md.