|
|
@ -8,7 +8,7 @@ from telegram import ParseMode |
|
|
|
from telegram.ext import Updater, CommandHandler |
|
|
|
|
|
|
|
from web_requests import send_coding_love_gif, send_wiki_how_article |
|
|
|
from reddit import wrong_dog, hamster, reddit, reddit_img, toggle_four_twenty, four_twenty, cat, dog |
|
|
|
from reddit import wrong_dog, hamster, reddit, reddit_img, toggle_four_twenty, four_twenty, cat, dog, drillcat |
|
|
|
from schneiderbot_twitter import toggle_pepito_for_group, check_pepito_and_post_auto, check_pepito_and_post_manually |
|
|
|
from db import Db |
|
|
|
from mensa import mensa, linux_mensa |
|
|
@ -54,6 +54,7 @@ def help(bot, update): |
|
|
|
/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) |
|
|
|
/drillcat - random drillcat image (using reddit.com/r/drillcats) |
|
|
|
/wrongdog - random wrongdog image (using reddit.com/r/whatswrongwithyourdog) |
|
|
|
/reddit subreddit - random submission from reddit.com/r/subreddit |
|
|
|
/reddit\_img subreddit - random image submission from reddit.com/r/subreddit |
|
|
@ -205,6 +206,7 @@ def init_commands(dp): |
|
|
|
dp.add_handler(CommandHandler("wikihow", send_wiki_how_article)) |
|
|
|
dp.add_handler(CommandHandler("wrongdog", wrong_dog)) |
|
|
|
dp.add_handler(CommandHandler("hamster", hamster)) |
|
|
|
dp.add_handler(CommandHandler("drillcat", drillcat)) |
|
|
|
dp.add_handler(CommandHandler("reddit", reddit, pass_args=True)) |
|
|
|
dp.add_handler(CommandHandler("reddit_img", reddit_img, pass_args=True)) |
|
|
|
dp.add_handler(CommandHandler("pepito", check_pepito_and_post_manually)) |
|
|
|