mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Inhale Command
This commit is contained in:
@@ -73,6 +73,7 @@ FIST_BUMP_ALBUM_ID=
|
||||
HIGH_FIVE_ALBUM_ID=
|
||||
HOLD_HANDS_ALBUM_ID=
|
||||
HUG_ALBUM_ID=
|
||||
INHALE_ALBUM_ID=
|
||||
KAREN_ALBUM_ID=
|
||||
KILL_ALBUM_ID=
|
||||
KISS_ALBUM_ID=
|
||||
|
||||
@@ -132,7 +132,7 @@ in the appropriate channel's topic to use it.
|
||||
|
||||
## Commands
|
||||
|
||||
Total: 406
|
||||
Total: 407
|
||||
|
||||
### Utility:
|
||||
|
||||
@@ -582,6 +582,7 @@ Total: 406
|
||||
* **high-five:** High Fives a user.
|
||||
* **hold-hands:** Holds hands with a user.
|
||||
* **hug:** Hugs a user.
|
||||
* **inhale:** Inhales a user.
|
||||
* **kill:** Kills a user.
|
||||
* **kiss:** Kisses a user.
|
||||
* **pat:** Pats a user.
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum');
|
||||
const { INHALE_ALBUM_ID } = process.env;
|
||||
|
||||
module.exports = class InhaleCommand extends ImgurAlbumCommand {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'inhale',
|
||||
group: 'roleplay',
|
||||
memberName: 'inhale',
|
||||
description: 'Inhales a user.',
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
albumID: INHALE_ALBUM_ID,
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'What user do you want to roleplay with?',
|
||||
type: 'user'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
generateText(msg, user) {
|
||||
return `_**${msg.author.username}** inhales **${user.username}** but gained no ability._`;
|
||||
}
|
||||
};
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "113.20.3",
|
||||
"version": "113.21.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user