teletenor is an inline bot for Telegram that provides inline gif suggestions retrieved from Tenor.
You can use the bot by mentioning @ttenor_bot
in Telegram.
teletenor is still currently in alpha status.
teletenor-contralto is teletenor's project for deployment onto AWS Cloud using AWS SAM (Serverless Application Model).
- Node 12.x.x LTS Earlier Node versions may work, but not tested
- A Telegram bot authorization token
- A Tenor API Key
git clone https://github.com/tabby-jun/teletenor.git
cd teletenor
TELEGRAM_BOT_TOKEN="bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11" # You need to get this from Telegram's BotFather, under Prerequisites
TELEGRAM_INLINE_RESPONSE_CACHE_TIME=300
TENOR_DEVELOPER_KEY="LIVDSRZULELA" # You need to get this from Tenor's API Portal, under Prerequisites
TENOR_SEARCH_RESULT_LIMIT=12
TENOR_CONTENT_FILTER="low"
TENOR_MEDIA_FILTER="minimal"
MP4_MEDIA_FORMAT="mp4"
GIF_MEDIA_FORMAT="tinygif"
LOGGING_ENABLED=false
LOG_LEVEL=error
DISABLE_LAUNCH=false # true when using AWS Lambda
npm install
# Or if you are using yarn
yarn install
npm start
# or
yarn start
-
Locale-related Tenor searchesdone -
Register shares with Tenordone -
Automated Tests
!important
-
Print information during bot operation
-
Logging and performance metrics
- (
@teletenor_bot
) bot has been disabled in favor of a shorter username handle (@ttenor_bot
)