started adding plugin system
This commit is contained in:
@@ -7,9 +7,10 @@ import (
|
||||
"github.com/disgoorg/snowflake/v2"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/vaporvee/acecore/custom"
|
||||
"github.com/vaporvee/acecore/struct_cmd"
|
||||
)
|
||||
|
||||
var cmd_sticky Command = Command{
|
||||
var cmd_sticky struct_cmd.Command = struct_cmd.Command{
|
||||
Definition: discord.SlashCommandCreate{
|
||||
Name: "sticky",
|
||||
Description: "Stick or unstick messages to the bottom of the current channel",
|
||||
@@ -55,7 +56,7 @@ var cmd_sticky Command = Command{
|
||||
},
|
||||
}
|
||||
|
||||
var context_sticky Command = Command{
|
||||
var context_sticky struct_cmd.Command = struct_cmd.Command{
|
||||
Definition: discord.MessageCommandCreate{
|
||||
Name: "Stick to channel",
|
||||
DefaultMemberPermissions: json.NewNullablePtr(discord.PermissionManageMessages),
|
||||
|
Reference in New Issue
Block a user