1
0
Fork 0
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:
mavolin 2020-05-11 13:53:25 +02:00
parent b17c32187e
commit 4f4526eb49
No known key found for this signature in database
GPG key ID: D8681218EDF216DF

View file

@ -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"`