Skip to main content

Wrapper for pre-rolled bot templates for Twitch

Project description

twitch_bot

Installation

mountaineer-bot can be installed from pip using:

pip install mountaineer-bot

Setting up a profile

Setup a profile using: python -m mountaineer_bot.setup. This will run you through a guided setup process. Artefacts that are generated as part of the bot's operation will be saved in the location shown at the end of the setup process.

Note this setup process will need to be done in interactive mode, so if you want to run this on a server, you will need to login to the server in the first instance to get it set up.

Checking bot profiles that have been set up

Enter python -m mountaineer_bot.list_profile to see what profiles have been setup and available for use.

Running a bot.

A bot can the run using the following command in command prompt: python -m mountaineer_bot.bots.{bot_name} --profile {profile} --headless. {bot_name} can be one of the following:"

  • mod_bot: has the following features
    • Text Command
    • Count Down
    • Level Queue (one level per user in queue)
    • Scheduling
  • mountaineer_bot: has the following features (build for ThreeMountaineers)
    • Text Command
    • Count Down
    • Level Queue (one level per user in queue)
    • Scheduling
  • novae_bot: has the following features (build for NovaeStorm)
    • Text Command
    • Count Down
    • Level Queue (one level per user in queue)
    • Scheduling
  • add_bot: has the following features
    • Identifies the first chatter in a stream and records it [experimental]

The --profile command will require a profile name setup from earlier in the setup step. The --headless command is only required if you're running this on a server in non-interactive mode.

Acknowledgement

I wrote this code from scratch with the twichio framework. While I'll happy to share this code, please acknowledge my contribution by linking to twitch.tv/three_mountaineers

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mountaineer_bot-0.1.2-py2.py3-none-any.whl (66.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mountaineer_bot-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mountaineer_bot-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a8ad594085c9b0f8e576457cf07fc6a1955e133b31499e72924ac0ad81c6334d
MD5 fe3f48c8c9aaa0d42432ba09e17cd46d
BLAKE2b-256 d4d82df9edea2978c7629e58ef369cd9a597869afbdfb61db135ae27b5086627

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page