JBot
Telegram Bot that does everything
Install / Use
/learn @urban48/JBotREADME
JBot
Telegram Bot that does everything!
It's a plug-in powered bot, each plug-in give him a new ability.
current abilities
flow - Set the flow (MOD, future plans, etc..)
jokes - tell jokes when asked.
urbandictionary - search for terms in urbandictionary.
wikipedia - search for terms in wikipedia.
wolfram - use wolfram for any question you got.
bonuse ability
natural Sri like talk (based on CLEVERBOT)
features:
- easy to add abilities
- highly customizable command framework
- fully multithreaded
Supports:
Python2 and Python3
Dependencies:
python-telegram-bot
praw
wikipedia
requests
futures
wolframalpha
Basic setup and installation:
In conf/configuration.py fill your telegram token.
Import and add the desired abilities to the abilities set
set your telegram bot to "privacy false" with BotFather (/setprivacy false)
clone the project, create virtualenv and install dependencies
pip install -r requirements.txt
run the bot
python main.py
bot usage:
j help
here's what I can do:
Privilege check, commands: ["who's your daddy", "who's your mommy"]
Show help, commands: ['help']
Search wikipedia, commands: ['wiki']
Show the flow, commands: ['whats the flow', "what's the flow", 'what is the flow']
Set the flow, commands: ['set flow', 'set the flow']
Tell a joke, commands: ['tell me a joke', 'humor me', 'tell me a better joke']
Tries to find the answer, commands: ?
Define words using Urbandictionary, commands: ['define']
The bot will only answer when addressed with one of the words that are contained in BOT_ADDRESS_SET for example:
yo j
after the bot address, a command should follow:
j wiki robots
the commands are registered through each ability, see abilities dir for examples.
if the command is found JBot will run the method with which the command is registered to.
plans for the future:
- isolate the replies per message id
- simplify command decorator
- improve command framework
- create full bot framework
- add tests
License
MIT
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
