Commit Graph

12 Commits

Author SHA1 Message Date
Josh K 1e18a18a3c Fixed parsing messages from users with ipv6 hosts. Bot disconnects from server on ERROR messages. 2019-05-17 19:13:06 -04:00
Josh K adcb11debf 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. 2018-12-04 08:25:11 -05:00
Josh K cceb2515eb 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. 2018-11-18 09:01:50 -05:00
Josh K 508dc04eac Some minor 'eval' command changes in misc. 2018-09-25 13:34:47 -04:00
Josh K 8ae7a6970c Added a parser function decorator which allows module functions to be registered as a PRIVMSG callback. Added !botlist and !rollcall for tildeverse's RFC on standardized bot behavior. 2018-09-12 22:16:03 -04:00
Josh K 84f11b9ddf Message callbacks from protocol are now only on PRIVMSG. Callbacks receive the connection, message destination, nick, and message. Modified bot class's callback appropriately. 2018-09-05 07:27:44 -04:00
Josh K 7744e6c267 Added 'admin' attribute for command decorators to specify an admin-only command. Module commands are assigned in a separate dict within the global module map. 2018-09-05 04:49:55 -04:00
Josh K e1fbf0e6ef Connection instances now track names and which channels they can be seen in. Added modules command to list loaded modules. List command can filter by module. Added admin-only connections command to list current server connections. 2018-09-02 19:24:37 -04:00
Josh K 78487edd56 Fixed module reload command. 2018-08-26 01:02:49 -04:00
Josh K 39295f3818 Added 'rfk' command (robot finds kitten) to misc. Added 'eval' command to misc (evaluates python code. uses appspot api url request used by sopel). 2018-08-22 14:50:02 -04:00
Josh K e8b41a3b2f Now able to respond to commands sent in PM. Minor qdb command fix. Added a misc module. 2018-08-20 07:52:43 -04:00
Josh K 646ebb0004 Initial commit. 2018-08-19 05:08:58 -04:00