From a8657441d583f99a9a4f881522e279ca2226c701 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 22 Mar 2021 18:11:15 -0400 Subject: [PATCH] Fix lint --- structures/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structures/Client.js b/structures/Client.js index f8e7566e..41160748 100644 --- a/structures/Client.js +++ b/structures/Client.js @@ -188,7 +188,7 @@ module.exports = class XiaoClient extends CommandoClient { async loadNSFWModel() { const model = await nsfw.load( - url.pathToFileURL(path.join(__dirname, '..', 'tf_models', 'nsfw', 'web_model')).href + '/', + `${url.pathToFileURL(path.join(__dirname, '..', 'tf_models', 'nsfw', 'web_model')).href}/`, { type: 'graph' } ); this.nsfwModel = model;