mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 00:04:48 +02:00
If explode is done by the author, say "casts explosion"
This commit is contained in:
@@ -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'}._`;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user