Closed Yamboy1 closed 6 years ago
Download & install node.js
Open PowerShell in UNO-master directory.
npm init
npm install discord.js --save
notepad config.json and enter something like that:
{
"prefix": ":",
"token":"getfrombottabseeurlbelow",
"oauth": "clientsecretthatyougetfromdeveloperssite"
}
save the file
Create bot at https://discordapp.com/developers/ & invite it to a Server
Switch to the /src directory
node .\index.js in your PowerShell but you may beed to install a few things:
If modules are missing install them with npm i <modulename>
(cat-loggr, eris, ,moment, eventemitter3)
Fix the index.js in subfolder Frontend at line 186: } catch (e) {}
Turns out more modules needs to be installed
Create a empty current-games.json file in UNO-master directory.
node .\index.js should work now without returning any errors and your bot user will be online and you can get help e.g. by writing :help
(if your prefix is : just like in my example)
why not just install all dependencies with
npm install
I'm not a complete noob with nodejs
Cause I just wrote it how I did it, lol.
Got it working. Just follow what I wrote above.
Self-hosting is not supported. My only suggestion would be to FigureItOutYourself™.
@Yamboy1 @schrmh what's your discord name#tag? Can I contact you guys on discord for help?
@thisisjvgrace derberg#7221
My main reason for this is to have it as a dev version if I feel up to fixing bugs, 1 currently that I'm thinking about