diff --git a/01-discordjs/commands/gif.js b/01-discordjs/commands/gif.js index f03d651..4518ac2 100644 --- a/01-discordjs/commands/gif.js +++ b/01-discordjs/commands/gif.js @@ -1,11 +1,12 @@ // Importing modules using ES6 syntax -import fetch from 'node-fetch'; import { SlashCommandBuilder, EmbedBuilder } from 'discord.js'; export const data = new SlashCommandBuilder() .setName('gif') .setDescription('Searches Tenor for gifs!') - .addStringOption((option) => option.setName('keywords').setDescription('The keywords to search Tenor with')); + .addStringOption((option) => + option.setName('keywords').setDescription('The keywords to search Tenor with') + ); // Execute function to interact with Tenor API and reply with a GIF export async function execute(interaction) { diff --git a/01-discordjs/package.json b/01-discordjs/package.json index cec2fcc..d2c3e6c 100644 --- a/01-discordjs/package.json +++ b/01-discordjs/package.json @@ -19,7 +19,6 @@ "homepage": "https://github.com/shiffman/Discord-Bot-A2Z#readme", "dependencies": { "discord.js": "^14.13.0", - "dotenv": "^16.3.1", - "node-fetch": "^3.3.2" + "dotenv": "^16.3.1" } }