Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add telegram mod #101

wants to merge 1 commit into from

Conversation

BafS
Copy link

@BafS BafS commented Oct 13, 2019

Add telegram mod (#91)

Copy link
Owner

@jrabbit jrabbit left a 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):
Copy link
Owner

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
Copy link
Owner

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")
Copy link
Owner

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.

Copy link
Owner

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")?

@jrabbit jrabbit added this to the 2.0 milestone Oct 14, 2019
@jrabbit
Copy link
Owner

jrabbit commented Oct 14, 2019

oh a changelog line docs/changes.rst and contributor line preference for the docstring would be cool too!

@jrabbit jrabbit modified the milestones: 2.0, 2.1 Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants