trying to fun the fact
This commit is contained in:
parent
5f0fc4c05b
commit
2d7de8ff05
|
@ -1,5 +1,5 @@
|
||||||
exports.run = async (client, message, args, level) => {
|
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, [
|
return message.channel.send({ embed: client.embed(`Fun fact!`, data.text, [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue