瀏覽代碼

Fix type, thanks KuroiKitsu

Bruce Marriner 9 年之前
父節點
當前提交
af52a8c822
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      restapi.go

+ 1 - 1
restapi.go

@@ -655,7 +655,7 @@ func (s *Session) GuildSplash(guildID string) (img image.Image, err error) {
 // ------------------------------------------------------------------------------------------------
 // ------------------------------------------------------------------------------------------------
 
 
 // Channel returns a Channel strucutre of a specific Channel.
 // Channel returns a Channel strucutre of a specific Channel.
-// channelID  : The ID of the Channel you want returend.
+// channelID  : The ID of the Channel you want returned.
 func (s *Session) Channel(channelID string) (st *Channel, err error) {
 func (s *Session) Channel(channelID string) (st *Channel, err error) {
 	body, err := s.Request("GET", CHANNEL(channelID), nil)
 	body, err := s.Request("GET", CHANNEL(channelID), nil)
 	if err != nil {
 	if err != nil {