Skip to main content

Wrapper for pre-rolled bot templates for Twitch

Reason this release was yanked:

Not python 3.10 compatible

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

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for mountaineer_bot-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ab37ccbfdf06a88067216dc069961a59d422029a5984099a4dfd4f73f589b3ef
MD5 150302d03aabcba5f65391916d2d7ca5
BLAKE2b-256 769efb4c65f627abff14affe4705c44d949863956bc51da6809035ccd7922463

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