فهرست منبع

Degoroutinize (*api.Client).SendMessage()

rigormorrtiss 4 سال پیش
والد
کامیت
39234175a3
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      discordo.go

+ 1 - 1
discordo.go

@@ -236,7 +236,7 @@ func onMessageInputFieldDone(k tcell.Key) {
 		}
 
 		messageInputField.SetText("")
-		go discordSession.SendMessage(currentChannel.ID, currentText)
+		discordSession.SendMessage(currentChannel.ID, currentText)
 	}
 }