aboutsummaryrefslogtreecommitdiffstats
path: root/__init__.py
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2014-04-25 12:57:02 +0300
committerkongr45gpen <electrovesta@gmail.com>2014-04-25 12:57:02 +0300
commit02409d18d3604a87b53b70181246b6b92b27b4c2 (patch)
treedae0077e6a0095fe168501d49e07a6f12287aa5a /__init__.py
parentd3c6bc9f317b284b010d9be50d1d82849f598917 (diff)
downloadsupybot_github-02409d18d3604a87b53b70181246b6b92b27b4c2.tar.gz
supybot_github-02409d18d3604a87b53b70181246b6b92b27b4c2.tar.bz2
supybot_github-02409d18d3604a87b53b70181246b6b92b27b4c2.zip
Separate the bot's logic into different files
Diffstat (limited to '__init__.py')
-rw-r--r--__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/__init__.py b/__init__.py
index 0f7df37..435c2af 100644
--- a/__init__.py
+++ b/__init__.py
@@ -27,6 +27,15 @@ import plugin
reload(plugin) # In case we're being reloaded.
# Add more reloads here if you add third-party modules and want them to be
# reloaded when this plugin is reloaded. Don't forget to import them as well!
+import local.handler.GithubHandler as RequestHandler
+import local.handler.PushHandler
+import local.utility
+reload(RequestHandler)
+reload(local.handler.PushHandler)
+reload(local.utility)
+
+print "PushHandler reloaded"
+
if world.testing:
import test

© 2014-2024 Faster IT GmbH | imprint | privacy policy