mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-07-27 21:30:54 +00:00
fix: npm对插件无法启用的bug
feat: 资源包的管理器
This commit is contained in:
@ -157,14 +157,14 @@ class Minesweeper:
|
||||
print([d.value for d in row])
|
||||
for dot in row:
|
||||
if dot.mask and not dot.flagged:
|
||||
text += md.cmd(self.MASK, f"minesweeper reveal {dot.row} {dot.col}")
|
||||
text += md.btn_cmd(self.MASK, f"minesweeper reveal {dot.row} {dot.col}")
|
||||
elif dot.flagged:
|
||||
text += md.cmd(self.FLAG, f"minesweeper mark {dot.row} {dot.col}")
|
||||
text += md.btn_cmd(self.FLAG, f"minesweeper mark {dot.row} {dot.col}")
|
||||
else:
|
||||
text += self.NUMS[dot.value]
|
||||
text += dis
|
||||
text += "\n"
|
||||
btn_mark = md.cmd("标记", f"minesweeper mark ", enter=False)
|
||||
btn_end = md.cmd("结束", "minesweeper end", enter=True)
|
||||
btn_mark = md.btn_cmd("标记", f"minesweeper mark ", enter=False)
|
||||
btn_end = md.btn_cmd("结束", "minesweeper end", enter=True)
|
||||
text += f" {btn_mark} {btn_end}"
|
||||
return text
|
||||
|
Reference in New Issue
Block a user