Documentation ¶
Index ¶
Constants ¶
View Source
const IDLength = 10
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ModifyTask ¶
type ModifyTask struct { GuildID uint64 `json:"guildID"` UserID uint64 `json:"userID"` Parameters PatchParams `json:"parameters"` TaskID string `json:"taskID"` }
func NewModifyTask ¶
func NewModifyTask(guildID, userID uint64, params PatchParams) ModifyTask
type MuteDeafenSuccessCounts ¶
type MuteDeafenSuccessCounts struct { Worker int64 `json:"worker"` Capture int64 `json:"capture"` Official int64 `json:"official"` RateLimit int64 `json:"ratelimit"` }
a response indicating how the mutes/deafens were issued, and if ratelimits occurred
type PatchParams ¶
type UserModify ¶
type UserModifyRequest ¶
type UserModifyRequest struct { Premium premium.Tier `json:"premium"` Users []UserModify `json:"users"` }
Click to show internal directories.
Click to hide internal directories.