chore: remove command alias

This commit is contained in:
2024-09-26 17:43:13 +08:00
parent 2d7d81c825
commit 53a1807d9d
1 file changed
+1 -1
@@ -17,7 +17,7 @@ import cn.rtast.rob.util.ob.OneBotListener
@CommandDescription("防撤回(获取消息)") @CommandDescription("防撤回(获取消息)")
class AntiRevokeCommand : BaseCommand() { class AntiRevokeCommand : BaseCommand() {
override val commandNames = listOf("/revoke", "/rv", "/防撤回") override val commandNames = listOf("/revoke", "/rv")
override suspend fun executeGroup(listener: OneBotListener, message: GroupMessage, args: List<String>) { override suspend fun executeGroup(listener: OneBotListener, message: GroupMessage, args: List<String>) {
if (message.sender.userId !in configManager.admins) message.reply("你不许用防撤回") if (message.sender.userId !in configManager.admins) message.reply("你不许用防撤回")