mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 21:40:51 +02:00
Make single response files local
This commit is contained in:
@@ -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')] });
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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')] });
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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')] });
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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')] });
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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')] });
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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')] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user