raa0121 / GoBCDice

GoBCDice is BCDice reimplemented by Go.
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

ゲームシステム専用ダイスボットの基本情報定義など #45

Closed ochaochaocha3 closed 5 years ago

ochaochaocha3 commented 5 years ago

基本のダイスロールが落ち着いたので、ゲームシステム専用ダイスボットを作れるように、基本情報定義の仕組みを整えました。その他、共通で使えそうな関数(dicebot/testing.JoinWithTestData、core/command.Result#AppendMessagePart)をpublicにしました。

codecov[bot] commented 5 years ago

Codecov Report

Merging #45 into master will increase coverage by 1.01%. The diff coverage is 98.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
+ Coverage   83.01%   84.02%   +1.01%     
==========================================
  Files          64       65       +1     
  Lines        1878     1872       -6     
==========================================
+ Hits         1559     1573      +14     
+ Misses        202      182      -20     
  Partials      117      117
Impacted Files Coverage Δ
pkg/core/command/execute_d_roll_expr.go 84% <100%> (ø) :arrow_up:
pkg/core/command/execute_r_roll_comp.go 70.37% <100%> (ø) :arrow_up:
pkg/dicebot/dicebot.go 100% <100%> (ø)
pkg/core/command/execute_u_roll_comp.go 77.77% <100%> (ø) :arrow_up:
pkg/core/command/execute_u_roll_expr.go 89.74% <100%> (ø) :arrow_up:
pkg/core/command/execute_calc.go 69.23% <100%> (ø) :arrow_up:
pkg/core/command/execute_r_roll_list.go 83.33% <100%> (ø) :arrow_up:
pkg/dicebot/gamesystem/basic/basic.go 100% <100%> (+76.92%) :arrow_up:
pkg/core/command/execute_b_roll_comp.go 77.77% <100%> (ø) :arrow_up:
pkg/core/command/execute_d_roll_comp.go 62.79% <100%> (ø) :arrow_up:
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0de374c...2c5bc2b. Read the comment docs.