From 2d7de8ff05c0cd0dfa5078231a32b0c0da2ac13e Mon Sep 17 00:00:00 2001 From: rhearmas <34490428+qu-ota@users.noreply.github.com> Date: Mon, 3 Feb 2020 20:48:56 -0500 Subject: [PATCH] trying to fun the fact --- commands/Jokes/randomfact.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Jokes/randomfact.js b/commands/Jokes/randomfact.js index 627161d..06e8fd7 100644 --- a/commands/Jokes/randomfact.js +++ b/commands/Jokes/randomfact.js @@ -1,5 +1,5 @@ exports.run = async (client, message, args, level) => { - const data = await this.fetchURL("https://uselessfacts.jsph.pl/random.json"); + const data = await fetchURL("https://uselessfacts.jsph.pl/random.json"); return message.channel.send({ embed: client.embed(`Fun fact!`, data.text, [ {