forked from pothtonswer/discordmuffin
Fix type, thanks KuroiKitsu
This commit is contained in:
parent
02a6e04b47
commit
af52a8c822
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue