diff --git a/sopel_modules/github/github.py b/sopel_modules/github/github.py index 9c101bc..3438396 100644 --- a/sopel_modules/github/github.py +++ b/sopel_modules/github/github.py @@ -70,7 +70,6 @@ class GitHubSection(StaticSection): client_id = ValidatedAttribute('client_id', default=None) client_secret = ValidatedAttribute('client_secret', default=None) - secret = ValidatedAttribute('secret', default=None) # TODO remove in 0.3.0 or thereabouts webhook = ValidatedAttribute('webhook', bool, default=False) webhook_host = ValidatedAttribute('webhook_host', default='0.0.0.0') webhook_port = ValidatedAttribute('webhook_port', default='3333') @@ -94,13 +93,6 @@ def setup(sopel): if sopel.config.github.webhook: setup_webhook(sopel) - if not sopel.config.github.client_secret: - if sopel.config.github.secret: - sopel.config.github.client_secret = sopel.config.github.secret - del sopel.config.github.secret - sopel.config.save() - tools.stderr("[GitHub] Migrated `secret` to `client_secret` in config.") - def shutdown(sopel): shutdown_webhook(sopel)