Documentation
¶
Index ¶
- func Balance(s *discordgo.Session, m *discordgo.MessageCreate, input *structs.CmdInput)
- func BotInvite(s *discordgo.Session, m *discordgo.MessageCreate, input *structs.CmdInput)
- func Debug(s *discordgo.Session, m *discordgo.MessageCreate, input *structs.CmdInput)
- func LeaveServer(s *discordgo.Session, m *discordgo.MessageCreate, input *structs.CmdInput)
- func Ping(s *discordgo.Session, m *discordgo.MessageCreate, input *structs.CmdInput)
- func Pong(s *discordgo.Session, mu *discordgo.MessageUpdate)
- func Presence(s *discordgo.Session, m *discordgo.MessageCreate, input *structs.CmdInput)
- func Profile(s *discordgo.Session, m *discordgo.MessageCreate, input *structs.CmdInput)
- func ProfileRefreshInteraction(authorID string, author *discordgo.User, me *discordgo.MessageEdit)
- func ProfileUpdateMessageEdit(user *database.User, work *database.Work, daily *database.Daily, ...)
- func Reload(s *discordgo.Session, m *discordgo.MessageCreate, input *structs.CmdInput)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LeaveServer ¶
LeaveServer - Leaves the server of the guild ID provided
func Pong ¶
func Pong(s *discordgo.Session, mu *discordgo.MessageUpdate)
Pong updates the ping message with the ping duration It parses the time and calculates the diff between the cached time and the new time The difference in miliseconds is edited on the message The id is cleared from the cache
func ProfileRefreshInteraction ¶
func ProfileRefreshInteraction(authorID string, author *discordgo.User, me *discordgo.MessageEdit)
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.