From 467d282a3ccf2ec9dfc31d1ec908ebe77f537b53 Mon Sep 17 00:00:00 2001 From: Supositware Date: Sun, 18 Dec 2022 22:54:26 +0100 Subject: [PATCH] Removed some useless things --- commands/admin/autoresponse.js | 1 - commands/fun/reddit.js | 3 +-- commands/fun/tweet.js | 3 ++- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/commands/admin/autoresponse.js b/commands/admin/autoresponse.js index 664d581..65480f6 100644 --- a/commands/admin/autoresponse.js +++ b/commands/admin/autoresponse.js @@ -9,7 +9,6 @@ export default { category: 'admin', async execute(interaction, args, client) { const autoresponseStat = await db.autoresponseStat.findOne({ where: { serverID: interaction.guild.id } }); - console.log(autoresponseStat); if (!autoresponseStat) { const body = { serverID: interaction.guild.id, stat: 'enable' }; await db.autoresponseStat.create(body); diff --git a/commands/fun/reddit.js b/commands/fun/reddit.js index ced0ad3..95330f9 100644 --- a/commands/fun/reddit.js +++ b/commands/fun/reddit.js @@ -1,5 +1,4 @@ -import { SlashCommandBuilder } from 'discord.js'; -import { EmbedBuilder } from 'discord.js'; +import { SlashCommandBuilder, EmbedBuilder } from 'discord.js'; import fetch from 'node-fetch'; export default { diff --git a/commands/fun/tweet.js b/commands/fun/tweet.js index 70955b0..4ed2430 100644 --- a/commands/fun/tweet.js +++ b/commands/fun/tweet.js @@ -29,7 +29,8 @@ export default { async execute(interaction, args, client) { const content = args.content; const attachment = args.image; - + console.log(args); + console.log(attachment); if (!content && !attachment) { return interaction.reply({ content: 'Uh oh! You are missing any content for me to tweet!', ephemeral: true }); }