birdbot/persistence/database.go
2023-04-01 22:25:54 +00:00

8 lines
206 B
Go

package persistence
// Database is an interface used to wrap persistant data
type Database interface {
GetDiscordMessage(id string) (string, error)
SetDiscordMessage(id string, messageID string) error
}