diff --git a/README.md b/README.md index 009eaf52..dcd3769a 100644 --- a/README.md +++ b/README.md @@ -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 (322) +## Commands (323) ### Utility: * **eval:** Executes JavaScript code. @@ -96,6 +96,7 @@ on the [home server](https://discord.gg/sbMe32W). * **dark-theme-light-theme:** Determines whether you use dark or light theme. * **eat-pant:** Eat pant. * **eggs-get-laid:**: Sends the ultimate roast. +* **fly:** Sends a fake fly that looks surprisngly real. * **give-flower:** Gives Xiao Pai a flower. * **hi:** Hello. * **isnt-joke:** Isn't joke... diff --git a/assets/images/fly.png b/assets/images/fly.png new file mode 100644 index 00000000..39e4ce8e Binary files /dev/null and b/assets/images/fly.png differ diff --git a/commands/single/fly.js b/commands/single/fly.js new file mode 100644 index 00000000..7f46c532 --- /dev/null +++ b/commands/single/fly.js @@ -0,0 +1,19 @@ +const Command = require('../../structures/Command'); +const path = require('path'); + +module.exports = class FlyCommand extends Command { + constructor(client) { + super(client, { + name: 'fly', + aliases: ['fly-prank'], + group: 'single', + memberName: 'fly', + description: 'Sends a fake fly that looks surprisngly real.', + clientPermissions: ['ATTACH_FILES'] + }); + } + + run(msg) { + return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'fly.png')] }); + } +};