Celebrate Command

This commit is contained in:
Dragon Fire
2020-04-21 10:13:29 -04:00
parent fdee7cdcca
commit 11cfbdaa16
4 changed files with 32 additions and 2 deletions
+1
View File
@@ -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=
+2 -1
View File
@@ -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.
+28
View File
@@ -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
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "113.10.0",
"version": "113.11.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {