Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms

master
Chloe Fontenot 🏳️‍⚧️ 2023-04-04 21:07:17 +07:00
commit 6cad3cf277
2 changed files with 4 additions and 3 deletions

@ -35,6 +35,7 @@ module.exports = {
break; break;
} }
console.log(codeBlock("", output));
await interaction.reply(codeBlock("", output)); await interaction.reply(codeBlock("", output));
console.log("User " + interaction.user.tag + " ran /drawtriangle"); console.log("User " + interaction.user.tag + " ran /drawtriangle");
}, },

@ -1,9 +1,9 @@
// Require the necessary discord.js classes // 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 Discord = require('discord.js');
const { clientId, guildId, token } = require('./key.json'); const { clientId, guildId, token } = require('./key.json');
const fs = require('node:fs'); let fs = require('node:fs');
const path = require('node:path'); let path = require('node:path');
// Create a new client instance // Create a new client instance
const client = new Discord.Client({ const client = new Discord.Client({