Wink Command

This commit is contained in:
Dragon Fire
2018-09-02 22:37:22 -04:00
parent e77f3139e2
commit d13b086885
4 changed files with 32 additions and 2 deletions
+3
View File
@@ -64,6 +64,9 @@ POKE_ALBUM_ID=
POSTER_ALBUM_ID=
PUNCH_ALBUM_ID=
SLAP_ALBUM_ID=
SLEEP_ALBUM_ID=
TACKLE_ALBUM_ID=
WAKE_UP_ALBUM_ID=
WAVE_ALBUM_ID=
WINK_ALBUM_ID=
XIAO_ALBUM_ID=
+2 -1
View File
@@ -15,7 +15,7 @@ Xiao is a Discord bot coded in JavaScript with
The bot is no longer available for invite. You can self-host the bot, or use her
on the [home server](https://discord.gg/sbMe32W).
## Commands (304)
## Commands (305)
### Utility:
* **eval**: Executes JavaScript code.
@@ -364,6 +364,7 @@ on the [home server](https://discord.gg/sbMe32W).
* **tackle**: Tackles a user.
* **wake-up**: Wakes up a user.
* **wave**: Waves at a user.
* **wink**: Winks at a user.
## Licensing
The bot is licensed under the GPL 3.0 license. See the file `LICENSE` for more
+26
View File
@@ -0,0 +1,26 @@
const RoleplayCommand = require('../../structures/commands/Roleplay');
const { WINK_ALBUM_ID } = process.env;
module.exports = class WinkCommand extends RoleplayCommand {
constructor(client) {
super(client, {
name: 'wink',
group: 'roleplay',
memberName: 'wink',
description: 'Winks at a user.',
clientPermissions: ['ATTACH_FILES'],
albumID: WINK_ALBUM_ID,
args: [
{
key: 'user',
prompt: 'What user do you want to roleplay with?',
type: 'user'
}
]
});
}
generateText(msg, user) {
return `_**${msg.author.username}** winks at **${user.username}**._`;
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "88.5.0",
"version": "88.6.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {