package
module
Version:
v0.0.0-...-701fc27
Opens a new window with list of versions in this module.
Published: Jan 12, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
README
¶
BotUtils
A package that contains certain utilities I use for my Discord bots
Documentation
¶
View Source
var (
Cron = &cron{}
Database = &db{}
Env = &env{}
)
Exports modules
WaitFor will block for the specified duration or the context is cancelled
WaitUntil will block until the given time.
Can be cancelled by cancelling the context
type RoleError struct {
Err error
}
RoleError is an error type for when there is a problem giving a role to a user.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.