Skip to content

csp-community/csp-bot-commands

Repository files navigation

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.