This commit is contained in:
cdle
2021-10-23 18:26:52 +08:00
parent b34d2f6dd9
commit a9aa65e41b
5 changed files with 20 additions and 1 deletions
+3
View File
@@ -21,6 +21,9 @@ type Sender struct {
}
func (sender *Sender) GetContent() string {
if sender.Content != "" {
return sender.Content
}
text := ""
switch sender.Message.(type) {
case *message.PrivateMessage: