Skip to content

Commit ebf6831

Browse files
committed
记录部分TODO
1 parent 972669a commit ebf6831

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/*
2+
* Copyright (c) 2025. ForteScarlet.
3+
*
4+
* This file is part of simbot-component-onebot.
5+
*
6+
* simbot-component-onebot is free software: you can redistribute it and/or modify it under the terms
7+
* of the GNU Lesser General Public License as published by the Free Software Foundation,
8+
* either version 3 of the License, or (at your option) any later version.
9+
*
10+
* simbot-component-onebot is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11+
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the GNU Lesser General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU Lesser General Public License along with simbot-component-onebot.
15+
* If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
18+
package love.forte.simbot.component.onebot.v11.core.event.messageinteraction
19+
20+
import love.forte.simbot.ability.ReplySupport
21+
import love.forte.simbot.component.onebot.v11.core.bot.OneBotBot
22+
import love.forte.simbot.event.FuzzyEventTypeImplementation
23+
import love.forte.simbot.event.MessageEvent
24+
import love.forte.simbot.event.MessageEventInteractionEvent
25+
26+
27+
/**
28+
* OneBot组件中针对 [ReplySupport](通常是 [MessageEvent])的拦截或通知事件。
29+
*
30+
* @see love.forte.simbot.component.onebot.v11.core.event.message.OneBotMessageEvent
31+
*
32+
* @since 1.6.0
33+
*
34+
* @author ForteScarlet
35+
*/
36+
@SubclassOptInRequired(FuzzyEventTypeImplementation::class)
37+
public interface OneBotMessageEventInteractionEvent :
38+
MessageEventInteractionEvent,
39+
OneBotInternalMessageInteractionEvent {
40+
override val bot: OneBotBot
41+
override val content: MessageEvent
42+
}
43+
44+
// TODO

simbot-component-onebot-v11/simbot-component-onebot-v11-core/src/commonMain/kotlin/love/forte/simbot/component/onebot/v11/core/event/messageinteraction/OneBotSendSupportInteractionEvent.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,11 @@ public interface OneBotFriendPostSendEvent :
164164
override val content: OneBotFriend
165165
}
166166
//endregion
167+
168+
//region OneBotMember
169+
// TODO
170+
//endregion
171+
172+
//region OneBotMember
173+
// TODO
174+
//endregion

0 commit comments

Comments
 (0)