1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
Services network for the RYG community
Find a file
2018-12-11 23:58:59 +01:00
static Add lol ranks 2018-12-06 16:41:09 +01:00
templates fix bug 2018-12-06 16:54:44 +01:00
.gitignore many things 2018-08-08 21:59:47 +02:00
bots.py Small update, might work 2018-09-19 18:28:40 +02:00
cast.py pls no crasherino 2018-11-03 18:42:56 +01:00
db.py update enum 2018-12-06 16:57:08 +01:00
discordbot.py pure evil 2018-12-11 23:58:59 +01:00
errors.py something works, something does not 2018-12-04 00:56:29 +01:00
LICENSE.txt Create LICENSE.txt 2018-11-21 13:34:40 +00:00
loldata.py Some new spooky stuff 2018-10-01 17:46:06 +02:00
newuser.py Database improvements 2018-08-28 15:14:29 +02:00
query_discord_music.py possible new page 2018-11-06 23:11:35 +01:00
README.md Update config and readme 2018-12-10 15:43:46 +00:00
redditbot.py Log formatting 2018-09-19 00:13:41 +02:00
requirements.txt coloredlogs test 2018-09-18 00:26:01 +02:00
stagismo.py pls no crasherino 2018-11-03 18:42:56 +01:00
statsupdate.py Announce league rank changes 2018-11-07 19:41:49 +01:00
telegrambot.py 3 characters 2018-12-04 10:40:25 +00:00
template_config.ini Update config and readme 2018-12-10 15:43:46 +00:00
update.sh Update update.sh 2018-11-07 20:50:37 +01:00
webserver.py no clue why this works 2018-11-18 22:33:58 +01:00

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 connection
  • discordbot.py: Discord music (and more) bot
  • errors.py: Exception classes for all modules
  • loldata.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 wizard
  • query_discord_music.py: Big SQL queries
  • redditbot.py: reddit bot for /r/RoyalGames
  • stagismo.py: Dictionary of words and memes beginning with S
  • statsupdate.py: Game data tracking (Dota, LoL...)
  • telegrambot.py: Telegram multipurpose bot
  • update.sh: Quick updater script
  • webserver.sh: Main webserver for Royalnet

Install

  1. Download python3.6+, sentry-cli and ffmpeg (or avconv).
  2. Clone the repository.
  3. Rename the template_config.ini to config.ini.
  4. Set the correct values in config.ini.
  5. Add SENTRY_AUTH_TOKEN= and SENTRY_ORG= to ~/.sentryclirc.
  6. Open a new screen and there run ./update.sh.
  7. Detatch the screen with Ctrl+A and Ctrl+D.