Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Lytebot is a telegram bot existing of some convenient and fun functionalities.

Project Description

# Lytebot Lytebot is a Telegram bot existing of some convenient and fun features like searching DuckDuckGo, random image from a subreddit and searching specific sites through DuckDuckGo’s [!bangs](https://duckduckgo.com/bang).

# Usage Visit https://telegram.me/Lytebot, or send a message to @Lytebot.

## Commands - /r [sub]: Random image by subreddit - /ddg [query]: Search DuckDuckGo - /flip: (╯°□°)╯︵ ┻━┻ - /back: ┬─┬ ノ( ゜-゜ノ) - /shruggie: ¯_(ツ)_/¯ - /disabled: Show disabled commands - /![bang] [query]: Search DuckDuckGo by bang

## Owner commands - /disable [command]: Disable a command - /enable [command]: Enable a command - /ignore [user]: Ignore a user (don’t execute commands sent by user) - /unignore [user]: Unignore a user - /blacklist [sub]: Blacklist subreddit from /r command - /whitelist [sub]: Whitelist subreddit from /r command

# Installation ## Dependencies - Python 3.x - beautifulsoup4 - imgurpython - PyYAML - python-telegram-bot

## Running If you have Docker, Lytebot can be started with a single command: `bash $ docker run -v ~/.config/lytebot:/root/.config/lytebot lytebot `

Alternatively, you can run Lytebot without Docker. We recommend using something like supervisord, but you can just run lytebot & to start Lytebot in the background.

## Building `bash $ git clone https://github.com/muse/Lytebot $ cd Lytebot $ ./setup.py install `

This will put the executable lytebot in your path.

## Configuring To use the bot, you need to put the example configuration file in ~/.config/lytebot/config.yml with your Telegram token.

If you wish to use owner commands, you need to set the owner(s) usernames in ~/.config/lytebot/config.yml. The same goes for the Imgur commands, you’ll need to put your Imgur ID and secret in the config file.

If something breaks or goes wrong, you can see the log file found in ~/.config/lytebot.

Release History

Release History

This version
History Node

1.0.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting