moc-telegram

command module
v0.0.0-...-14673b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2019 License: MIT Imports: 3 Imported by: 0

README

MOC to Telegram

Sends MOC Messages to Telegram Users. All messages to be sent are queued. Thus, the telegram Ratelimit is not violated.

Configuration

API_ENDPOINT=http://moc
TELEGRAM_TOKEN=

TEXT_SUBSCRIBE=Abonnieren
TEXT_UNSUBSCRIBE=Deabonnieren
TEXT_HELLO=Willkommen
TEXT_SUBSCRIBED=Abonniert!
TEXT_UNSUBSCRIBED=Deabonniert!

Usage

moc-telegram

Docker Compose

version: '3'
services:
  moc:
    image: ctfl/moc
    env_file:
      - .env
    ports:
      - 80:80
  moc-telegram:
    image: ctfl/moc-telegram
    volumes:
      - ./data:/data
    env_file:
      - .env

Persistence

Location for subscribers /data

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL