Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertUserStatus ¶
Types ¶
type Activity ¶
func FetchTodayActivities ¶
func FetchTodayActivities(discordUserlIdStr string, kind ActivityKind) ([]*Activity, error)
func InsertActivity ¶
func InsertActivity(discordUserlIdStr string, kind ActivityKind) (*Activity, error)
type ActivityKind ¶
type ActivityKind uint32
const ( ActivityKindBattlePower ActivityKind = 1 ActivityKindFoodPorn ActivityKind = 2 ActivityKindFortune ActivityKind = 3 ActivityKindInsiderGame ActivityKind = 4 ActivityKindInteractionCreate ActivityKind = 5 ActivityKindInteractionDestroy ActivityKind = 6 ActivityKindInteractionResponse ActivityKind = 7 ActivityKindInteractionList ActivityKind = 8 ActivityKindLuckyColor ActivityKind = 9 ActivityKindNickname ActivityKind = 10 ActivityKindTalk ActivityKind = 11 ActivityKindWeapon ActivityKind = 12 ActivityKindWeather ActivityKind = 13 ActivityKindLottery ActivityKind = 14 )
type Channel ¶
func FindChannel ¶
Click to show internal directories.
Click to hide internal directories.