Add command to add guild to DB

pull/1/head
DustyP 6 years ago
parent 867a3bad29
commit 61a1b7e8db

@ -123,11 +123,20 @@ func AddCommandHandlers(h *disgoman.CommandManager) {
}) })
_ = h.AddCommand(&disgoman.Command{ _ = h.AddCommand(&disgoman.Command{
Name: "kick", Name: "kick",
Aliases: []string{""}, Aliases: nil,
Description: "Kicks the given user with the given reason", Description: "Kicks the given user with the given reason",
OwnerOnly: false, OwnerOnly: false,
Hidden: false, Hidden: false,
RequiredPermissions: disgoman.PermissionKickMembers, RequiredPermissions: disgoman.PermissionKickMembers,
Invoke: kickUser, Invoke: kickUser,
}) })
_ = h.AddCommand(&disgoman.Command{
Name: "addGuild",
Aliases: nil,
Description: "Adds the current guild to the database",
OwnerOnly: true,
Hidden: false,
RequiredPermissions: disgoman.PermissionManageServer,
Invoke: addGuild,
})
} }

Loading…
Cancel
Save