purofle
|
2c78c215b5
|
删除Kdoc中存在的错误示例 (#386)
* Update SimpleCommand.kt
* Update Commands.md
|
2021-08-03 04:30:08 +08:00 |
|
Him188
|
213b1c1e3f
|
Update copyright
|
2021-07-02 00:56:54 +08:00 |
|
Him188
|
f096d0d042
|
Reformat and cleanup code
|
2021-07-02 00:56:54 +08:00 |
|
Him188
|
fd158ca33e
|
Add @JvmOverloads for JSimpleCommand constructor and add default arguments (#349)
|
2021-05-30 23:40:30 +08:00 |
|
Him188
|
19abf48aac
|
Kotlin 1.5 and dependencies updates (#346)
* Kotlin 1.5 and dependencies updates
* Make MessageScope sealed
* Use Kotlin 1.5.10
* Uses 2.6.4-dev-kt15 in build
|
2021-05-27 13:50:28 +08:00 |
|
Him188
|
048a0bbdd6
|
LoginCommand: Send login results also to ConsoleCommandSender (#348)
|
2021-05-06 12:53:41 +08:00 |
|
Him188
|
41eeedf932
|
Optimize suppresses
|
2021-05-03 17:09:53 +08:00 |
|
Him188
|
03df2d8bb7
|
Update docs about example for commands for Java
|
2021-05-03 17:09:42 +08:00 |
|
Karlatemp
|
ee1561f97d
|
Close bot with runCatching
|
2021-03-11 22:44:04 +08:00 |
|
Karlatemp
|
34135b5a4d
|
Close all bots in console stopping
|
2021-03-10 12:31:22 +08:00 |
|
Karlatemp
|
2e286a3a79
|
Don't show not permitted commands in /help
|
2021-02-20 19:51:23 +08:00 |
|
Karlatemp
|
78e8203abd
|
Add default value of CompositeCommand.SubCommand.value for Java
|
2021-02-16 23:13:27 +08:00 |
|
Karlatemp
|
3a5e2fe174
|
Mark @JvmWildcard on Command.overloads for fix java cannot extends XXXCommand
|
2021-02-03 22:11:14 +08:00 |
|
Him188
|
5da481dd1b
|
PermitteeIdValueArgumentParser: Parse numerical values as ExactUser for convenience
|
2021-02-03 12:39:40 +08:00 |
|
Him188
|
5bd6182a17
|
PermissionIdValueArgumentParser: Parse "*" as RootPermission.id for convenience
|
2021-02-03 12:39:18 +08:00 |
|
Karlatemp
|
8683e88892
|
Support select protocol in /login ; Close bot when bot login failed
|
2021-02-01 10:09:58 +08:00 |
|
Him188
|
8fde96c50a
|
Fix doc 'since' in EnumValueArgumentParser
|
2021-01-29 12:23:24 +08:00 |
|
Karlatemp
|
0f03a10d0c
|
EnumValueArgumentParser
close #267
|
2021-01-24 02:34:13 +08:00 |
|
Him188
|
8ebbbe2a69
|
Update docs
|
2021-01-12 17:58:13 +08:00 |
|
Him188
|
0b957d6475
|
Update permitteeIds to new temp user structure
|
2021-01-12 17:31:10 +08:00 |
|
Him188
|
4a5cedc592
|
Update docs
|
2021-01-12 16:50:07 +08:00 |
|
Him188
|
e6307f0773
|
Update to mirai-core-dev-9
|
2021-01-12 16:46:26 +08:00 |
|
Him188
|
975ff6dc40
|
Merge remote-tracking branch 'origin/master'
|
2021-01-10 23:45:32 +08:00 |
|
Him188
|
1a2d484a45
|
Update to mirai-core 2.0-RC, add StrangerCommandSender, OtherClientCommandSender, etc.
|
2021-01-10 21:56:27 +08:00 |
|
Karlatemp
|
c826ffd988
|
Resolve errors in Android
|
2021-01-01 20:36:24 +08:00 |
|
Him188
|
7dc5485cea
|
Update to 2.0-M2 (2.0-M2-dev-14)
|
2020-12-28 17:54:32 +08:00 |
|
Him188
|
e2fb094e0f
|
Update to mirai-core 2.0-M1
|
2020-12-19 00:55:56 +08:00 |
|
Him188
|
cbbd6eb083
|
Update to mirai-core 2.0-M1-dev-3
|
2020-12-18 16:36:49 +08:00 |
|
Him188
|
dfc9957c24
|
Revert "Check Command.owner, #216"
This reverts commit 595c9480
|
2020-11-29 19:26:05 +08:00 |
|
Karlatemp
|
595c9480a6
|
Check Command.owner, #216
|
2020-11-29 18:00:48 +08:00 |
|
Him188
|
8a45312788
|
Merge remote-tracking branch 'origin/master'
|
2020-11-29 16:12:55 +08:00 |
|
Him188
|
a66ecbf8c8
|
New inspection: RESTRICTED_CONSOLE_COMMAND_OWNER, close #216
|
2020-11-29 16:12:49 +08:00 |
|
Karlatemp
|
1bc6e97630
|
Colorful StatusCommand
|
2020-11-29 15:12:15 +08:00 |
|
Him188
|
954b59b926
|
Improve PermissionCommand.grantedPermissions, close #217
|
2020-11-24 10:36:09 +08:00 |
|
Karlatemp
|
16e1ebde07
|
Add alias for StatusCommand
|
2020-11-19 22:34:15 +08:00 |
|
Karlatemp
|
d80e2aca4f
|
print PermissionService in StatusCommand
|
2020-11-19 22:33:26 +08:00 |
|
Karlatemp
|
4a29094ebe
|
StatusCommand
|
2020-11-19 13:51:25 +08:00 |
|
Him188
|
77b38a9ba3
|
Release CommandSender restrictions:
- Not required to extend AbstractCommandSender
- Amend CommandSender.fold
|
2020-11-19 10:35:13 +08:00 |
|
Him188
|
d1bc3583a2
|
Remove CommandSender.catchExecutionException
|
2020-11-19 10:21:20 +08:00 |
|
Him188
|
ab5cbcd546
|
1.0 Review: documentation and misc improvements
|
2020-11-19 09:23:51 +08:00 |
|
Him188
|
6dec40c5ea
|
Add JvmField to CommandArgumentContext.EMPTY
|
2020-11-19 09:01:23 +08:00 |
|
Him188
|
48021adf18
|
Add AutoLoginCommand.list
|
2020-11-19 08:56:32 +08:00 |
|
Him188
|
9d1294603d
|
Fix CommandCallResolver on unresolved command
|
2020-11-19 08:47:36 +08:00 |
|
Him188
|
6ac08732f5
|
Install ConfigurationKey.Parser to ConfigurationKey for AutoLoginCommand
|
2020-11-19 08:39:57 +08:00 |
|
Him188
|
4489da91e0
|
AutoLoginCommand
|
2020-11-18 23:52:52 +08:00 |
|
Him188
|
0a55743567
|
Update docs
|
2020-11-17 10:47:50 +08:00 |
|
Him188
|
21428094a8
|
Fix StringConstant.toString and add notes for AbstractCommandValueParameter implementers
|
2020-11-17 09:48:45 +08:00 |
|
Him188
|
fd2a22a798
|
Improve docs
|
2020-11-17 09:41:07 +08:00 |
|
Him188
|
77f00d2d84
|
Move CommandResolveResult.fold to extension, add CommandResolveResult.getOrElse
|
2020-11-17 09:41:00 +08:00 |
|
Him188
|
136b0c11d8
|
Introduce CommandCallInterceptor
|
2020-11-17 09:34:47 +08:00 |
|