mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Wink Command
This commit is contained in:
@@ -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=
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "88.5.0",
|
||||
"version": "88.6.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user