Lars Kellogg-Stedman
935bc56bb0
correct UnboundLocalError in read_conf
...
When encountering an error, read_conf uses click.echo(...) to emit an
error message but then continue execution, causing the read_conf
method to throw an error of the form:
UnboundLocalError: local variable 'output' referenced before assignment
By raising click.ClickException instead of calling click.echo, we
ensure that pinhook exits with an error message (and no traceback).
2020-11-12 09:50:50 -05:00
mallory
7c62e59c3a
fix issue with reloading plugins in some contexts
2020-09-23 11:25:15 -07:00
mallory
b995b866ec
do not duplicate output function
2020-09-23 11:17:59 -07:00
Mal Hancock
9f62c6c67e
use built-in setup.py upload
2020-05-29 09:50:04 -07:00
Mal Hancock
855413a093
Create python-publish.yml
2020-05-29 09:25:06 -07:00
Mal Hancock
cea5e6f855
Update FUNDING.yml
2020-05-29 09:19:04 -07:00
Mal Hancock
e7b7a5b832
Update FUNDING.yml
2020-05-29 09:16:44 -07:00
Mal Hancock
0417dddf2f
Create FUNDING.yml
2020-05-29 08:37:20 -07:00
Mal Hancock
a0378e09c9
version 1.9.3 ( #74 )
...
* bring TwitchBot up to date
* prevent responses from bot nick
2020-05-28 14:51:56 -07:00
Mal Hancock
5b241eee13
change example plugins to match current standards
2020-04-28 13:10:43 -07:00
Mal Hancock
0e510cc8b6
change example plugins to match current standards
2020-04-28 13:10:17 -07:00
Mallory Hancock
1c4fdb8d9e
update readme to use updated decorators
2020-01-31 12:03:46 -08:00
Mallory Hancock
8c71f7bae0
fix for internal commands
2019-10-14 12:57:38 -07:00
Mallory Hancock
9faa59a41d
iterate version
2019-10-04 10:58:58 -07:00
Mallory Hancock
787a69757f
add ops option to command decorator ( closes #72 )
2019-10-02 09:56:56 -07:00
Mallory Hancock
23355bb699
clean if statements, ban users, closes #51
2019-10-02 09:25:38 -07:00
Mallory Hancock
9af3abd4a5
add and remove ops in command, closes #66
2019-10-02 09:04:50 -07:00
Mallory Hancock
4da89fa815
disable help using argument, closes #47
2019-09-30 11:47:55 -07:00
Mallory Hancock
ff3520f8fd
fix join command issue #41
2019-09-30 11:35:35 -07:00
Mallory Hancock
a98c82b332
adds msg_type, closes #54
2019-09-30 11:23:19 -07:00
Mallory Hancock
8d01f70a5c
move loading to plugin, issue w/ disabled plugins
2019-09-27 18:18:19 -07:00
Mallory Hancock
80dcc75a58
Merge branch 'master' of github.com:archangelic/pinhook
2019-09-23 12:26:17 -07:00
Mallory Hancock
0bb6eb6b6a
add logging, @register future deprecation warning
2019-09-23 12:25:08 -07:00
Mallory Hancock
5b6ec72d0b
break out logging into separate module
2019-09-23 12:23:41 -07:00
Mal Hancock
0b8bbb4213
add new live bot!
2019-09-19 10:01:37 -07:00
Mallory Hancock
9960209c47
iterate version
2019-09-18 10:10:23 -07:00
Mallory Hancock
74a028dfca
remove rst
2019-09-18 09:44:23 -07:00
Mallory Hancock
cbc9550f97
slow down help output
2019-09-18 09:42:45 -07:00
Mallory Hancock
9797f731a7
add full support for command-based plugins ( #27 )
2019-09-18 09:28:22 -07:00
Mallory Hancock
1aa17eebfb
add enable/disable ( #12 ) and enhanced help output
2019-09-18 09:27:41 -07:00
Mallory Hancock
0da04acc4e
make commands entirely class-based, enhance help
2019-09-16 12:27:43 -07:00
Mallory Hancock
4ae8753095
preliminary work for class based plugins #27
2019-09-12 10:14:56 -07:00
Mallory Hancock
fdb16287ce
remove unused variable
2019-09-12 10:13:57 -07:00
Mallory Hancock
bb7ff3fdea
fix setup for markdown
2019-08-30 13:39:46 -07:00
Mallory Hancock
ff8a825846
update readme
2019-08-30 13:29:05 -07:00
Mallory Hancock
9e68e8e8a2
fix yaml warning
2019-08-29 10:43:24 -07:00
Mallory Hancock
29d34320f1
iterate version
2019-08-29 10:43:09 -07:00
Mallory Hancock
05c83a50ec
fix issues with toml loading
2019-08-29 10:13:59 -07:00
Mallory Hancock
6eb4325f3f
fix more typos
2019-08-29 09:57:57 -07:00
Mallory Hancock
3a93b9e639
fix comparison typo
2019-08-29 09:55:46 -07:00
Mallory Hancock
93cb2784ee
add arguments
2019-08-28 12:22:56 -07:00
Mallory Hancock
abfc6189d3
add preliminary support for yaml and toml configs
2019-08-28 12:20:43 -07:00
Mallory Hancock
2063072cbb
add new requirements
2019-08-27 12:15:48 -07:00
Mallory Hancock
eee71ad774
basic json config-only command
2019-08-27 12:12:26 -07:00
Mallory Hancock
fcd456ea52
add .vscode
2019-06-20 18:01:09 -07:00
Mallory Hancock
da0dc3576e
remove or
2019-04-01 07:15:02 -07:00
Mallory Hancock
6449f17864
reverting back to 2 readmes
2019-03-02 12:26:36 -08:00
Mallory Hancock
abc0dc8c70
reverting back to 2 readmes
2019-03-02 12:26:21 -08:00
Mallory Hancock
dd8f02618b
iterate version
2019-03-02 12:00:41 -08:00
Mal Hancock
3b07ed99b2
Hotfix/too big error ( #63 )
...
* hotfix for message too long
* fix spacing error
* fix error name
* add breaks
2019-03-02 11:02:14 -08:00