db

package
v0.0.0-...-9298588 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLog

func AddLog(orgMsg *discordgo.MessageCreate, guildId, groupId string, content *string, channelid, messageid string)

func AutoLogCleaner

func AutoLogCleaner()

func CleanOldLog

func CleanOldLog() (int64, error)

func Close

func Close()

func DeleteLog

func DeleteLog(guildId, groupId string, content *string)

func LoadGuild

func LoadGuild(id string) *config.Guild

func SaveGuild

func SaveGuild(id string) error

func SearchLog

func SearchLog(session *discordgo.Session, guildId, groupId string, content *string) (found bool, channelid string, messageid string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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