mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +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'}._`;
|
||||
}
|
||||
};
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "116.15.1",
|
||||
"version": "116.15.2",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user