Skip to content

Latest commit

 

History

History
84 lines (80 loc) · 2.42 KB

README.md

File metadata and controls

84 lines (80 loc) · 2.42 KB

Theorem Chat Bot

Theorem is a generic chat bot I built for whatever the eff I want. 💅

More docs later. I'm just using this to store some useful info.

appsettings.json example

{
    "ChatServiceConnections": {
        "WarmItUpMatrix": {
            "Service": "Matrix",
            "BaseUrl": "https://your.service",
            "UserName": "theorem",
            "Password": "PASSWORD",
            "RoomServerRestriction": "your.service",
            "Middleware": [ "Echo", "EzFtlStreamAnnouncement" ]
        },
        "WarmItUpMumble": {
            "Service": "Mumble",
            "ServerHostname": "",
            "ServerPort": 64738,
            "Username": "Theorem",
            "ServerPassword": "",
            "Middleware": [ ]
        }
    },
    "Middleware": {
        "Echo": {
            "Enabled": true
        },
        "EzFtlStreamAnnouncement": {
            "Enabled": true,
            "BaseUrl": "https://myezftlinstance.tv",
            "WebSocketUrl": "wss://myezftlinstance.tv/ws",
            "AnnounceChannels": [
                {
                    "ChatServiceName": "WarmItUpMattermost",
                    "ChannelName": "gaming"
                },
                {
                    "ChatServiceName": "WarmItUpMumble",
                    "ChannelName": "Game Night"
                }
            ]
        },
        "AttendanceRelay": {
            "Enabled": true,
            "Relays": [
                {
                    "FromChatServiceName": "WarmItUpMumble",
                    "ToChatServiceName": "WarmItUpMattermost",
                    "ToChannelName": "gaming",
                    "Prefix": "Mumble: "
                }
            ]
        },
        "Volunteering": {
            "Enabled": true,
            "PostChannels": [
                {
                    "ChatServiceName": "WarmItUpMatrix",
                    "ChannelName": "#volunteering:warmitup.chat"
                }
            ],
            "PostDayOfWeek": "Monday",
            "PostTime": "08:00"
        },
        "Regal": {
            "Enabled": true,
            "PostChannels": [
                {
                    "ChatServiceName": "WarmItUpMatrix",
                    "ChannelName": "#theatergoers:warmitup.chat"
                }
            ],
            "PostDayOfWeek": "Wednesday",
            "PostTime": "01:00",
            "LocationCodes": ["0905", "0904", "1942", "1931"]
        }
    }
}