7
5, 4, 1
Beep Boop Beep! I am an antique, but may function properly in time.
Hi! To find out what I can do, say @discobot display help
.
@discobot, I understand:
@discbot color - discbot will respond with a color
@discbot roll d20 - roll a single 20 sided dice
@discbot roll 2d20 - roll two dice
@discbot roll 2d20+5 - roll two dice with a positive modifier
@discbot roll 2d20-5 - roll two dice with a negative modifier
@discbot roll d20 your extra text here - rolls and parrots back your extra text
@discbot hello - discbot will respond with a greeting
@discbot help - shows all discbot commands
Your special color today is #38A496
Hmmm. 8 of clubs, K of hearts, 10 of spades, 7 of diamonds, another 10 of spades, and an 8 of hearts.
Of course, this simultaneously proves both the w feasibility and infeasibility of using discbot to deal cards. Easy enough to interpret the results; no way of ensuring that there aren’t any duplicates.
I briefly looked at what it would take to build a card-game bot and quickly realized I was lacking:
- the skill to do it quickly
- the time to ramp up the skill
- The motivation for either. (pity)
Given a chance to look at discbot’s source code and a few evenings, I could probably figure something out. By which I mean, a bot that keeps track of a deck and deals cards, not something that knows the rules of any particular game.
My problem is almost entirely on the “motivation” end.
See https://github.com/gwwar/discbot
For any sort of games, we’d need storage, but for a first implementation we could perhaps use an in-memory implementation before moving onto a SQL DB.
Also let me know if folks are interested in contributing scripts. I’m thinking of porting this to plain JS, since I don’t want to bother with coffeescript v2
Apropos of nothing, I am really enjoying writing letters as SPH, using the guidelines given.
The layers upon layers of subtext, all with a candy-sweet shell of politeness and well wishes.
I really wish people still wrote like this nowadays; it’s a style that suits me well.