Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이세린
/
anxietymanager
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이세린
2022-06-03 16:38:56 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4c0cdf8d99cbc04b1a4931ecc367d053ec0de9c0
4c0cdf8d
1 parent
a9b9410c
minor fixes, ready to push
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
commands/breathe.js
commands/cute.js
commands/breathe.js
View file @
4c0cdf8
...
...
@@ -2,8 +2,8 @@ const Discord = require('discord.js');
module
.
exports
=
{
name
:
'breathe'
,
description
:
'
Embeds a
gif'
,
execute
(
message
,
args
,
Discord
){
description
:
'
Sends a breathing
gif'
,
async
run
(
client
,
message
,
args
){
message
.
channel
.
send
(
'https://images.squarespace-cdn.com/content/v1/5f6a71b620b6aa40a963641d/1609631567334-8E5V3K3WXD4PW4YWB0ZZ/6a-1575918606525.gif'
);
}
}
\ No newline at end of file
...
...
commands/cute.js
View file @
4c0cdf8
...
...
@@ -8,13 +8,15 @@ module.exports = {
const
subreddits
=
[
"aww"
,
"puppies"
,
"toebeans"
"toebeans"
,
"floof"
]
const
random
=
subreddits
[
Math
.
floor
(
Math
.
random
()
*
subreddits
.
length
-
1
)];
const
random
=
subreddits
[
Math
.
floor
(
Math
.
random
()
*
subreddits
.
length
)];
const
img
=
await
randomPuppy
(
random
);
const
cute
=
new
Discord
.
MessageEmbed
()
.
setDescription
(
"Some cute animals to blow away your anxieties!"
)
.
setTitle
(
'Huggable buddies'
)
.
setDescription
(
`A buddy from r/
${
random
}
has come for the rescue!`
)
.
setColor
(
'#91B2C7'
)
.
setURL
(
`https://reddit.com/r/
${
random
}
`
)
.
setImage
(
img
);
...
...
Please
register
or
login
to post a comment