Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

h42i/hasibot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hasibot

A fairly simple bot that relays messages from HaSi's IRC channel (mapped to a special MUC on the XMPP server) to the HaSi MUC and Telegram group and vice versa.

Installation

The script requires three libraries:

  • sleekxmpp (for XMPP stuff, obviously)
  • python-telegram-bot (guess what this does)
  • pyyaml (for parsing the config file)

Please note that you might want to disable the telegram bots 'privacy mode'! Otherwise it only sees direct replys in telegram groups!

Configuration

The Bot relies on a straight-forward YAML configuration file:

jid:      the bot's JID on the server
pw:       the bot's password
irc:      the JID of the MUC that maps to the IRC channel
xmpp:     the JID of the "native" XMPP MUC
tg_chat:  the Telegram group chat's ID
tg_token: the Telegram API token
ignore:   a list of IRC nicks to ignore (useful for bots etc.)

You can find an example configuration in the repository.

About

HaSi XMPP-to-IRC bridge bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages