Преглед на файлове

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.