|
@ -7,7 +7,7 @@ import random |
|
|
from telegram import ParseMode |
|
|
from telegram import ParseMode |
|
|
from telegram.ext import Updater, CommandHandler |
|
|
from telegram.ext import Updater, CommandHandler |
|
|
|
|
|
|
|
|
from coding_love import send_coding_love_gif |
|
|
|
|
|
|
|
|
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 |
|
|
from schneiderbot_twitter import toggle_pepito_for_group, check_pepito_and_post_auto, check_pepito_and_post_manually |
|
|
from schneiderbot_twitter import toggle_pepito_for_group, check_pepito_and_post_auto, check_pepito_and_post_manually |
|
|
from db import Db |
|
|
from db import Db |
|
@ -65,6 +65,7 @@ def help(bot, update): |
|
|
|
|
|
|
|
|
*Other fun stuff*: |
|
|
*Other fun stuff*: |
|
|
/codinglove - random gif from the coding love (https://thecodinglove.com) |
|
|
/codinglove - random gif from the coding love (https://thecodinglove.com) |
|
|
|
|
|
/wikihow - random wikihow article (https://http://de.wikihow.com) |
|
|
/shrug - prints shrug |
|
|
/shrug - prints shrug |
|
|
/kill - kills you |
|
|
/kill - kills you |
|
|
/revive - revives you |
|
|
/revive - revives you |
|
@ -199,6 +200,8 @@ def init_commands(dp): |
|
|
dp.add_handler(CommandHandler("simon", simon, pass_args=True)) |
|
|
dp.add_handler(CommandHandler("simon", simon, pass_args=True)) |
|
|
dp.add_handler(CommandHandler("graveyard", graveyard)) |
|
|
dp.add_handler(CommandHandler("graveyard", graveyard)) |
|
|
dp.add_handler(CommandHandler("codinglove", send_coding_love_gif)) |
|
|
dp.add_handler(CommandHandler("codinglove", send_coding_love_gif)) |
|
|
|
|
|
dp.add_handler(CommandHandler("wiegeht", send_wiki_how_article)) |
|
|
|
|
|
dp.add_handler(CommandHandler("wikihow", send_wiki_how_article)) |
|
|
dp.add_handler(CommandHandler("wrongdog", wrong_dog)) |
|
|
dp.add_handler(CommandHandler("wrongdog", wrong_dog)) |
|
|
dp.add_handler(CommandHandler("hamster", hamster)) |
|
|
dp.add_handler(CommandHandler("hamster", hamster)) |
|
|
dp.add_handler(CommandHandler("reddit", reddit, pass_args=True)) |
|
|
dp.add_handler(CommandHandler("reddit", reddit, pass_args=True)) |
|
|