Discord-OwO-Bot icon indicating copy to clipboard operation
Discord-OwO-Bot copied to clipboard

Self-Hosting?

Open Seathre opened this issue 6 years ago • 8 comments

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

Seathre avatar May 30 '18 07:05 Seathre

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...

ChristopherBThai avatar May 30 '18 11:05 ChristopherBThai

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.

Infinitay avatar Dec 29 '18 23:12 Infinitay

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

ahlatn02 avatar May 26 '19 11:05 ahlatn02

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

felixfong227 avatar Oct 17 '19 05:10 felixfong227

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.

JustSamuel avatar Jan 19 '20 11:01 JustSamuel

@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 avatar Feb 01 '20 16:02 LinkOps

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

LinkOps avatar Feb 01 '20 16:02 LinkOps

@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

JustSamuel avatar Feb 02 '20 03:02 JustSamuel