commit 3ff8417955a50ff5edf39405b76fd8b70332e18e
parent 0f4c83964cf8b2a1dcf5681c2288e7ef436f1ee8
Author: Bruno <b-coimbra@hotmail.com>
Date: Wed, 18 Mar 2020 18:11:19 -0300
Update ship.ts
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/commands/ship.ts b/lib/commands/ship.ts
@@ -15,7 +15,7 @@ export default home_scope => {
first: message.mentions.users.length === 1
? message.author.displayAvatarURL()
: message.mentions.users[0],
- second: message.mentions.users[1]
+ second: message.mentions.users[1].displayAvatarURL()
};
const responses = [
@@ -60,7 +60,7 @@ export default home_scope => {
let die: number = Math.floor(Math.random() * 100);
let response: string =
- `${getPercentage(die)} ${getResponse(die)} \\n` +
+ `${getPercentage(die)} ${getResponse(die)} \n` +
`${userAvatars.first} :white_heart: ${userAvatars.second}`.format(FORMATS.block_quote);
message.answer(response);