Skip to content
Snippets Groups Projects
Select Git revision
  • 125c81cb78217724f6c60ada81573bc6319ddb9f
  • master default protected
  • renovate/configure
3 results

programm-info-bot

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • Forked from Uni-Film-Club / Programm-Info-Bot
    15 commits behind the upstream repository.
    Tilman Vatteroth's avatar
    Tilman Vatteroth authored
    125c81cb
    History

    Install

    To install all requirements simply type pip install -r requirements.txt. It is recommended to use a virtualenv

    Usage

    check output

    usage: program_info.py [-h] [--preview]
    
    UFC Programminfo Bot
    
    optional arguments:
      -h, --help  show this help message and exit
      --preview   Überprüfe die nächsten 7 Tage statt nur den nächsten Tag.

    twitter

    usage: twitter_bot.py [-h] [--doit] [--nofailmessage] [--dest DEST]
                          [--daydiff DAY_DIFF]
    
    UFC Twitter Bot
    
    optional arguments:
      -h, --help          show this help message and exit
      --doit              Sendet die Nachricht über den UFC Twitter Account,
                          anstatt sie nur auszugeben
      --nofailmessage     Unterdrückt die Nachricht, dass kein Event gefunden
                          wurde
      --dest DEST         Schreibe DEST per mention an
      --daydiff DAY_DIFF  Prüfe ob in DAY_DIFF Tagen ein Event stattfindet anstatt
                          morgen.

    telegram

    usage: telegram_bot.py [-h] [--doit] [--nofailmessage] [--dest DEST]
                           [--daydiff DAY_DIFF]
    
    UFC Telegram Bot
    
    optional arguments:
      -h, --help          show this help message and exit
      --doit              Sendet die Nachricht an den UFC Channel, anstatt nur
                          eine Ausgabe zu machen
      --nofailmessage     Unterdrückt die Nachricht, dass kein Event gefunden
                          wurde
      --dest DEST         Alternativer Telegramchat
      --daydiff DAY_DIFF  Prüfe ob in DAY_DIFF Tagen ein Event stattfindet anstatt
                          morgen.