diff --git a/index.js b/index.js index 07c87fe..ff2dfdd 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ const dotenv = require('dotenv'); const Discord = require('discord.js'); const client = new Discord.Client(); const giphy = require('giphy-api')(process.env.giphyAPIKey); -const debug = true; +const debug = false; const links = require('./links.json'); dotenv.config(); @@ -21,6 +21,8 @@ client.once('ready', () => { client.login(process.env.TOKEN); client.on('message', message => { + if (message.author.bot) return; + const pre = message.content.slice(0, -4); const ext = message.content.slice(-4); let gifFound = false; diff --git a/links.json b/links.json index 4cacb21..dd12423 100644 --- a/links.json +++ b/links.json @@ -4,6 +4,14 @@ "name": "nod", "embed_url": "https://tenor.com/view/smile-nod-yes-robert-redford-beard-gif-10489927" }, + { + "name": "shedsalive", + "embed_url": "https://giphy.com/embed/glL1yvxJ4KvYc" + }, + { + "name": "shedsdead", + "embed_url": "http://voidf1sh.me/shedsdead.gif" + }, { "name": "psh", "embed_url": "https://tenor.com/view/ed-bassmaster-youtuber-youtube-influencer-psh-gif-10556767"