-
```
14:46:19.800 [Javacord - Central ExecutorService - 498] WARN com.hiyoko.discord.bot.BCDice.BCDiceBot - Failed to reply to user request
java.io.IOException: RESTEASY004655: Unable to invoke reque…
-
Ver3.0でRubyっぽいディレクトリ構成に直す。提案歓迎
-
ゲームシステム固有のコマンドを使えるようにするために`DiceBot.setPrefixes`を用いるが、接頭辞として見るのではなく文字列全体がマッチするかチェックしている。
https://github.com/bcdice/BCDice/blob/1d33af43ba67560b4514056f553de97e8f37905e/src/diceBot/DiceBot.rb#L29-L41…
-
関連: bcdice/BCDice#205
GUIから安定して切断できるので、終了コマンドは不要。READMEから終了コマンドについての記述を削除する。
-
* そのままでは Math が使えない
- https://qiita.com/moriyuu/items/061de38704687fef93b9
* function のデフォルト引数値に対応していない
-
SwordWorld2.0のテストパターンに以下を追加で再現
```
============================
input:
2D6
output:
SwordWorld2.0 : (2d6) > 9[6,3] > 9
rand:6/6,3/6
============================
```
## rakeの出力(抜粋)
ruby 2…
-
マスターコマンド `mode` を実行できない。
# 原因
型の不一致。`@diceBot.sendMode` や `@diceBot.sortType` は `Integer` なので、文字列に足せない。
```ruby
def checkMode()
return unless isMaster()
output = "GameType = " + @dic…
-
加算ロール `nDx` を負の数で割ることができません。これは構文解析上の問題のようです。
# 環境
コミットID 2b3d853d513da1cd1e94e6c6a4b579b49e7d9441
# 症状
加算ロールに対して乗数が負数の乗算、除数が負数の除算を行おうとした場合(例:`2d6*(-1)`、`2d6/(-1)`)、`*` や `/` が無視され、減算として処理…
-
## 問題点
目標値が定まらない判定のために加算ダイスでは `2D6>=?` というような目標値に`?`を入力することを許している。
`check_2D6` 等を加算ダイスから呼び出すが、これを実装している多くのクラスで目標値に`?`がくることを想定しておらず、エラー落ちする。
## 報告者
くずもちさん
## 解決案
- 地道に全ての`check_2D6` を返す
…
-
BCDice-API相当のことができるようにする。