RekiDunois / Norma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My assistant bot

what can this bot do?

(WIP)

Deploy with Dockerfile:

git clone https://github.com/RekiDunois/Norma.git
cd Norma

Add config file named appsettings.json with content like this:

{
    "Logging": {
        "IncludeScopes": false,
        "LogLevel": {
            "Default": "Debug",
            "System": "Information",
            "Microsoft": "Information"
        }
    },
    "BotConfiguration": {
        "BotToken": "xxxxxx:xxxxxx",
        "HostAddress": "https://localhost",
        "UserIds": [
            "1234567890"
        ]
    },
    "ProgramConfiguration": {
        "AssemblyNames": [
            "Norma"
        ]
    }
}

About getting the BotToken and UserIds content, you can follow the telegram docs in here

And then, run the docker build and run command, just like that.

docker build -t norma:version .
docker run -d norma:version

About


Languages

Language:C# 98.0%Language:Dockerfile 2.0%