Skip to content

Add telegram mod#101

Open
BafS wants to merge 1 commit intojrabbit:masterfrom
BafS:master
Open

Add telegram mod#101
BafS wants to merge 1 commit intojrabbit:masterfrom
BafS:master

Conversation

@BafS
Copy link
Copy Markdown

@BafS BafS commented Oct 13, 2019

Add telegram mod (#91)

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.



@cli_base.command()
@click.option("--conf-file", default="telegram.toml")
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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