codePreviews: forgot to require fetch
This commit is contained in:
parent
73576a911a
commit
732be207d2
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue