mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-25 20:44:21 +00:00
Services network for the RYG community
static | ||
templates | ||
utils | ||
.gitattributes | ||
.gitignore | ||
application.wsgi | ||
awardfiorygi.py | ||
bots.py | ||
chatasthebot.py | ||
db.py | ||
discordbot.py | ||
isaacfetcher.py | ||
LICENSE.txt | ||
loldata.py | ||
newuser.py | ||
README.md | ||
redditbot.py | ||
requirements.txt | ||
sql_queries.py | ||
statsupdate.py | ||
strings.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
.