mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-06-18 09:11:11 +00:00
API: make CreateChannelData.Type non-pointer
This commit is contained in:
parent
b17c32187e
commit
4f4526eb49
|
@ -20,7 +20,7 @@ type CreateChannelData struct {
|
|||
Name string `json:"name"` // 2-100
|
||||
Topic string `json:"topic,omitempty"`
|
||||
|
||||
Type *discord.ChannelType `json:"type,omitempty"`
|
||||
Type discord.ChannelType `json:"type,omitempty"`
|
||||
|
||||
VoiceBitrate uint `json:"bitrate,omitempty"`
|
||||
VoiceUserLimit uint `json:"user_limit,omitempty"`
|
||||
|
|
Loading…
Reference in a new issue