OpenRA / Orabot

A reincarnation of OpenRA's famous IRC bot, written in C# to service the OpenRA server on Discord.
3 stars 6 forks source link

Add support for using user secrets #61

Open abcdefg30 opened 10 months ago

abcdefg30 commented 10 months ago

Removes the need to change appsettings.json to locally run the bot.

Right click on the Orabot.Hosts.ConsoleHost project and select Manage User Secrets: image

Then you can put the bot token inside there like this

{
    "BotToken": "token"
}