1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-12-03 16:24:20 +00:00
Services network for the RYG community
Find a file
2019-01-16 12:54:41 +01:00
static Add basic gravatar support 2019-01-08 21:03:18 +01:00
templates Github ha dei cookie session? Wtf? 2019-01-09 19:55:27 +01:00
.gitattributes Migrate binary files to git lfs 2019-01-06 19:57:24 +01:00
.gitignore holy cow it works 2019-01-09 16:04:57 +01:00
bots.py weeeeeee 2018-12-18 19:34:34 +01:00
cast.py Remove empty lines 2019-01-02 21:54:04 +01:00
db.py Revert and fix 686e9975bc 2019-01-15 00:23:32 +01:00
dirty.py Updated bot 2018-12-18 17:34:34 +01:00
discordbot.py Allow different command prefixes to be sent 2019-01-05 00:54:41 +01:00
errors.py holy cow it works 2019-01-09 16:04:57 +01:00
LICENSE.txt Create LICENSE.txt 2018-11-21 13:34:40 +00:00
loldata.py Add osu icons 2019-01-02 18:32:09 +01:00
newuser.py Updated bot 2018-12-18 17:34:34 +01:00
query_discord_music.py Fix/ignore more minor pycharm warnings 2019-01-02 21:10:54 +01:00
README.md Update config and readme 2018-12-10 15:43:46 +00:00
redditbot.py Fix/ignore more minor pycharm warnings 2019-01-02 21:10:54 +01:00
requirements.txt Add basic gravatar support 2019-01-08 21:03:18 +01:00
stagismo.py New words per /smecds 2019-01-04 13:19:23 +01:00
statsupdate.py Fix/ignore more minor pycharm warnings 2019-01-02 21:10:54 +01:00
telegrambot.py Fix missing import 2019-01-03 18:13:26 +01:00
template_config.ini Update template_config 2019-01-06 19:54:49 +01:00
update.sh Download images when autoupdating 2019-01-06 21:05:54 +01:00
webserver.py The plot thickens even more 2019-01-16 12:54:41 +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.