Improve roleplay commands

This commit is contained in:
Dragon Fire
2020-05-20 11:38:01 -04:00
parent a7ee0d712e
commit 8c6404cf99
8 changed files with 15 additions and 8 deletions
+2 -1
View File
@@ -21,6 +21,7 @@ module.exports = class BlushCommand extends ImgurAlbumCommand {
}
generateText(msg, user) {
return `_**${msg.author.username}** blushes at **${user.username}**._`;
const noUserAuthor = msg.author.id !== user.id;
return `_**${msg.author.username}** blushes${noUserAuthor ? ` at **${user.username}**` : ''}._`;
}
};
+2 -1
View File
@@ -23,6 +23,7 @@ module.exports = class CelebrateCommand extends ImgurAlbumCommand {
}
generateText(msg, user) {
return `_**${user.username}** celebrates._`;
const noUserAuthor = msg.author.id !== user.id;
return `_**${msg.author.username}** celebrates${noUserAuthor ? ` with **${user.username}**` : ''}._`;
}
};
+2 -1
View File
@@ -22,6 +22,7 @@ module.exports = class EatCommand extends ImgurAlbumCommand {
}
generateText(msg, user) {
return `_**${user.username}** eats._`;
const noUserAuthor = msg.author.id !== user.id;
return `_**${msg.author.username}** eats${noUserAuthor ? ` with **${user.username}**` : ''}._`;
}
};
+2 -1
View File
@@ -23,6 +23,7 @@ module.exports = class SleepCommand extends ImgurAlbumCommand {
}
generateText(msg, user) {
return `_**${user.username}** falls asleep._`;
const noUserAuthor = msg.author.id !== user.id;
return `_**${msg.author.username}** falls asleep${noUserAuthor ? ` with **${user.username}**` : ''}._`;
}
};
+2 -1
View File
@@ -23,6 +23,7 @@ module.exports = class WakeUpCommand extends ImgurAlbumCommand {
}
generateText(msg, user) {
return `_**${user.username}** wakes up._`;
const noUserAuthor = msg.author.id !== user.id;
return `_**${msg.author.username}** wakes up${noUserAuthor ? ` **${user.username}**` : ''}._`;
}
};
+2 -1
View File
@@ -21,6 +21,7 @@ module.exports = class WaveCommand extends ImgurAlbumCommand {
}
generateText(msg, user) {
return `_**${msg.author.username}** waves at **${user.username}**._`;
const noUserAuthor = msg.author.id !== user.id;
return `_**${msg.author.username}** waves${noUserAuthor ? ` at **${user.username}**` : ''}._`;
}
};
+2 -1
View File
@@ -21,6 +21,7 @@ module.exports = class WinkCommand extends ImgurAlbumCommand {
}
generateText(msg, user) {
return `_**${msg.author.username}** winks at **${user.username}**._`;
const noUserAuthor = msg.author.id !== user.id;
return `_**${msg.author.username}** winks${noUserAuthor ? ` at **${user.username}**` : ''}._`;
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "114.17.0",
"version": "114.17.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {