Reformat messages

This commit is contained in:
Tyler 2019-01-13 18:38:29 -05:00
parent 580ef99f87
commit 51e56c0e2a
1 changed files with 9 additions and 9 deletions

View File

@ -6,17 +6,17 @@ type basicMessage struct {
} }
type playMessage struct { type playMessage struct {
Op string `json:"op"` Op string `json:"op"`
GuildID string `json:"guildId,omitempty"` GuildID string `json:"guildId,omitempty"`
Track string `json:"track,omitempty"` Track string `json:"track,omitempty"`
StartTime string `json:"startTime,omitempty"` StartTime string `json:"startTime,omitempty"`
EndTime string `json:"endTime,omitempty"` EndTime string `json:"endTime,omitempty"`
} }
type pauseMessage struct { type pauseMessage struct {
Op string `json:"op"` Op string `json:"op"`
GuildID string `json:"guildId,omitempty"` GuildID string `json:"guildId,omitempty"`
Pause bool `json:"pause,omitempty"` Pause bool `json:"pause,omitempty"`
} }
type seekMessage struct { type seekMessage struct {
@ -28,7 +28,7 @@ type seekMessage struct {
type volumeMessage struct { type volumeMessage struct {
Op string `json:"op"` Op string `json:"op"`
GuildID string `json:"guildId,omitempty"` GuildID string `json:"guildId,omitempty"`
Volume int `json:"volume,omitempty"` Volume int `json:"volume,omitempty"`
} }
type voiceUpdateMessage struct { type voiceUpdateMessage struct {