fix: add load (un)block command

This commit is contained in:
Siwoo Jeon 2025-07-07 18:59:55 +09:00
parent cbe77be8d3
commit ef7ab396b5
Signed by: migan
GPG key ID: 036E9A8C5E8E48DA
2 changed files with 3 additions and 1 deletions

View file

@ -7,7 +7,7 @@ import (
"git.wh64.net/muffin/goMuffin/utils" "git.wh64.net/muffin/goMuffin/utils"
) )
const MUFFIN_VERSION = "6.0.0-madeleine_develop.250704a" const MUFFIN_VERSION = "6.0.0-madeleine_develop.250707a"
var updatedString string = utils.RegexpDecimals.FindAllStringSubmatch(MUFFIN_VERSION, -1)[3][0] var updatedString string = utils.RegexpDecimals.FindAllStringSubmatch(MUFFIN_VERSION, -1)[3][0]

View file

@ -34,6 +34,8 @@ func init() {
go commands.Discommand.LoadCommand(commands.ChatCommand) go commands.Discommand.LoadCommand(commands.ChatCommand)
go commands.Discommand.LoadCommand(commands.RegisterCommand) go commands.Discommand.LoadCommand(commands.RegisterCommand)
go commands.Discommand.LoadCommand(commands.DeregisterCommand) go commands.Discommand.LoadCommand(commands.DeregisterCommand)
go commands.Discommand.LoadCommand(commands.BlockCommand)
go commands.Discommand.LoadCommand(commands.UnblockCommand)
go commands.Discommand.LoadComponent(components.DeleteLearnedDataComponent) go commands.Discommand.LoadComponent(components.DeleteLearnedDataComponent)
go commands.Discommand.LoadComponent(components.PaginationEmbedComponent) go commands.Discommand.LoadComponent(components.PaginationEmbedComponent)