Fly Prank Command

This commit is contained in:
Daniel Odendahl Jr
2018-10-03 23:19:34 +00:00
parent 74d1131548
commit 5f643ba92a
3 changed files with 21 additions and 1 deletions
+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 (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...
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

+19
View File
@@ -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')] });
}
};