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.

Metadata

Release files for csp-bot-commands 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for csp-bot-commands 2.0.0
File Size Uploaded
csp_bot_commands-2.0.0.tar.gz 36.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for csp-bot-commands 2.0.0
File Interpreter ABI Platform
csp_bot_commands-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 78.6 kB

Release files / csp_bot_commands-2.0.0.tar.gz

Download URL csp_bot_commands-2.0.0.tar.gz
Size 36.9 kB
Tags Source
SHA-256 checksum
How to use checksums
56a5119d5482ed11bd452dc4ba8696cd25f850ba045caefa20651ff74d71a06f
BLAKE2b-256 checksum
How to use checksums
de9ad033a173ea1a6c563d0340ca6216351b82c4a7ddad7a97ed3cdbf53dee20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / csp_bot_commands-2.0.0-py3-none-any.whl

Download URL csp_bot_commands-2.0.0-py3-none-any.whl
Size 41.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
510865724a57f89bed1e7309230fe0ce9a2702e5bf1ae362dbeadf1101704772
BLAKE2b-256 checksum
How to use checksums
c9a13ecb43d975a055161e0dee740aae91135916a0c9e20921b30ed68eac471c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page