From a849e9c1c3098c7a57e93220681bd1e5f8d76948 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 21 Mar 2024 21:47:32 -0400 Subject: [PATCH] Fix --- commands/random-img/xiao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/random-img/xiao.js b/commands/random-img/xiao.js index 8b3322c3..385da40e 100644 --- a/commands/random-img/xiao.js +++ b/commands/random-img/xiao.js @@ -25,6 +25,6 @@ module.exports = class XiaoCommand extends Command { run(msg) { const image = images[Math.floor(Math.random() * images.length)]; - return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'xiao', images[image])] }); + return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'xiao', image)] }); } };