Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource is a resource that allows to perform various actions on a Discord guild invite. Create one with Client.Invite.
func NewResource ¶
func NewResource(c resource.RestClient, code string) *Resource
func (*Resource) DeleteWithReason ¶
DeleteWithReason deletes the invite. Requires the MANAGE_CHANNELS permission. Returns the deleted invite on success. The given reason will be set in the audit log entry for this action.
Click to show internal directories.
Click to hide internal directories.