mrmBot-Matrix/commands/help.js

7 lines
349 B
JavaScript
Raw Normal View History

2019-09-13 20:02:41 +00:00
const database = require("../utils/database.js");
exports.run = async (message) => {
const guild = (await database.guilds.find({ id: message.channel.guild.id }).exec())[0];
2019-10-28 20:21:06 +00:00
return `${message.author.mention}, my command list can be found here: https://essem.space/esmBot/commands.html?dev=true\nThis server's prefix is \`${guild.prefix}\`.`;
2019-09-13 20:02:41 +00:00
};