Commit Graph

23 Commits (95513d21a1e95bdd3a461447d34ae98d6b21614a)

Author SHA1 Message Date
M. Hancock f6c4078d09
add class to connect to twitch.tv (#23)
* make Message object part of Bot

* add TwitchBot class

* fix issue with logging not starting

* change server name

* no loading plugins until functionality works

* allow full functionality

* add ops

* my sanity is wearing thin

* finalize TwitchBot

* fix formatting
2018-02-05 15:56:38 -08:00
Mallory Hancock 3cf1c6d02a implement server password 2018-02-05 12:33:44 -08:00
M. Hancock 311457148e
catch actions and don't send output to cmds during action (#20)
closes issue #18
2018-01-12 11:17:12 -08:00
Mallory Hancock 0031146f98 fix typo 2018-01-11 10:32:14 -08:00
Mallory Hancock f0e987ef55 fix issue where empty argument was not passed to plugin 2018-01-10 15:25:20 -08:00
Mallory Hancock 8036610663 fix bug in listener load logging 2018-01-10 14:56:46 -08:00
M. Hancock e0d3b1b2f5
Add logging (#17)
* add console and file logging

* fix issues with starting logging, and now sends to plugins

* add option to turn off logging

* add more logging messages

* add various logging messages

* add logging messages lost in merge
2018-01-10 14:35:27 -08:00
Mallory Hancock 49feb66d8d simplify plugin loading 2018-01-08 12:51:38 -08:00
Mallory Hancock 3f84381b41 clear listeners when reloading plugins 2017-12-06 11:05:57 -08:00
Sina Mashek 5b10d64eb8 Add listener plugin support (#11)
* Adding listener plugin support

* Exposing number of nicks in channel to listeners

* Expanded number of nicks to be nick list for all plugins

* Change to check plugin command list

* resolving conflict

* Commands and listeners work properly.
2017-12-06 10:45:34 -08:00
importantchoice a7a2cf383d Fix issue #14 - remove plugins on reload
This fix for load_plugins will clear the plugin.cmds list to ensure that
removed plugins don't remain in its cmds list.
2017-11-30 12:18:20 +01:00
Sina Mashek cf91e90451 Split plugin outout on newlines and ensure plugins folder exists 2017-11-27 07:10:40 +02:00
Mallory Hancock 1be0f47983 add reload command to detect plugin changes 2017-10-16 10:34:35 -07:00
Mallory Hancock 3a148ae34f add error exceptions for calling commands and for loading plugins 2017-10-13 15:22:47 -07:00
Mallory Hancock 285e580643 expand kwargs for initializing bot. add ssl and nickserv identify support 2017-10-10 11:56:10 -07:00
Mallory Hancock 70b416b5ae create Message object to send to plugins 2017-10-10 08:55:47 -07:00
Mallory Hancock 689d35aec9 add help command 2017-10-09 13:45:32 -07:00
Mallory Hancock 1042ed6080 add cmd to kwargs given to plugins 2017-09-28 09:35:46 -07:00
Mallory Hancock 87332c1ac4 create decorator for plugin creation (thanks @datagrok) 2017-09-27 16:54:08 -07:00
Mallory Hancock 604b2f878a add plugin capability 2017-09-27 14:55:00 -07:00
Mallory Hancock a55e1ac495 remove unnecessary shebang 2017-09-27 12:31:12 -07:00
Mallory Hancock 586d72e865 remove unnecessary imports 2017-09-27 12:30:12 -07:00
Mallory Hancock 10115d9841 add basic bot framework 2017-09-27 12:27:24 -07:00