Browse Source

fixed cat and dog (changed subreddits)

master
Angerstoner 6 years ago
parent
commit
651fec3459
  1. 4
      misc/commandlist
  2. 4
      reddit.py
  3. 4
      schneiderbot.py

4
misc/commandlist

@ -1,6 +1,6 @@
mensa - [TAG/full/veggy/fleisch/fisch] essen in der mensa, filter möglich mensa - [TAG/full/veggy/fleisch/fisch] essen in der mensa, filter möglich
cat - random cat image (using reddit.com/r/cats)
dog - random dog image (using reddit.com/r/dogs)
cat - random cat image (using reddit.com/r/catpictures)
dog - random dog image (using reddit.com/r/dogpictures)
hamster - random dog image (using reddit.com/r/hamsters) hamster - random dog image (using reddit.com/r/hamsters)
wrongdog - random wrongdog image (using reddit.com/r/whatswrongwithyourdog) wrongdog - random wrongdog image (using reddit.com/r/whatswrongwithyourdog)
catdog - catdog pic catdog - catdog pic

4
reddit.py

@ -81,11 +81,11 @@ def hamster(bot, update):
def cat(bot, update): def cat(bot, update):
reddit_img(bot, update, ['cats'])
reddit_img(bot, update, ['catpictures'])
def dog(bot, update): def dog(bot, update):
reddit_img(bot, update, ['dogs'])
reddit_img(bot, update, ['dogpictures'])
def reddit(bot, update, args): def reddit(bot, update, args):

4
schneiderbot.py

@ -51,8 +51,8 @@ def help(bot, update):
/mensa _mensa_ full - prints full list of meals for _mensa_ (if no _mensa_ given, zentralmensa is used) /mensa _mensa_ full - prints full list of meals for _mensa_ (if no _mensa_ given, zentralmensa is used)
*Reddit*: *Reddit*:
/cat - random cat image (using reddit.com/r/cats)
/dog - random dog image (using reddit.com/r/dogs)
/cat - random cat image (using reddit.com/r/catpictures)
/dog - random dog image (using reddit.com/r/dogpictures)
/hamster - random dog image (using reddit.com/r/hamsters) /hamster - random dog image (using reddit.com/r/hamsters)
/wrongdog - random wrongdog image (using reddit.com/r/whatswrongwithyourdog) /wrongdog - random wrongdog image (using reddit.com/r/whatswrongwithyourdog)
/reddit subreddit - random submission from reddit.com/r/subreddit /reddit subreddit - random submission from reddit.com/r/subreddit

Loading…
Cancel
Save