-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add telegram mod #101
base: master
Are you sure you want to change the base?
Add telegram mod #101
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
had some first pass ideas. You should consider rebasing on three_only
|
||
logger = logging.getLogger(__name__) | ||
|
||
class Registry(object): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm actively dropping python 2 support so this can be the py3 native declaration.
|
||
def __init__(self, mod_irc): | ||
self.registered = {} | ||
self.mod_irc = mod_irc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be generic pending #93 or mod specific to avoid confusion in traceback/debugging.
@@ -456,6 +457,21 @@ def reddit(conf_file): | |||
raise | |||
|
|||
|
|||
@cli_base.command() | |||
@click.option("--conf-file", default="telegram.toml") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs to be resolved from the folder
global.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so like Path(folder, "conf", "telegram.toml")
?
oh a changelog line |
Add telegram mod (#91)