소스 검색

Fixed a bad documentation comment for State.ChannelAdd (#338)

Alexander 8 년 전
부모
커밋
57c2762b53
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      state.go

+ 1 - 1
state.go

@@ -295,7 +295,7 @@ func (s *State) Role(guildID, roleID string) (*Role, error) {
 	return nil, errors.New("role not found")
 }
 
-// ChannelAdd adds a guild to the current world state, or
+// ChannelAdd adds a channel to the current world state, or
 // updates it if it already exists.
 // Channels may exist either as PrivateChannels or inside
 // a guild.