Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
AnotherGenZ authored Dec 3, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 9bb722e commit 294ab42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state.go
Original file line number Diff line number Diff line change
@@ -531,7 +531,7 @@ func (s *State) PrivateChannel(channelID string) (*Channel, error) {
return s.Channel(channelID)
}

// Channel gets a channel by ID, it will look in all guilds an private channels.
// Channel gets a channel by ID, it will look in all guilds and private channels.
func (s *State) Channel(channelID string) (*Channel, error) {
if s == nil {
return nil, ErrNilState

0 comments on commit 294ab42

Please sign in to comment.