This Discord bot is made very specifically for the Czech branch Discord chat; other than for testing purposes, there is probably no need for you to run this bot, or even read this guide. Why am I writing this.
You have to have .NET 8 SDK installed.
$ git clone https://github.com/scp-cs/Thorn.git
In the project root directory:
$ dotnet build -c Release
And you're all set! The output is in thorn/bin/Release/net8.0/
config.json
is where most of the magic happens. Be sure to fill out the token field.
feeds.json
is for configuring the RSS fetching. If you don't wish to fetch any RSS
feeds, just put []
(an ampty array) in the file.
There are examples in config.example.json
and feeds.example.json
respectively.
daily.json
is not really meant to be edited, but you surely get the idea.
I use a simple systemd service.
[Unit]
Description=Thorn - the SCP-CS bot
[Service]
Type=simple
Restart=always
WorkingDirectory=/home/thorn/Thorn/thorn/bin/Release/net8.0/
ExecStart=/usr/bin/dotnet /home/thorn/Thorn/thorn/bin/Release/net8.0/thorn.dll
[Install]
WantedBy=multi-user.target
Now enjoy your very own Thorn 🥳 If you need help, message me (you can find me on the SCP-CS discord server and elsewhere).