response

package
v1.4.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Announce

func Announce(s *discordgo.Session, c, m string)

func AnswerUser

func AnswerUser(s *discordgo.Session, m *discordgo.MessageCreate, msg string, mention bool)

func BalanceIcon added in v1.4.6

func BalanceIcon(k string, b int64) string

func DmUser

func DmUser(s *discordgo.Session, u *user.User, msg string, mention bool, noarr bool)

func Embed

func Embed(s *discordgo.Session, c string, em *discordgo.MessageEmbed)

func FormatEmFields added in v1.4.7

func FormatEmFields(vo map[string]int64) []*discordgo.MessageEmbedField

func Icon added in v1.4.6

func Icon(i string) string

func IconKey added in v1.4.6

func IconKey(n string) string

func IconValue added in v1.4.6

func IconValue(n string) string

func IsBalanceValue added in v1.4.6

func IsBalanceValue(v string) bool

func RandomArrr

func RandomArrr() string

func SlashCmdDel added in v1.4.6

func SlashCmdDel(s *discordgo.Session, i *discordgo.Interaction)

func SlashCmdEmbed added in v1.4.6

func SlashCmdEmbed(s *discordgo.Session, i *discordgo.Interaction, em *discordgo.MessageEmbed)

func SlashCmdEmbedDeferred added in v1.4.6

func SlashCmdEmbedDeferred(s *discordgo.Session, i *discordgo.Interaction, em *discordgo.MessageEmbed)

func SlashCmdResponseDeferred added in v1.4.6

func SlashCmdResponseDeferred(s *discordgo.Session, i *discordgo.Interaction)

func SlashCmdResponseDeferredEphemeral added in v1.4.6

func SlashCmdResponseDeferredEphemeral(s *discordgo.Session, i *discordgo.Interaction)

func SlashCmdResponseEdit added in v1.4.6

func SlashCmdResponseEdit(s *discordgo.Session, i *discordgo.Interaction, u *user.User, msg string, mention bool)

func SlashCmdResponseEphemeral added in v1.4.6

func SlashCmdResponseEphemeral(s *discordgo.Session, i *discordgo.Interaction, u *user.User, msg string)

func SlashCmdResponseEphemeralMention added in v1.4.6

func SlashCmdResponseEphemeralMention(s *discordgo.Session, i *discordgo.Interaction, u *user.User, msg string)

func SlashCmdResponseMention added in v1.4.6

func SlashCmdResponseMention(s *discordgo.Session, i *discordgo.Interaction, u *user.User, msg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL