mirror of
https://github.com/fumiama/NanoBot.git
synced 2026-06-05 10:40:24 +08:00
feat: add message
This commit is contained in:
@@ -55,7 +55,7 @@ func (m MessageSegment) String() string {
|
||||
func Text(text ...interface{}) MessageSegment {
|
||||
return MessageSegment{
|
||||
Type: MessageTypeText,
|
||||
Data: MessageEscape(fmt.Sprint(text...)),
|
||||
Data: HideURL(MessageEscape(fmt.Sprint(text...))),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user