Add credits

This commit is contained in:
Jan 2020-12-27 14:32:05 +01:00
parent 01c647d675
commit e3c471e390

View file

@ -1,9 +1,10 @@
const { MessageEmbed } = require("discord.js"); const { MessageEmbed } = require("discord.js");
const { client } = require("..");
const prefix = process.env.BOT_PREFIX || '-'; const prefix = process.env.BOT_PREFIX || '-';
module.exports.meta = { module.exports.meta = {
name: 'help', name: 'help',
aliases: ['h'], aliases: ['info'],
staffOnly: false staffOnly: false
} }
@ -24,6 +25,8 @@ module.exports.run = async (message, args) => {
addCmd(embed, 'top', 'Karma leaderboard'); addCmd(embed, 'top', 'Karma leaderboard');
addCmd(embed, 'setcoins', '[Staff command] Manage a user\'s coins') 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); message.channel.send(embed);
} }