cleaned out some disused, commented code
This commit is contained in:
parent
f1db4cb4c3
commit
d6595db43d
1 changed files with 0 additions and 9 deletions
9
catto.py
9
catto.py
|
@ -22,15 +22,6 @@ class Catto(BotPlugin):
|
||||||
config = CONFIG_TEMPLATE
|
config = CONFIG_TEMPLATE
|
||||||
super(Catto, self).configure(config)
|
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):
|
def get_catapi_pic(self, type):
|
||||||
api_url = 'https://api.thecatapi.com/v1/images/search'
|
api_url = 'https://api.thecatapi.com/v1/images/search'
|
||||||
querystring = {"size":"full","mime_types":type,"format":"json","order":"RANDOM","limit":"1"}
|
querystring = {"size":"full","mime_types":type,"format":"json","order":"RANDOM","limit":"1"}
|
||||||
|
|
Loading…
Reference in a new issue