メッセージでの機能追加

解決しました

要約

メッセージでの乱数生成

理由

イベントなどでランダム抽選などをする場合に外部ツールなどを用いるかと思いますが、外部ツールだと公平にしているかどうか、本人からも見せられないのが心苦しい・そのほかの人も気になると思います。また何より盛り上がりに欠けるかなと思います。

システム側のことはよくわからないのですが、リンクやアイテムの表示ができるならこういったこともできないかなと思い要望出させてもらいました。

もし可能であるなら最小限0~9のみの整数、出来ればmax指定などできるとありがたいです。

@discobot roll 1d10

ではダメかな?

「いいね!」 1

:game_die: 2

上の様に指定ダイスロール結果を返してくれます。
メッセージが長くなるのがアレですが…

できるの知らなかった…
ありがとうございます

他にもyes / no もあるぽいので載せておきます。

@discobot display help.

I currently know how to do the following things:

@discobot start new user

Starts one of the following interactive narratives: new user, advanced user.

@discobot roll 2d6

:game_die: 3, 6

@discobot quote

:left_speech_bubble: Carry out a random act of kindness, with no expectation of reward, safe in the knowledge that one day someone might do the same for you — Princess Diana

@discobot fortune

:crystal_ball: You may rely on it

@discobot roll 1d 111

Hi! To find out what I can do, say @discobot display help.

@discobot roll 1d111

:game_die: 22

Did you know that the maximum number of sides for a mathematically fair die is 120?

:game_die: 43, 80, 22, 78, 33

I only have 20 dice. Shameful, I know!

:game_die: 116, 108, 101, 99, 45, 9, 92, 9, 14, 95, 6, 5, 56, 19, 111, 94, 8, 82, 69, 97

:crystal_ball: My reply is no

@discobotroll 1d10

Hi! To find out what I can do, say @discobot display help.

@discobot display help.

I currently know how to do the following things:

@discobot start new user

Starts one of the following interactive narratives: new user, advanced user.

@discobot サイコロを振る 2d6

:game_die: 3, 6

@discobot 引用

:left_speech_bubble: Carry out a random act of kindness, with no expectation of reward, safe in the knowledge that one day someone might do the same for you — Princess Diana

@discobot fortune

:crystal_ball: You may rely on it

@discobot サイコロを振る 1d6

:game_die: 1