mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 14:55:40 +02:00
Improve roleplay commands
This commit is contained in:
@@ -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}**` : ''}._`;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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}**` : ''}._`;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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}**` : ''}._`;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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}**` : ''}._`;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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}**` : ''}._`;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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}**` : ''}._`;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "114.17.0",
|
||||
"version": "114.17.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user