If explode is done by the author, say "casts explosion"

This commit is contained in:
Dragon Fire
2020-06-10 13:51:23 -04:00
parent 241b370911
commit bc75abd317
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -24,6 +24,6 @@ module.exports = class ExplodeCommand extends ImgurAlbumCommand {
generateText(msg, user) {
const noUserAuthor = msg.author.id !== user.id;
return `_**${msg.author.username}** explodes${noUserAuthor ? ` **${user.username}**` : ''}._`;
return `_**${msg.author.username}** ${noUserAuthor ? `explodes **${user.username}**` : 'casts explosion'}._`;
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "116.15.1",
"version": "116.15.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {