Documentation ¶
Index ¶
- func GetCurrentWeather(o *owm.Client, loc []string) (string, error)
- func GetSotAchievement(h *http.Client, u *user.User) (*discordgo.MessageEmbed, error)
- func GetSotBalance(d *gorm.DB, h *http.Client, u *user.User) (string, error)
- func GetSotLedger(h *http.Client, u *user.User, f string) (string, error)
- func GetSotRandomCode() (*discordgo.MessageEmbed, error)
- func GetSotReputation(h *http.Client, u *user.User, f string) (string, error)
- func GetSotSeasonProgress(h *http.Client, u *user.User) (string, error)
- func GetSotStats(h *http.Client, u *user.User) (string, error)
- func Help() []string
- func PlaySound(v []*discordgo.VoiceState, s *discordgo.Session, ab [][]byte, u, g string) error
- func RandomFact(h *http.Client) (string, error)
- func RegisterUser(d *gorm.DB, u string) (string, error)
- func TMDbRandMovie(t *tmdb.TMDb) (*discordgo.MessageEmbed, error)
- func TMDbRandTvSeries(t *tmdb.TMDb) (*discordgo.MessageEmbed, error)
- func TMDbSearchMovie(t *tmdb.TMDb, q []string) (*discordgo.MessageEmbed, error)
- func TMDbSearchTvSeries(t *tmdb.TMDb, q []string) (*discordgo.MessageEmbed, error)
- func TellMemUsage() string
- func TellTime() string
- func TellVersion() string
- func UnregisterUser(d *gorm.DB, u string) (string, error)
- func Uptime(s time.Time) (string, error)
- func UrbanDict(h *http.Client, w string) (*discordgo.MessageEmbed, error)
- func UserIsRegistered(u *user.User) string
- func UserSetRatCookie(d *gorm.DB, u *user.User, r string) (string, error)
- type SotCodeArticle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentWeather ¶ added in v1.4.2
func GetSotAchievement ¶
Just a test handler
func GetSotBalance ¶
Get current SoT balance
func GetSotLedger ¶ added in v1.4.2
Just a test handler
func GetSotRandomCode ¶
func GetSotRandomCode() (*discordgo.MessageEmbed, error)
Let's the bot tell you the current date/time when requested via !time command
func GetSotReputation ¶
Just a test handler
func GetSotSeasonProgress ¶
Just a test handler
func GetSotStats ¶
Just a test handler
func TMDbRandMovie ¶ added in v1.4.1
func TMDbRandMovie(t *tmdb.TMDb) (*discordgo.MessageEmbed, error)
func TMDbRandTvSeries ¶ added in v1.4.2
func TMDbRandTvSeries(t *tmdb.TMDb) (*discordgo.MessageEmbed, error)
func TMDbSearchMovie ¶ added in v1.4.1
func TMDbSearchMovie(t *tmdb.TMDb, q []string) (*discordgo.MessageEmbed, error)
func TMDbSearchTvSeries ¶ added in v1.4.2
func TMDbSearchTvSeries(t *tmdb.TMDb, q []string) (*discordgo.MessageEmbed, error)
func TellTime ¶
func TellTime() string
Let's the bot tell you the current date/time when requested via !time command
func UserIsRegistered ¶
Self-check if a user is registered
Types ¶
type SotCodeArticle ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.