ChristopherBThai / Discord-OwO-Bot

A Discord bot that will keep track of your OwO
https://discordapp.com/oauth2/authorize?client_id=408785106942164992&permissions=1074120776&scope=bot
Other
571 stars 407 forks source link

Self-Hosting? #10

Open Seathre opened 6 years ago

Seathre commented 6 years ago

First of all, thanks for making this bot, my friends and I really enjoy it.

Secondly, was just curious if you had any intention on offering a self-hosted package. I'd love to be able to have my own separate economy for lotteries and such, as well as the ability to tweak cool down times.

Cheers, Seathre

ChristopherBThai commented 6 years ago

That's a great idea! However, it might take me awhile to get to it... Quite alot of things on my todo list as of now...

Infinitay commented 5 years ago

Wish I read this issue first before trying to set it up myself...

I've tried setting it up locally so I can add a feature to the bot but test it locally to make sure it works without a problem. Unfortunately I didn't read this issue and didn't realize we can't host it ourselves. First issue was how the required local files such as owo-auth was supposed to be in another folder outside the workspace under tokens as opposed to its current location in the master branch, json/example.... Another issue and where I can't go any further is Error: Cannot find module '../../../../tokens/imagegen.json'.

I guess I will just submit a request in the discord instead.

ahlatn02 commented 5 years ago

I am willing you to grant such a self-hosted package I will pay for that package so I can have such a great bot for my server

felixfong227 commented 5 years ago

Facing the exact same issue where it prompts me an error related to the imagegen.json issue

I am trying to warp the whole thing under a self-hosting container environment

Looking forward to any updated regards on this @ChristopherBThai

JustSamuel commented 4 years ago

Found a way to host owo myself, most of the work is in replacing every instance of '../tokens/x' to '../secret/x' and reformatting some other code, mostly commenting stuff out.

LinkOps commented 4 years ago

@JustSamuel Does it take a while to launch or is it almost instant? I've installed all the pre-req npm modules but struggling to see the bot come live in my test channel. I put the Secret folder outside the exported content and renamed it tokens so the referencing is correct.

LinkOps commented 4 years ago

You need to make sure you change the following if you get the bot connecting to have the logs in your server: var logChannel var modLogChannel

These are in src/utils/sender.js

JustSamuel commented 4 years ago

@JustSamuel Does it take a while to launch or is it almost instant? I've installed all the pre-req npm modules but struggling to see the bot come live in my test channel. I put the Secret folder outside the exported content and renamed it tokens so the referencing is correct.

Don’t forget to set debugging to true in owo.js en index.js and it should start instantly with eris-sharder debugging