Skip to content

Commit

Permalink
Updated README and version number
Browse files Browse the repository at this point in the history
  • Loading branch information
chamik committed Feb 24, 2021
1 parent b42ccaf commit 415c3cf
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Thorn
[![.NET Actions Status](https://github.com/scp-cs/Thorn/workflows/.NET/badge.svg)](https://github.com/scp-cs/Thorn/actions) [![Discord chat](https://img.shields.io/discord/536983829437480984?logo=discord)](https://discord.gg/ZAdfEJ4) ![Release](https://img.shields.io/github/release/scp-cs/Thorn.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![.NET Actions Status](https://github.com/scp-cs/Thorn/workflows/.NET/badge.svg)](https://github.com/scp-cs/Thorn/actions) [![Discord chat](https://img.shields.io/discord/536983829437480984?logo=discord)](https://discord.gg/ZAdfEJ4) [![Release](https://img.shields.io/github/release/scp-cs/Thorn.svg)](https://github.com/scp-cs/Thorn/releases) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Thorn is a Discord Bot made specifically for the Czech branch Discord chat.

Expand All @@ -11,6 +11,7 @@ Thorn is a Discord Bot made specifically for the Czech branch Discord chat.
* Leaderboards
* Quick links to important guides/hubs
* Daily reminder with important events in the past and name-days
* RSS Feed

## Install
This bot is private, and there are no plans on making it public. However you are free to run Thorn locally yourself.
Expand All @@ -23,6 +24,26 @@ This bot is private, and there are no plans on making it public. However you are
"prefix": "."
}
```
If you want to receive RSS feeds, create a `feeds.json` file in `thorn/Config/` that looks something like this:
```json
[
{
"Link": "http://scp-cs.wikidot.com/feed/forum/threads.xml",
"ChannelIds": [100000000000000000],
"EmbedColor": 16645526,
"RequireAuth": false
},
{
"Link": "http://scp-cs.wikidot.com/feed/admin.xml",
"ChannelIds": [100000000000000000, 100000000000000001],
"RequireAuth": true,
"EmbedColor": 16776960,
"Username": "<your email>",
"Password": "<your hashed password>"
}
]
```
You can have as many feeds set up as you want. Or you don't have to have any at all. (In that case put just `[]` in the file)
3. Run `dotnet build --configuration Release` in the root directory
4. You're all set! Output is in `thorn/bin/Release/netcoreapp3.1/`

Expand Down
2 changes: 1 addition & 1 deletion thorn/Config/pairs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"INFO": "**Verze:** 2.1\n**Repozitář:** https://github.com/scp-cs/Thorn",
"INFO": "**Verze:** v2.2\n**Repozitář:** https://github.com/scp-cs/Thorn",

"WELCOME_CHANNEL_ID": "666672988883779585",
"NEWS_CHANNEL_ID": "537063810121334784",
Expand Down

0 comments on commit 415c3cf

Please sign in to comment.