Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.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/examples/deps.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