Make single response files local

This commit is contained in:
Daniel Odendahl Jr
2018-09-09 15:39:23 +00:00
parent cfe627fb61
commit 5fdc9c1853
13 changed files with 13 additions and 7 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

+2 -1
View File
@@ -1,4 +1,5 @@
const Command = require('../../structures/Command');
const path = require('path');
module.exports = class DarkThemeLightThemeCommand extends Command {
constructor(client) {
@@ -13,6 +14,6 @@ module.exports = class DarkThemeLightThemeCommand extends Command {
}
run(msg) {
return msg.say({ files: ['https://i.imgur.com/k0G7sZL.png'] });
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'dark-theme-light-theme.png')] });
}
};
+2 -1
View File
@@ -1,4 +1,5 @@
const Command = require('../../structures/Command');
const path = require('path');
module.exports = class EatPantCommand extends Command {
constructor(client) {
@@ -12,6 +13,6 @@ module.exports = class EatPantCommand extends Command {
}
run(msg) {
return msg.say({ files: ['https://i.imgur.com/uEk0kI4.jpg'] });
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'eat-pant.png')] });
}
};
+2 -1
View File
@@ -1,4 +1,5 @@
const Command = require('../../structures/Command');
const path = require('path');
module.exports = class IsntJokeCommand extends Command {
constructor(client) {
@@ -13,6 +14,6 @@ module.exports = class IsntJokeCommand extends Command {
}
run(msg) {
return msg.say({ files: ['https://i.imgur.com/QdDAeZF.jpg'] });
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'isnt-joke.png')] });
}
};
+2 -1
View File
@@ -1,4 +1,5 @@
const Command = require('../../structures/Command');
const path = require('path');
module.exports = class ItsJokeCommand extends Command {
constructor(client) {
@@ -13,6 +14,6 @@ module.exports = class ItsJokeCommand extends Command {
}
run(msg) {
return msg.say({ files: ['https://i.imgur.com/NwKdpKK.jpg'] });
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'its-joke.png')] });
}
};
+2 -1
View File
@@ -1,4 +1,5 @@
const Command = require('../../structures/Command');
const path = require('path');
module.exports = class SpamCommand extends Command {
constructor(client) {
@@ -12,6 +13,6 @@ module.exports = class SpamCommand extends Command {
}
run(msg) {
return msg.say({ files: ['https://i.imgur.com/Az9IrXY.jpg'] });
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'spam.png')] });
}
};
+2 -1
View File
@@ -1,4 +1,5 @@
const Command = require('../../structures/Command');
const path = require('path');
module.exports = class WynautCommand extends Command {
constructor(client) {
@@ -13,6 +14,6 @@ module.exports = class WynautCommand extends Command {
}
run(msg) {
return msg.say({ files: ['https://i.imgur.com/6ew9ysx.png'] });
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'wynaut.png')] });
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "90.7.1",
"version": "90.7.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {