mirror of
https://github.com/maubot/maubot
synced 2025-08-29 23:30:39 +00:00
Add command spec parsing/handler execution
This commit is contained in:
parent
307a32e0c0
commit
4536fcfe62
9 changed files with 282 additions and 37 deletions
|
@ -62,6 +62,11 @@ func (db *Database) CreateTables() {
|
|||
if err != nil {
|
||||
log.Errorln("Failed to create plugin table:", err)
|
||||
}
|
||||
|
||||
err = db.CommandSpec.CreateTable()
|
||||
if err != nil {
|
||||
log.Errorln("Failed to create command_spec table:", err)
|
||||
}
|
||||
}
|
||||
|
||||
func (db *Database) SQL() *sql.DB {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue