Documentation
¶
Index ¶
- func BotInviteURL() string
- func DiscordAvatarURL(id string, discriminator string, avatar string) string
- func ExecuteGuildedWebhook(webhookID, webhookToken string, params *discordgo.WebhookParams) error
- func GetFileExtensionFromMimeType(mimeType string) string
- func HashBytes(b []byte) string
- func IsDiscordRestErrorCode(err error, codes ...int) bool
- func Ptr[T any](val T) *T
- func UniqueID() string
- type VaultBinPaste
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BotInviteURL ¶
func BotInviteURL() string
func DiscordAvatarURL ¶
func ExecuteGuildedWebhook ¶
func ExecuteGuildedWebhook(webhookID, webhookToken string, params *discordgo.WebhookParams) error
func IsDiscordRestErrorCode ¶
Types ¶
type VaultBinPaste ¶
type VaultBinPaste struct {
ID string
}
func CreateVaultBinPaste ¶
func CreateVaultBinPaste(content string, language string) (*VaultBinPaste, error)
func (*VaultBinPaste) URL ¶
func (v *VaultBinPaste) URL() string
Click to show internal directories.
Click to hide internal directories.