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.0.3-py2.py3-none-any.whl (62.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for mountaineer_bot-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ea3a01d7b0e9e82e0a4a997ebd2f454bb1baad4f1a9716e71088404058580c74
MD5 e5ef1a7d585913998d8520f048090af2
BLAKE2b-256 1cc0a6d5e940b9aae2909cf350005b0f2aa8baa2f1e058927619f5c2b2be7cf2

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