mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-12-03 16:24:20 +00:00
Services network for the RYG community
static | ||
templates | ||
.gitattributes | ||
.gitignore | ||
bots.py | ||
cast.py | ||
db.py | ||
dirty.py | ||
discordbot.py | ||
errors.py | ||
LICENSE.txt | ||
loldata.py | ||
newuser.py | ||
query_discord_music.py | ||
README.md | ||
redditbot.py | ||
requirements.txt | ||
stagismo.py | ||
statsupdate.py | ||
telegrambot.py | ||
template_config.ini | ||
update.sh | ||
webserver.py |
Royalnet
This software is meant for a private internet community, therefore it contains many inside jokes and memes. Be warned!
Modules
bots.py
: Auto-restarting of crashed modules.cast.py
: Magic spell generation (/cast Telegram command)db.py
: PostgreSQL+SQLAlchemy database connectiondiscordbot.py
: Discord music (and more) boterrors.py
: Exception classes for all modulesloldata.py
: League of Legends Champion data obtained from Data Dragon (may require occasional updates, for example when new champions are released)newuser.py
: (broken) New user creation wizardquery_discord_music.py
: Big SQL queriesredditbot.py
: reddit bot for /r/RoyalGamesstagismo.py
: Dictionary of words and memes beginning with Sstatsupdate.py
: Game data tracking (Dota, LoL...)telegrambot.py
: Telegram multipurpose botupdate.sh
: Quick updater scriptwebserver.sh
: Main webserver for Royalnet
Install
- Download
python3.6+
,sentry-cli
andffmpeg
(oravconv
). - Clone the repository.
- Rename the
template_config.ini
toconfig.ini
. - Set the correct values in
config.ini
. - Add
SENTRY_AUTH_TOKEN=
andSENTRY_ORG=
to~/.sentryclirc
. - Open a new
screen
and there run./update.sh
. - Detatch the screen with
Ctrl+A
andCtrl+D
.