Skip to main content

csp bot commands

Miscellaneous commands for csp-bot

Build Status codecov License PyPI

Overview

This package contains fun, testing, and utility commands for csp-bot.

Command Type Description
/slap fun Slap someone with a wet trout
/mets utility Get information about the NY Mets baseball team, including roster, players, and schedule information
/thanks fun Thank another user with a random object or cash
/_fun fun Randomly generated/selected quotes or trivia
/delaytest test Tester command for delayed/repeated commands

Any of these commands can be included in a csp-bot configuration following the documentation:

# @package _global_
defaults:
  - /gateway: slack
  - _self_

bot_name: CSP Bot
app_token: .slack_app_token
bot_token: .slack_bot_token

gateway:
  _target_: csp_bot.Gateway
  modules:
    - /modules/bot
  commands:
    - /commands/help
    - _target_: csp_bot_commands.DelayTestCommandModel
    - _target_: csp_bot_commands.FunCommandModel
    - _target_: csp_bot_commands.MetsCommandModel
    - _target_: csp_bot_commands.ThanksCommandModel
    - _target_: csp_bot_commands.TroutSlapCommandModel

[!NOTE] This library was generated using copier from the Base Python Project Template repository.

Download files

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

Source Distribution

csp_bot_commands-2.0.0.tar.gz (36.9 kB view details)

Uploaded Source

Built Distribution

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

csp_bot_commands-2.0.0-py3-none-any.whl (41.6 kB view details)

Uploaded Python 3

File details

Details for the file csp_bot_commands-2.0.0.tar.gz.

File metadata

  • Download URL: csp_bot_commands-2.0.0.tar.gz
  • Upload date:
  • Size: 36.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for csp_bot_commands-2.0.0.tar.gz
Algorithm Hash digest
SHA256 56a5119d5482ed11bd452dc4ba8696cd25f850ba045caefa20651ff74d71a06f
MD5 0900191ffbc055c32996439e3b5aae31
BLAKE2b-256 de9ad033a173ea1a6c563d0340ca6216351b82c4a7ddad7a97ed3cdbf53dee20

See more details on using hashes here.

File details

Details for the file csp_bot_commands-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for csp_bot_commands-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 510865724a57f89bed1e7309230fe0ce9a2702e5bf1ae362dbeadf1101704772
MD5 ac1c0bad0c7e452ad4c13a4bd37c1f2a
BLAKE2b-256 c9a13ecb43d975a055161e0dee740aae91135916a0c9e20921b30ed68eac471c

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 Sentry Error logging StatusPage Status page