OzzyCallooh / DemonButlerBot

The Demon Butler from RuneScape, at your service as a Telegram bot.
1 stars 2 forks source link

Demon Butler Bot

Greetings, mortal! My task is to retrieve valuable information from the human game OldSchool RuneScape by Jagex Ltd, who of which I am not associated. I am at your eternal service.

— Alathazdrar, the demon butler

This is the repository for @DemonButlerBot, a Telegram bot themed after the Demon Butler from OldSchool RuneScape by Jagex Ltd. He is created and managed by Ozzy Callooh (@OzzyC).

Commands

Dependencies

This bot runs on Python 3.5 or greater, and requires the following libraries:

Configuration

The Demon Butler uses JSON files to control how he operates. This is where information like the Telegram bot token should go. See sample-with-comments.config.json for an example configuration file.

If telegram.use_webhooks is true, the bot will use an internal HTTP server to serve webhook requests. The bot will automatically set the webhook to telegram.webhook.host with port 443 (this cannot be configured). Use nginx or Apache to route SSL traffic to the internal port.

Running the Bot

Set the CONFIG environment variable to point to your config file (default is config/default.config.json). Run the bot using GNU make. A virtual environment is automatically set up using Makefile.venv, which has other variables to configure like PY (default python3).

$ make run

License

The Demon Butler Bot is licensed under CC BY-NC-SA.

CC BY-NC-SA