Fixed a bad documentation comment for State.ChannelAdd (#338)
This commit is contained in:
parent
197f24b96a
commit
57c2762b53
1 changed files with 1 additions and 1 deletions
2
state.go
2
state.go
|
@ -295,7 +295,7 @@ func (s *State) Role(guildID, roleID string) (*Role, error) {
|
||||||
return nil, errors.New("role not found")
|
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.
|
// updates it if it already exists.
|
||||||
// Channels may exist either as PrivateChannels or inside
|
// Channels may exist either as PrivateChannels or inside
|
||||||
// a guild.
|
// a guild.
|
||||||
|
|
Loading…
Reference in a new issue