From d6595db43d81eae3ac4a5fe0192fa5abe1445fe6 Mon Sep 17 00:00:00 2001 From: Adam Piontek Date: Sun, 26 Aug 2018 11:40:29 -0400 Subject: [PATCH] cleaned out some disused, commented code --- catto.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/catto.py b/catto.py index 2bb3e78..9d5a105 100644 --- a/catto.py +++ b/catto.py @@ -22,15 +22,6 @@ class Catto(BotPlugin): config = CONFIG_TEMPLATE super(Catto, self).configure(config) - # def activate(self): - # """Activates plugin, loading default configuration""" - # super(Catto, self).activate() - # if self.config - # self.configure(CONFIG_TEMPLATE) - # super().activate() - # super(Catto, self).activate() - # self.configure(CONFIG_TEMPLATE) - def get_catapi_pic(self, type): api_url = 'https://api.thecatapi.com/v1/images/search' querystring = {"size":"full","mime_types":type,"format":"json","order":"RANDOM","limit":"1"}