Swothh / api.awardbot.me

🎁 AwardBot is an open source advanced giveaway bot. Written in Discord.js. You can set conditions for the giveaways, automatically deliver the prizes, and lock the giveaways.
9 stars 4 forks source link

Replit Setup #1

Open AcedDown opened 2 years ago

AcedDown commented 2 years ago

Hello,

I forked the api repository then imported it to replit, but it doesn't work, no errors were logged and no issues were encountered, but the only problem is the web preview doesn't work, can you please help me find a solution for this?

Thanks

binary-blazer commented 2 years ago

Hello,

I forked the api repository then imported it to replit, but it doesn't work, no errors were logged and no issues were encountered, but the only problem is the web preview doesn't work, can you please help me find a solution for this?

Thanks

I have found the fix. You have to paste in the award.config.js every auth client id and secret and token. (after i did that the issue was solved for me)

binary-blazer commented 2 years ago

hope i helped you ;D

SkyAlumny commented 2 years ago

Link to the Fork?

binary-blazer commented 2 years ago

Link to the Fork?

im not giving you guys my client ids for the oauth things. you guys should be able to create them yourself

AcedDown commented 2 years ago

Hello, I forked the api repository then imported it to replit, but it doesn't work, no errors were logged and no issues were encountered, but the only problem is the web preview doesn't work, can you please help me find a solution for this? Thanks

I have found the fix. You have to paste in the award.config.js every auth client id and secret and token. (after i did that the issue was solved for me)

I did everything mentioned, and it worked, but now when i try to login from the website, it just doesn’t work; it loads me into a selection page to select the server that i would like to manage with no options at all, then it loads me back to the main page and i am not logged in.