From 732be207d2b8b70c294eb4b75448d4b7d00bbd13 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sat, 7 May 2022 16:58:15 -0600 Subject: [PATCH] codePreviews: forgot to require fetch --- src/modules/codePreviews.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/codePreviews.js b/src/modules/codePreviews.js index 5474575..a702bc7 100644 --- a/src/modules/codePreviews.js +++ b/src/modules/codePreviews.js @@ -1,5 +1,6 @@ const events = require("../lib/events.js"); const {hasFlag} = require("../lib/guildSettings.js"); +const fetch = require("node-fetch"); const REGEX_GITHUB = /(?:\s|^)https?:\/\/(www\.)?github\.com\/.+?\/.+?\/blob\/([a-zA-Z0-9-_.#/]*)/g;