mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 06:42:51 +02:00
Fix lint
This commit is contained in:
@@ -32,6 +32,6 @@ module.exports = class WouldYouRatherCommand extends Command {
|
|||||||
async fetchScenario(nsfw) {
|
async fetchScenario(nsfw) {
|
||||||
const { body } = await request.get('https://www.rrrather.com/botapi');
|
const { body } = await request.get('https://www.rrrather.com/botapi');
|
||||||
if (body.nsfw && !nsfw) return this.fetchScenario(nsfw);
|
if (body.nsfw && !nsfw) return this.fetchScenario(nsfw);
|
||||||
return body;
|
return body;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user