many changes
This commit is contained in:
@@ -17,8 +17,8 @@ import (
|
||||
|
||||
func RegisterLogs() *laniakea.Plugin[database.Context] {
|
||||
p := laniakea.NewPlugin[database.Context]("Logs")
|
||||
p.AddCommand(p.NewCommand(getLogs, "logs").SkipCommandAutoGen())
|
||||
p.AddCommand(p.NewCommand(getMsgLogs, "msglogs").SkipCommandAutoGen())
|
||||
p.NewCommand(getLogs, "logs").SkipCommandAutoGen()
|
||||
p.NewCommand(getMsgLogs, "msglogs").SkipCommandAutoGen()
|
||||
p.AddMiddleware(AdminMiddleware())
|
||||
return p
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user