Documentation ¶
Index ¶
- type Ban
- type DB
- func (db *DB) AddListing(name, url string, embed bool) (l Listing, err error)
- func (db *DB) AddListingMessage(listing int64, id discord.MessageID, ch discord.ChannelID) error
- func (db *DB) AllListings() (l []Listing, err error)
- func (db *DB) CreateBan(users []*discord.User, reason string) (b Ban, err error)
- func (db *DB) IsRepresentative(id uint64) (isRep bool)
- func (db *DB) Listing(id int64) (l Listing, err error)
- func (db *DB) ListingMessages(id int64) (m []ListingMessage, err error)
- func (db *DB) SetBanMessage(id int64, msg discord.MessageID) error
- func (db *DB) UpdateEvidence(id int64, evidence string) (b Ban, err error)
- func (db *DB) UpdateReason(id int64, reason string) (b Ban, err error)
- type Listing
- type ListingMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ban ¶
type DB ¶
func (*DB) AddListing ¶
func (*DB) AddListingMessage ¶
func (*DB) AllListings ¶
func (*DB) IsRepresentative ¶
func (*DB) ListingMessages ¶
func (db *DB) ListingMessages(id int64) (m []ListingMessage, err error)
func (*DB) UpdateEvidence ¶
Click to show internal directories.
Click to hide internal directories.