From 3eb549b5939eceb925274bca96e6b5f36fd6ab52 Mon Sep 17 00:00:00 2001 From: TobenderZephyr Date: Wed, 28 Apr 2021 19:21:15 +0200 Subject: [PATCH] (fix) Uncaught ReferenceError: Discord is not defined --- commands/Chants.js | 1 + commands/Spells.js | 1 + 2 files changed, 2 insertions(+) diff --git a/commands/Chants.js b/commands/Chants.js index 0afdcc1..de46f37 100644 --- a/commands/Chants.js +++ b/commands/Chants.js @@ -1,5 +1,6 @@ //const globals = require('../globals'); const globals = require('../globals'); +const Discord = require('discord.js'); const db = globals.db; const { findMessage } = require('@dsabot/findMessage'); const { getChant } = require('@dsabot/getChant'); diff --git a/commands/Spells.js b/commands/Spells.js index 3cb0c13..2e810bc 100644 --- a/commands/Spells.js +++ b/commands/Spells.js @@ -1,6 +1,7 @@ //const globals = require('../globals'); const globals = require('../globals'); const db = globals.db; +const Discord = require('discord.js'); const { findMessage } = require('@dsabot/findMessage'); const { getSpell } = require('@dsabot/getSpell'); module.exports = {