Update hug to newest version

This commit is contained in:
Anthony M 2021-01-26 10:03:53 -06:00 committed by GitHub
parent ae7c551d62
commit ed3af3e2fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 2 deletions

View File

@ -5,7 +5,17 @@ module.exports = {
execute(client, message, args) {
const messageAuthor = message.author
const taggedUser = message.mentions.users.first();
const embed = {
const gifchoices = [
"https://media1.tenor.com/images/684efd91473dcfab34cb78bf16d211cf/tenor.gif?itemid=14495459",
"https://cdn.lowgif.com/medium/d26c65f2d66be540-merriberri-graphic-arts-services-requests.gif",
"https://cdn.lowgif.com/full/91e3f30773596637-.gif",
"https://thumbs.gfycat.com/WealthyWastefulBluemorphobutterfly-size_restricted.gif",
"https://data.whicdn.com/images/294164107/original.gif",
"https://media1.tenor.com/images/e5e7779385d003db13396e03b7fd1024/tenor.gif?itemid=16619907"
];
const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2);
var gif = (gifchoices[index]);
const embed = {
"title": "<a:ABlobCatHuggle:801232248035999784> Hug",
"description": "<@" + taggedUser + ">" + " You have been hugged by " + "<@" + messageAuthor + ">!",
"color": 8311585,
@ -14,7 +24,7 @@ module.exports = {
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
},
"image": {
"url": "https://i.imgur.com/r9aU2xv.gif?noredirect"
"url": gif
}
}