Bite Command

This commit is contained in:
Dragon Fire
2020-09-21 09:06:25 -04:00
parent b129793d1f
commit e7dfc864ec
4 changed files with 31 additions and 2 deletions
+1
View File
@@ -74,6 +74,7 @@ XIAO_GITHUB_REPO_NAME=
XIAO_GITHUB_REPO_USERNAME=
# Imgur album IDs
BITE_ALBUM_ID=
BLUSH_ALBUM_ID=
BRO_HOOF_ALBUM_ID=
CELEBRATE_ALBUM_ID=
+2 -1
View File
@@ -256,7 +256,7 @@ in the appropriate channel's topic to use it.
## Commands
Total: 543
Total: 544
### Utility:
@@ -843,6 +843,7 @@ Total: 543
### Roleplay:
* **bite:** Bites a user.
* **blush:** Blushes at a user.
* **bro-hoof:** Gives a user a bro hoof.
* **celebrate:** Celebrates.
+27
View File
@@ -0,0 +1,27 @@
const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum');
const { BITE_ALBUM_ID } = process.env;
module.exports = class BiteCommand extends ImgurAlbumCommand {
constructor(client) {
super(client, {
name: 'bite',
aliases: ['nom'],
group: 'roleplay',
memberName: 'bite',
description: 'Bites a user.',
clientPermissions: ['ATTACH_FILES'],
albumID: BITE_ALBUM_ID,
args: [
{
key: 'user',
prompt: 'What user do you want to roleplay with?',
type: 'user'
}
]
});
}
generateText(msg, user) {
return `_**${msg.author.username}** bites **${user.username}**._`;
}
};
+1 -1
View File
@@ -62,7 +62,7 @@
"utf-8-validate": "^5.0.2"
},
"devDependencies": {
"eslint": "^7.8.1",
"eslint": "^7.9.0",
"eslint-config-amber": "^2.0.3",
"eslint-plugin-json": "^2.1.2"
},