package
Version:
v0.0.0-...-cdbca9a
Opens a new window with list of versions in this module.
Published: Mar 28, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Discord interface {
Start(guildID string)
Stop()
}
CreateBotInstance creates a new bot instance based on the module name.
Parameters:
- session: a Discord session
- module: the name of the module ("hi" or "hello")
Returns a Discord instance.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.