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

Metadata

Release files for csp-bot-commands 2.0.1

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.1
File Size Uploaded
csp_bot_commands-2.0.1.tar.gz 37.3 kB Details

Built distribution (wheel)

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

Total release size: 79.4 kB

Release files / csp_bot_commands-2.0.1.tar.gz

Download URL csp_bot_commands-2.0.1.tar.gz
Size 37.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e32abb50aef5f27cab710ae8acb80f08a1633ce19c03df640176222ce563e61c
BLAKE2b-256 checksum
How to use checksums
eb037fba5dd6c1ca9a0a8258a07b70e8d2d28cd63e76514a4adb33833a86ce0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

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

Download URL csp_bot_commands-2.0.1-py3-none-any.whl
Size 42.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9eecf394f0e303a6cfbd00fe638f31e953c719089dcfe2d822a2a7d06ed8a805
BLAKE2b-256 checksum
How to use checksums
fddb0a5ba501a2e8f9bf10854d2761441cd85b0f5a2dd0d7713e3085454e8f5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

2.0.2

2 release files

This release

2.0.1 This release

2 release files

2.0.0

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