Added /drawtriangle command
This commit is contained in:
parent
07f83853a5
commit
7ddf0e6a8e
@ -35,6 +35,7 @@ module.exports = {
|
||||
break;
|
||||
|
||||
}
|
||||
console.log(codeBlock("", output));
|
||||
await interaction.reply(codeBlock("", output));
|
||||
console.log("User " + interaction.user.tag + " ran /drawtriangle");
|
||||
},
|
||||
|
6
main.ts
6
main.ts
@ -1,9 +1,9 @@
|
||||
// Require the necessary discord.js classes
|
||||
const { Client, Events, GatewayIntentBits, REST, Routes, Collection, FLAGS, MessageMentionOptions } = require('discord.js');
|
||||
const { Client, Events, GatewayIntentBits, REST, Routes, Collection, FLAGS, MessageMentionOptions, codeBlock, SlashCommandBuilder } = require('discord.js');
|
||||
const Discord = require('discord.js');
|
||||
const { clientId, guildId, token } = require('./key.json');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
let fs = require('node:fs');
|
||||
let path = require('node:path');
|
||||
|
||||
// Create a new client instance
|
||||
const client = new Discord.Client({
|
||||
|
Loading…
x
Reference in New Issue
Block a user