diff --git a/exts/init.go b/exts/init.go index 8b13789..e10715f 100644 --- a/exts/init.go +++ b/exts/init.go @@ -1 +1,9 @@ +package exts +import ( + "github.com/dustinpianalto/disgoman" +) + +func AddCommands(h *disgoman.CommandManager) { + +} diff --git a/main.go b/main.go index 5bcd1e0..7234bb2 100644 --- a/main.go +++ b/main.go @@ -7,6 +7,7 @@ import ( "syscall" "github.com/bwmarrin/discordgo" + "github.com/dustinpianalto/dice/exts" "github.com/dustinpianalto/disgoman" ) @@ -50,12 +51,8 @@ func main() { CheckPermissions: false, } - // Add Command Handlers - exts.AddCommandHandlers(&handler) - - //if _, ok := handler.Commands["help"]; !ok { - // handler.AddDefaultHelpCommand() - //} + // Add Commands + exts.AddCommands(&handler) dg.AddHandler(handler.OnMessage) dg.AddHandler(handler.StatusManager.OnReady) diff --git a/pkg/roller/roller.go b/pkg/roller/roller.go new file mode 100644 index 0000000..67a3575 --- /dev/null +++ b/pkg/roller/roller.go @@ -0,0 +1,5 @@ +package roller + +func ParseRollString(s string) int { + +}