XAYRGA / Xen-Enforce-Bot

Xen Enforce Bot for Telegram
Other
9 stars 6 forks source link

Add instructions for self hosting #6

Open nikitalita opened 3 years ago

nikitalita commented 3 years ago

Since you're discontinuing the main instance, can you please add instructions on how we might host this ourselves?

nikitalita commented 3 years ago

(if you don't wanna deal with support questions on that, add the instructions and then archive the repo?)

fangmarks commented 3 years ago

I was about to suggest that too, since I was thinking of hosting my own Instance of it. But I personally have no Idea how I would get this/a C# Bot running nor do I really know what's needed.

Krutonium commented 3 years ago

I was thinking about hosting this myself, so we will see...

XAYRGA commented 3 years ago

I'll definitely work on some instructions for how to set this up. Sorry they weren't done beforehand <3

fangmarks commented 3 years ago

tysm 💖

Haulien commented 3 years ago

Kind of had a shot myself, installed the dotnet sdk on a server, made a config file, setup a mysql user and db for it, built it, ran it.

Right off the bat, I ran into Unhandled exception. NLua.Exceptions.LuaScriptException: cannot open ./xen/filtersystem.lua: No such file or directory

So I copied the file xen/filterSystem.lua from the source directory to the bin directory, had to rename it (case sensitive rip) and we have liftoff.

Capture

I'm kind of lost from this point. The bot is running and can see when it receives commands, however it doesn't seem to load the aforementioned filter systems, nor respond to anything.

I think I'm along with others and will have to wait for some kind of guide.

Then there's the webui to setup, however a simple server with php enabled should handle that fine..... with the bot not even replying to commands, that's a bit further down on the to-do list.