Release beta 1.0.3 Mora wallet updates
This commit is contained in:
@@ -10,6 +10,8 @@ Help:
|
||||
|
||||
Registered commands:
|
||||
|
||||
- `/摩拉排行`
|
||||
- `/摩拉排行榜`
|
||||
- `/金币排行`
|
||||
- `/金币排行榜`
|
||||
- `/大富翁榜`
|
||||
|
||||
@@ -8,7 +8,7 @@ entrypoint = "coin_ranking:plugin"
|
||||
type = "command"
|
||||
|
||||
[capabilities]
|
||||
commands = ["/金币排行", "/金币排行榜", "/大富翁榜", "/richlist"]
|
||||
commands = ["/摩拉排行", "/摩拉排行榜", "/金币排行", "/金币排行榜", "/大富翁榜", "/richlist"]
|
||||
storage = false
|
||||
network_profiles = []
|
||||
service_profiles = ["coin-ranking"]
|
||||
|
||||
@@ -7,7 +7,7 @@ PROFILE = 'coin-ranking'
|
||||
AUTHOR = 'jwebot'
|
||||
DESCRIPTION = '富榜'
|
||||
HELP_ENTRIES = ('/大富翁榜',)
|
||||
COMMANDS = ('/金币排行', '/金币排行榜', '/大富翁榜', '/richlist')
|
||||
COMMANDS = ('/摩拉排行', '/摩拉排行榜', '/金币排行', '/金币排行榜', '/大富翁榜', '/richlist')
|
||||
|
||||
|
||||
def _handler(context: SingleGroupContext, command: str):
|
||||
|
||||
@@ -21,8 +21,8 @@ class PluginTests(unittest.TestCase):
|
||||
self.assertEqual(AUTHOR, 'jwebot')
|
||||
self.assertEqual(DESCRIPTION, '富榜')
|
||||
self.assertEqual(HELP_ENTRIES, ('/大富翁榜',))
|
||||
self.assertIn('/金币排行', registered)
|
||||
self.assertEqual(len(registered), 4)
|
||||
self.assertIn('/摩拉排行', registered)
|
||||
self.assertEqual(len(registered), 6)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user