triggerbot for telegram(https://t.me/justtriggerthatbot)
add your bot or https://t.me/justtriggerthatbot to the chat
add trigger: /add_trigger
del: /del_trigger
list: /list_of triggers
- save token for bot
find in telegram @BotFather
send /newbot
than send name for bot and username (username should ends with 'bot')
botFather will send u API token:
Use this token to access the HTTP API:
648182951:AAFEHR2Gt6XSQwdU64yOURMVlx2r1nY6Poc
(token is disabled:D)
this token we save
-
install telebot:
pip3 install pyTelegramBotAPI
-
install sqlite3:
pip3 install sqlite3
-
install this bot:
git clone https://github.com/godemodegame/triggerBot.git
-
open config.py and write there token from BotFather and path to triggerBot
-
start bot:
python3 triggerBot.py