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
+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')] });
}
};