mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 13:53:12 +02:00
Merge falcon punch with punch
This commit is contained in:
@@ -48,7 +48,6 @@ BRO_HOOF_ALBUM_ID=
|
||||
CUDDLE_ALBUM_ID=
|
||||
EAT_ALBUM_ID=
|
||||
EVOLVE_ALBUM_ID=
|
||||
FALCON_PUNCH_ALBUM_ID=
|
||||
FIDGET_ALBUM_ID=
|
||||
FIST_BUMP_ALBUM_ID=
|
||||
HIGH_FIVE_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 (303)
|
||||
### Utility:
|
||||
|
||||
* **eval**: Executes JavaScript code.
|
||||
@@ -346,7 +346,6 @@ on the [home server](https://discord.gg/sbMe32W).
|
||||
* **cuddle**: Cuddles a user.
|
||||
* **eat**: Eats a user.
|
||||
* **evolve**: Evolves a user.
|
||||
* **falcon-punch**: Falcon Punches a user.
|
||||
* **fist-bump**: Fistbumps a user.
|
||||
* **high-five**: High Fives a user.
|
||||
* **hit-with-shovel**: Hits a user with a shovel.
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
const RoleplayCommand = require('../../structures/commands/Roleplay');
|
||||
const { FALCON_PUNCH_ALBUM_ID } = process.env;
|
||||
|
||||
module.exports = class FalconPunchCommand extends RoleplayCommand {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'falcon-punch',
|
||||
group: 'roleplay',
|
||||
memberName: 'falcon-punch',
|
||||
description: 'Falcon Punches a user.',
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
albumID: FALCON_PUNCH_ALBUM_ID,
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'What user do you want to roleplay with?',
|
||||
type: 'user'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
generateText(msg, user) {
|
||||
return `_**${msg.author.username}** falcon punches **${user.username}**._`;
|
||||
}
|
||||
};
|
||||
@@ -5,6 +5,7 @@ module.exports = class PunchCommand extends RoleplayCommand {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'punch',
|
||||
aliases: ['falcon-punch'],
|
||||
group: 'roleplay',
|
||||
memberName: 'punch',
|
||||
description: 'Punches a user.',
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "89.0.0",
|
||||
"version": "89.0.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user