From 34f9d906775076aefe6ab347c871b5602be9c013 Mon Sep 17 00:00:00 2001 From: oddluck Date: Thu, 5 Dec 2019 09:50:22 +0000 Subject: [PATCH] Initial commit. --- LICENSE => NHLScores/LICENSE | 0 README.md => NHLScores/README.md | 0 __init__.py => NHLScores/__init__.py | 18 +++++++++++++----- config.py => NHLScores/config.py | 0 plugin.py => NHLScores/plugin.py | 0 NHLScores/requirements.txt | 3 +++ test.py => NHLScores/test.py | 0 7 files changed, 16 insertions(+), 5 deletions(-) rename LICENSE => NHLScores/LICENSE (100%) rename README.md => NHLScores/README.md (100%) rename __init__.py => NHLScores/__init__.py (76%) rename config.py => NHLScores/config.py (100%) rename plugin.py => NHLScores/plugin.py (100%) mode change 100755 => 100644 create mode 100644 NHLScores/requirements.txt rename test.py => NHLScores/test.py (100%) diff --git a/LICENSE b/NHLScores/LICENSE similarity index 100% rename from LICENSE rename to NHLScores/LICENSE diff --git a/README.md b/NHLScores/README.md similarity index 100% rename from README.md rename to NHLScores/README.md diff --git a/__init__.py b/NHLScores/__init__.py similarity index 76% rename from __init__.py rename to NHLScores/__init__.py index 41b1015..24a6260 100644 --- a/__init__.py +++ b/NHLScores/__init__.py @@ -29,7 +29,7 @@ ### """ -NBA: Get scores from NBA.com +NHLScores: Get NHL scores """ import supybot @@ -37,17 +37,25 @@ import supybot.world as world # Use this for the version of this plugin. You may wish to put a CVS keyword # in here if you're keeping the plugin in CVS or some similar system. -__version__ = "0.1" +__version__ = "" # XXX Replace this with an appropriate author or supybot.Author instance. -__author__ = supybot.authors.unknown +__author__ = supybot.Author('Santiago Gil', 'santigl', '') +__maintainer__ = getattr(supybot.authors, 'oddluck', + supybot.Author('oddluck', 'oddluck', 'oddluck@riseup.net')) # This is a dictionary mapping supybot.Author instances to lists of # contributions. -__contributors__ = {} +if not hasattr(supybot.authors, 'cottongin') or not hasattr(supybot.authors, 'santigl'): + supybot.authors.cottongin = supybot.Author('cottongin', 'cottongin', + 'cottongin@cottongin.club') + supybot.authors.santigl = supybot.Author('Santiago Gil', 'santigl', '') + +__contributors__ = {supybot.authors.santigl: ['original plugin base'], + supybot.authors.cottongin: ['code enhancement']} # This is a url where the most recent plugin package can be downloaded. -__url__ = 'https://github.com/santigl/limnoria-nba' +__url__ = 'https://github.com/oddluck/limnoria-plugins/' from . import config from . import plugin diff --git a/config.py b/NHLScores/config.py similarity index 100% rename from config.py rename to NHLScores/config.py diff --git a/plugin.py b/NHLScores/plugin.py old mode 100755 new mode 100644 similarity index 100% rename from plugin.py rename to NHLScores/plugin.py diff --git a/NHLScores/requirements.txt b/NHLScores/requirements.txt new file mode 100644 index 0000000..7f5d3a7 --- /dev/null +++ b/NHLScores/requirements.txt @@ -0,0 +1,3 @@ +pytz +pendulum +requests \ No newline at end of file diff --git a/test.py b/NHLScores/test.py similarity index 100% rename from test.py rename to NHLScores/test.py