diff --git a/structures/Client.js b/structures/Client.js index e94959ce..2ce91935 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.resolve(path.join(__dirname, '..', 'tf_models', 'nsfw', 'web_model')).href, + url.pathToFileURL(path.resolve(path.join(__dirname, '..', 'tf_models', 'nsfw', 'web_model'))).href, { type: 'graph' } ); this.nsfwModel = model;