codePreviews: forgot to require fetch

This commit is contained in:
Cynthia Foxwell 2022-05-07 16:58:15 -06:00
parent 73576a911a
commit 732be207d2

View file

@ -1,5 +1,6 @@
const events = require("../lib/events.js"); const events = require("../lib/events.js");
const {hasFlag} = require("../lib/guildSettings.js"); const {hasFlag} = require("../lib/guildSettings.js");
const fetch = require("node-fetch");
const REGEX_GITHUB = const REGEX_GITHUB =
/(?:\s|^)https?:\/\/(www\.)?github\.com\/.+?\/.+?\/blob\/([a-zA-Z0-9-_.#/]*)/g; /(?:\s|^)https?:\/\/(www\.)?github\.com\/.+?\/.+?\/blob\/([a-zA-Z0-9-_.#/]*)/g;