Showing
2 changed files
with
7 additions
and
5 deletions
... | @@ -2,8 +2,8 @@ const Discord = require('discord.js'); | ... | @@ -2,8 +2,8 @@ const Discord = require('discord.js'); |
2 | 2 | ||
3 | module.exports = { | 3 | module.exports = { |
4 | name: 'breathe', | 4 | name: 'breathe', |
5 | - description: 'Embeds a gif', | 5 | + description: 'Sends a breathing gif', |
6 | - execute(message, args, Discord){ | 6 | + async run(client, message, args){ |
7 | message.channel.send('https://images.squarespace-cdn.com/content/v1/5f6a71b620b6aa40a963641d/1609631567334-8E5V3K3WXD4PW4YWB0ZZ/6a-1575918606525.gif'); | 7 | message.channel.send('https://images.squarespace-cdn.com/content/v1/5f6a71b620b6aa40a963641d/1609631567334-8E5V3K3WXD4PW4YWB0ZZ/6a-1575918606525.gif'); |
8 | } | 8 | } |
9 | } | 9 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -8,13 +8,15 @@ module.exports = { | ... | @@ -8,13 +8,15 @@ module.exports = { |
8 | const subreddits = [ | 8 | const subreddits = [ |
9 | "aww", | 9 | "aww", |
10 | "puppies", | 10 | "puppies", |
11 | - "toebeans" | 11 | + "toebeans", |
12 | + "floof" | ||
12 | ] | 13 | ] |
13 | - const random = subreddits[Math.floor(Math.random()*subreddits.length -1)]; | 14 | + const random = subreddits[Math.floor(Math.random()*subreddits.length)]; |
14 | const img = await randomPuppy(random); | 15 | const img = await randomPuppy(random); |
15 | 16 | ||
16 | const cute = new Discord.MessageEmbed() | 17 | const cute = new Discord.MessageEmbed() |
17 | - .setDescription("Some cute animals to blow away your anxieties!") | 18 | + .setTitle('Huggable buddies') |
19 | + .setDescription(`A buddy from r/${random} has come for the rescue!`) | ||
18 | .setColor('#91B2C7') | 20 | .setColor('#91B2C7') |
19 | .setURL(`https://reddit.com/r/${random}`) | 21 | .setURL(`https://reddit.com/r/${random}`) |
20 | .setImage(img); | 22 | .setImage(img); | ... | ... |
-
Please register or login to post a comment