#selhosting .

41 messages · Page 1 of 1 (latest)

void bough
#

{ "Database": { "ConnectionString": "Host=localhost;Port=5432;Username=postgres;Password=password;Database=fmbot;Command Timeout=60;Timeout=60;Persist Security Info=True" }, "Logging": { "SeqServerUrl": "http://localhost:5341" }, "Bot": { "Prefix": ".", "BotWarmupTimeInSeconds": 15, "BaseServerId": 0, "FeaturedChannelId": 0, "FeaturedPreviewWebhookUrl": "CHANGE-ME-WEBHOOK-URL", "FeaturedTimerStartupDelayInSeconds": 20, "MainInstance": true, "FeaturedMaster": true }, "Discord": { "BotUserId": 0, "Token": "CHANGE-ME-DISCORD-TOKEN" }, "LastFm": { "PrivateKey": "CHANGE-ME-LASTFM-API-KEY", "PublicKey": "CHANGE-ME-LASTFM-API-KEY", "PublicKeySecret": "CHANGE-ME-LASTFM-API-SECRET", "UserUpdateFrequencyInHours": 24, "UserIndexFrequencyInDays": 120 }, "Genius": {}, "Spotify": {}, "Discogs": {}, "Environment": "local" }

seeems like this would satisfy configs/config.json, im trying to run the docker image from your repo. just wondering how a spotify client would look like, aswelll as genius and discogs..

void bough
#

i got it i think but no idea how to deploy this image now lol

woven cedar
#

example of docker run where you mount the config:
docker run --network=host --mount type=bind,src=/home/fmbot-configs/develop/,dst=/app/configs/ ghcr.io/fmbot-discord/fmbot:dev

#

/home/fmbot-configs/develop/ would be your local config location

#

some of the config values as an example

void bough
#

idea

#

would't it be nice to have some kind of really similar response UI's cross chatm, like bridging kinda

#

dont have exp with .net but i built proper php tg bots before with advanced ui as far as the api allows

#

or just ez bridge some stuff and set it, monitor and roll

woven cedar
#

sorry what do you mean exactly? Like an UI to manage the bot?

void bough
#

possibly

#

but the bot would respond in each native app's way of rendering the stuff

#

idk havent looked too far into the sourcecode but if you are utilizing interfaces alot should be easy to add a telegram bot for example

#

using the same codebase

#

maybe slap an easy gui on it to manage vars

woven cedar
#

it is mostly built around discord atm, esp the new commands that use interactions

void bough
#

yea

woven cedar
#

i dont think that will change in the near future. It's interesting but it would have a large impact on the codebase and I'd prefer to spend my time working on improving the current discord experience

#

I would like to maybe offer some of the tools (charts/receipts/etc) on the web

void bough
#

yeah understandenle

#

that would be great

woven cedar
#

the database is made in a way that it would not be too difficult to support other platforms that are not discord

#

the codebase is not

void bough
#

but telegram has fixed ways of displaying stuff that i know for a fact

#

unless making a whole html app ontop of the bot

#

idk never tried that

#

but i wonder if you could bridge it somewhat easily with matterbridge

woven cedar
void bough
#

yeah

#

to reususe or like your own dashboard/site?

woven cedar
#

own dashboard/site

void bough
#

cool

woven cedar
#

it is just an idea though i am not working on it

void bough
#

ziet er echt gelikt uit

woven cedar
#

the chart code would need a rewrite anyway cuz it is chaotic

void bough
#

🙂

woven cedar
#

as for the management UI

#

there is a grafana dashboard

#

it is not publicly available though

void bough
#

nice