mirror of
https://github.com/maubot/maubot
synced 2025-08-29 21:20:37 +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
|
@ -87,7 +87,7 @@ func (ps *PluginStatic) New() *Plugin {
|
|||
func (p *Plugin) Scan(row Scannable) *Plugin {
|
||||
err := row.Scan(&p.ID, &p.Type, &p.Enabled, &p.UserID)
|
||||
if err != nil {
|
||||
log.Fatalln("Database scan failed:", err)
|
||||
log.Errorln("Plugin scan failed:", err)
|
||||
}
|
||||
return p
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue