Feature: Choose command #866
Labels
ClemBot.Bot
Issue pertains to the ClemBot.Bot codebase
Discussion
A thread to hold active discussion about the future of the bot or a feature
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
python
Pull requests that update Python code
Feature
About
This feature would add a new command, called
choose
. Given a comma-separated list of items, ClemBot will pick one of the items at random.Outline
Command Syntax:
!choose <items...>
Preconditions (Optional): Size of items is >1.
Expected Output: One of the items will be chosen at random. ClemBot will let the user know of its choice.
Examples
!choose a, b, c, d, e
a
,b
,c
,d
, ore
, equal chance.!choose a,b,c,d,e
a
,b
,c
,d
, ore
, equal chance.!choose a
a
, if and only if the item given does not contain whitespace.!choose
!choose a b c d e
Miscellaneous
The text was updated successfully, but these errors were encountered: