added slash command support
This commit is contained in:
@@ -281,8 +281,6 @@ async function handleSelect(interaction: SelectMenuInteraction) {
|
|||||||
//on slash command
|
//on slash command
|
||||||
async function handleCommand(interaction: CommandInteraction) {
|
async function handleCommand(interaction: CommandInteraction) {
|
||||||
|
|
||||||
console.log(interaction.commandName)
|
|
||||||
|
|
||||||
let category: number;
|
let category: number;
|
||||||
|
|
||||||
switch (interaction.commandName) {
|
switch (interaction.commandName) {
|
||||||
|
|||||||
Reference in New Issue
Block a user