# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
-# simple module example
+# Channel list management (add, remove channels)
# This file is released into the public domain; see http://unlicense.org/
# module info
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
-# simple module example
+# Commands to change config file settings
# This file is released into the public domain; see http://unlicense.org/
# module info
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
-# simple module example
+# Global-user management (glevel)
# This file is released into the public domain; see http://unlicense.org/
# module info
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
-# simple module example
+# Channel-access management
# This file is released into the public domain; see http://unlicense.org/
# module info
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
-# !EVAL and !EXEC commands
+# !EVAL and !EXEC commands, dangerous! DO NOT USE without understanding the risks!
# This file is released into the public domain; see http://unlicense.org/
# module info
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
-# Various highly recommended "control" commands.
+# An example of the "flags" capability
# This file is released into the public domain; see http://unlicense.org/
# module info
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
+# A basic exception hook. Sends exceptions to `[exception_hook] destination` in the config.
# This file is released into the public domain; see http://unlicense.org/
# module info
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
+# ListenBrainz now-playing
# module info
modinfo = {
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
-# simple module example
+# assorted simple functions
# This file is released into the public domain; see http://unlicense.org/
# module info
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
+# Commands to message various destinations
# This file is released into the public domain; see http://unlicense.org/
# module info
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
-# module for 's/regex/replacement/' style correction
-# warning: arbitrary regex's are generally capable of various DoS attacks on CPU/memory usage. use with caution.
-# see for usage examples: https://github.com/zonidjan/erebus/commit/d7e9802778477f1faa26a03078cb1b3c018a5e5c
+# nitterize twitter links
# This file is released into the public domain; see http://unlicense.org/
# module info
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
-# resource-usage module
+# resource-usage reporting module
# This file is released into the public domain; see http://unlicense.org/
# module info
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
+# Utility commands to show info like uptime and current server
# This file is released into the public domain; see http://unlicense.org/
import time
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
+# Configurable sockets module. DO NOT USE without understanding the risks
# This file is released into the public domain; see http://unlicense.org/
# Note: this module doesn't do any kind of authentication, so anyone who can connect to the bound port can spam you.
+"""
+To use - add in bot.config something like:
+
+[sockets]
+127.0.0.1:1337 = #example
+
+The left side is the address to listen on and the right side is the channel to send to.
+The exmaple will send incoming lines/packets on localhost, port 1337 to channel #example
+
+The full syntax for the address is:
+[unix:]</path/to/socket>
+[udp|tcp:][<ip>:]<port>
+
+
+Address examples:
+
+Unix domain socket: /path
+Unix domain socket: unix:/path
+TCP socket (all interfaces): 1337
+TCP socket (one interface): 127.0.0.1:1337
+UDP socket (all interfaces): udp:1337
+UDP socket (one interface): udp:127.0.0.1:1337
+"""
+
# module info
modinfo = {
'author': 'Erebus Team',
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
+# Steam API commands (!steamnp)
# module info
modinfo = {
# vim: fileencoding=utf-8
# module for 's/regex/replacement/' style correction
# warning: arbitrary regex's are generally capable of various DoS attacks on CPU/memory usage. use with caution.
-# see for usage examples: https://github.com/zonidjan/erebus/commit/d7e9802778477f1faa26a03078cb1b3c018a5e5c
# This file is released into the public domain; see http://unlicense.org/
# module info
# Erebus IRC bot - Author: Erebus Team
# vim: fileencoding=utf-8
-# weather module
+# weather module (from WeatherStack, boo)
# This file is released into the public domain; see http://unlicense.org/
# module info