mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 09:10:11 +08:00
Remove inappropriate use of DSL marker on ForwardMessageBuilder.add
This commit is contained in:
parent
0c3c85f61c
commit
ee1ea33898
@ -662,7 +662,6 @@ public class ForwardMessageBuilder private constructor(
|
|||||||
*
|
*
|
||||||
* @since 2.1
|
* @since 2.1
|
||||||
*/
|
*/
|
||||||
@ForwardMessageDsl
|
|
||||||
public fun add(event: MessageEvent): ForwardMessageBuilder {
|
public fun add(event: MessageEvent): ForwardMessageBuilder {
|
||||||
return event.sender named event.senderName at event.time says event.message
|
return event.sender named event.senderName at event.time says event.message
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user