mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 08:22:22 +02:00
Remove commands that no longer work, fix others
This commit is contained in:
@@ -49,6 +49,7 @@ module.exports = class FactCommand extends Command {
|
||||
format: 'json',
|
||||
formatversion: 2
|
||||
});
|
||||
if (!body.query.random[0].title) return 'Facts are hard to find sometimes.';
|
||||
return body.query.random[0].title;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user