diff --git a/.env.example b/.env.example index bec2973b..a0d83a4d 100644 --- a/.env.example +++ b/.env.example @@ -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= diff --git a/README.md b/README.md index 8a8cbb93..7a2e4d01 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/commands/roleplay/bite.js b/commands/roleplay/bite.js new file mode 100644 index 00000000..5f1461ed --- /dev/null +++ b/commands/roleplay/bite.js @@ -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}**._`; + } +}; diff --git a/package.json b/package.json index f10cdcf7..6664b317 100644 --- a/package.json +++ b/package.json @@ -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" },