From 02409d18d3604a87b53b70181246b6b92b27b4c2 Mon Sep 17 00:00:00 2001 From: kongr45gpen Date: Fri, 25 Apr 2014 12:57:02 +0300 Subject: Separate the bot's logic into different files --- __init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '__init__.py') 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 -- cgit v1.2.3