Ratismal / UNO

An uno discord bot
70 stars 35 forks source link

What would be involved in hosting this bot myself #2

Closed Yamboy1 closed 6 years ago

Yamboy1 commented 6 years ago

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

schrmh commented 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)

Yamboy1 commented 6 years ago

why not just install all dependencies with

npm install

I'm not a complete noob with nodejs

schrmh commented 6 years ago

Cause I just wrote it how I did it, lol.

schrmh commented 6 years ago

Got it working. Just follow what I wrote above.

Ratismal commented 6 years ago

Self-hosting is not supported. My only suggestion would be to FigureItOutYourself™.

owocado commented 4 years ago

@Yamboy1 @schrmh what's your discord name#tag? Can I contact you guys on discord for help?

schrmh commented 4 years ago

@thisisjvgrace derberg#7221