mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 23:05:04 +02:00
Fix
This commit is contained in:
@@ -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)] });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user