Adding more gifs
This commit is contained in:
parent
89592c5719
commit
62c024154d
4
index.js
4
index.js
@ -4,7 +4,7 @@ const dotenv = require('dotenv');
|
|||||||
const Discord = require('discord.js');
|
const Discord = require('discord.js');
|
||||||
const client = new Discord.Client();
|
const client = new Discord.Client();
|
||||||
const giphy = require('giphy-api')(process.env.giphyAPIKey);
|
const giphy = require('giphy-api')(process.env.giphyAPIKey);
|
||||||
const debug = true;
|
const debug = false;
|
||||||
const links = require('./links.json');
|
const links = require('./links.json');
|
||||||
|
|
||||||
dotenv.config();
|
dotenv.config();
|
||||||
@ -21,6 +21,8 @@ client.once('ready', () => {
|
|||||||
client.login(process.env.TOKEN);
|
client.login(process.env.TOKEN);
|
||||||
|
|
||||||
client.on('message', message => {
|
client.on('message', message => {
|
||||||
|
if (message.author.bot) return;
|
||||||
|
|
||||||
const pre = message.content.slice(0, -4);
|
const pre = message.content.slice(0, -4);
|
||||||
const ext = message.content.slice(-4);
|
const ext = message.content.slice(-4);
|
||||||
let gifFound = false;
|
let gifFound = false;
|
||||||
|
@ -4,6 +4,14 @@
|
|||||||
"name": "nod",
|
"name": "nod",
|
||||||
"embed_url": "https://tenor.com/view/smile-nod-yes-robert-redford-beard-gif-10489927"
|
"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",
|
"name": "psh",
|
||||||
"embed_url": "https://tenor.com/view/ed-bassmaster-youtuber-youtube-influencer-psh-gif-10556767"
|
"embed_url": "https://tenor.com/view/ed-bassmaster-youtuber-youtube-influencer-psh-gif-10556767"
|
||||||
|
Loading…
Reference in New Issue
Block a user