mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-10 19:04:42 +02:00
Celebrate Command
This commit is contained in:
@@ -62,6 +62,7 @@ XIAO_GITHUB_REPO_USERNAME=
|
||||
# Imgur album IDs
|
||||
BLUSH_ALBUM_ID=
|
||||
BRO_HOOF_ALBUM_ID=
|
||||
CELEBRATE_ALBUM_ID=
|
||||
EAT_ALBUM_ID=
|
||||
FIDGET_ALBUM_ID=
|
||||
FIST_BUMP_ALBUM_ID=
|
||||
|
||||
@@ -132,7 +132,7 @@ in the appropriate channel's topic to use it.
|
||||
|
||||
## Commands
|
||||
|
||||
Total: 396
|
||||
Total: 397
|
||||
|
||||
### Utility:
|
||||
|
||||
@@ -567,6 +567,7 @@ Total: 396
|
||||
|
||||
* **blush:** Blushes at a user.
|
||||
* **bro-hoof:** Gives a user a bro hoof.
|
||||
* **celebrate:** Celebrates.
|
||||
* **eat:** Feeds a user.
|
||||
* **fist-bump:** Fist-bumps a user.
|
||||
* **high-five:** High Fives a user.
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum');
|
||||
const { CELEBRATE_ALBUM_ID } = process.env;
|
||||
|
||||
module.exports = class CelebrateCommand extends ImgurAlbumCommand {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'celebrate',
|
||||
aliases: ['party'],
|
||||
group: 'roleplay',
|
||||
memberName: 'celebrate',
|
||||
description: 'Celebrates.',
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
albumID: CELEBRATE_ALBUM_ID,
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'What user do you want to roleplay with?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
generateText(msg, user) {
|
||||
return `_**${user.username}** celebrates._`;
|
||||
}
|
||||
};
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "113.10.0",
|
||||
"version": "113.11.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user