From e3c471e3909fcdb096d0f65d612d9c3581c263cf Mon Sep 17 00:00:00 2001 From: Jan <26145882+imverum@users.noreply.github.com> Date: Sun, 27 Dec 2020 14:32:05 +0100 Subject: [PATCH] Add credits --- commands/help.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/commands/help.js b/commands/help.js index bfa46dc..b2d7d72 100644 --- a/commands/help.js +++ b/commands/help.js @@ -1,9 +1,10 @@ const { MessageEmbed } = require("discord.js"); +const { client } = require(".."); const prefix = process.env.BOT_PREFIX || '-'; module.exports.meta = { name: 'help', - aliases: ['h'], + aliases: ['info'], staffOnly: false } @@ -24,6 +25,8 @@ module.exports.run = async (message, args) => { addCmd(embed, 'top', 'Karma leaderboard'); addCmd(embed, 'setcoins', '[Staff command] Manage a user\'s coins') + embed.addField('\u200b', `This bot was made by \`${client.users.cache.get('284323826165350400')?.tag}\`.\nCheck out the source code [here](https://gitea.janderedev.xyz/Jan/obama-bot "Click me!").`, false); + message.channel.send(embed); }