An IRC bot in Python.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Josh K 1e18a18a3c Fixed parsing messages from users with ipv6 hosts. Bot disconnects from server on ERROR messages. 4 years ago
modules A bot's say_to message gets passed to message callbacks (and subsequently parsers) now by default and can be disabled by specifying callback=False in the say_to call. Added links module, for relaying channels of the same specified link name. Relays own messages as well as across networks. 5 years ago
LICENSE.txt Initial commit. 5 years ago
README.md Initial commit. 5 years ago
bot.py Fixed parsing messages from users with ipv6 hosts. Bot disconnects from server on ERROR messages. 4 years ago
cfg.toml A bot's say_to message gets passed to message callbacks (and subsequently parsers) now by default and can be disabled by specifying callback=False in the say_to call. Added links module, for relaying channels of the same specified link name. Relays own messages as well as across networks. 5 years ago
main.py Removed Bot class in favor of a single instance Bot 'module'. Bot imports modules specified in config file. Fixed NICK change parsing. Protocol supports connect and disconnect callbacks. 5 years ago
protocol.py Fixed parsing messages from users with ipv6 hosts. Bot disconnects from server on ERROR messages. 4 years ago

README.md

Dustbot


A Python IRC bot

Usage:

Edit cfg.toml with desired settings. Execute main.py, specifying a path to a .toml config file if not using default './cfg.toml'.

Configuration Settings:

TODO

Requirements:

Requires Python 3 along with the following libraries:

  • requests
  • toml
  • BeautifulSoup4
  • uvloop (Only if not using PyPy)