mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-10 02:45:22 +02:00
Unmerge bro-hoof and fist-bump
This commit is contained in:
@@ -44,6 +44,7 @@ YODA_KEY=
|
||||
|
||||
# Imgur album IDs
|
||||
BLUSH_ALBUM_ID=
|
||||
BRO_HOOF_ALBUM_ID=
|
||||
EAT_ALBUM_ID=
|
||||
FIDGET_ALBUM_ID=
|
||||
FIST_BUMP_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 (297)
|
||||
## Commands (298)
|
||||
### Utility:
|
||||
|
||||
* **eval**: Executes JavaScript code.
|
||||
@@ -342,6 +342,7 @@ on the [home server](https://discord.gg/sbMe32W).
|
||||
### Roleplay:
|
||||
|
||||
* **blush**: Blushes at a user.
|
||||
* **bro-hoof**: Gives a user a bro hoof.
|
||||
* **eat**: Eats a user.
|
||||
* **fist-bump**: Fistbumps a user.
|
||||
* **high-five**: High Fives a user.
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum');
|
||||
const { BRO_HOOF_ALBUM_ID } = process.env;
|
||||
|
||||
module.exports = class BroHoofCommand extends ImgurAlbumCommand {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'bro-hoof',
|
||||
group: 'roleplay',
|
||||
memberName: 'bro-hoof',
|
||||
description: 'Gives a user a bro hoof.',
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
albumID: BRO_HOOF_ALBUM_ID,
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'What user do you want to roleplay with?',
|
||||
type: 'user'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
generateText(msg, user) {
|
||||
return `_**${msg.author.username}** gives **${user.username}** a bro hoof._`;
|
||||
}
|
||||
};
|
||||
@@ -5,7 +5,6 @@ module.exports = class FistBumpCommand extends ImgurAlbumCommand {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'fist-bump',
|
||||
aliases: ['bro-hoof'],
|
||||
group: 'roleplay',
|
||||
memberName: 'fist-bump',
|
||||
description: 'Fist-bumps a user.',
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "90.0.6",
|
||||
"version": "90.0.7",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user