Coins Transaction
Closed this issue · 0 comments
plbin97 commented
Coins Transaction
User Story
作为一名用户,
我需要查看我的金币流水记录,
从而知道我最近的钱,来了多少,去了多少。
Acceptance Criteria
我可以通过命令
/transaction [category]
来获取我的流水记录,
其中category
为Choise,你可以在Discord js Choise中看到,
当我输入后,bot应该reply一个消息,里面包含了我在某个category的记录。
category中,应该有一个all
选项,表示所有category记录
每次输入命令,只能获取最近的10条
获取的转账记录应该为一个表格:
类型 | 金额 | 时间 | 备注
--- | --- | ---
转入 | 100 | 2022年2月2日 3:30 | xxx
转出 | -200 | 2022年2月2日 3:40 | xxx
其中,category
需要翻译,以及转账时间,不同语言转账时间的格式应该不相同。