Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/natico/src/mod.ts>NaticoCommandHandler#enableSlash

A powerful and customizable framework for Discordeno
Latest
method NaticoCommandHandler.prototype.enableSlash
Re-export
import { NaticoCommandHandler } from "https://deno.land/x/natico@4.0.0-pre.4/src/mod.ts";

Check if commands have slash data and if they do it will activete it be carefull to no accidentally enable them globally, first searches if the command is already enabled and if it changed since and edit it accordingly otherwise creates a command also deletes unused slash commands

Parameters

optional
guildID: bigint
  • Specific guild to enable slash commands on