langel / botb_irc_bot

battle of the bits instant relay chat magic
BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

add !choice command #97

Open viraxor opened 2 years ago

viraxor commented 2 years ago

This command returns a random choice from a given list of choices separated by a semicolon. #98

Example:

<viraxor> !choice wildchip; allgear; s3xmodit
<BotB2_tes> allgear
<viraxor> !choice ohb; 2hb; 4hb
<BotB2_tes> ohb
langel commented 2 years ago

please open a new issue in the issue tracker and label it as an enhancement before submitting pull requests so other folks who are involved in the code base can discuss the merit and design of the feature

langel commented 2 years ago

also, please use semicolons at the end of lines when this project started all lines had semicolons someone removed them all and merged their code w/o consulting me many years ago so now i am the only one that can merge code