mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 00:07:36 +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')] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user