2020-10-06 15:18:33 +00:00
|
|
|
const client = require("../utils/client.js");
|
2020-02-11 01:49:35 +00:00
|
|
|
|
|
|
|
exports.run = async () => {
|
2020-10-06 15:18:33 +00:00
|
|
|
let prefix = "";
|
|
|
|
if (client.guilds.has("592399417676529688")) {
|
|
|
|
const patrons = client.guilds.get("592399417676529688").members.filter((i) => {
|
|
|
|
return i.roles.includes("741386733047906475");
|
|
|
|
});
|
|
|
|
prefix = "Thanks to the following patrons for their support:\n";
|
|
|
|
for (const patron of patrons) {
|
|
|
|
prefix += `**- ${patron.username}**\n`;
|
|
|
|
}
|
|
|
|
prefix += "\n";
|
|
|
|
}
|
|
|
|
return `${prefix}Like esmBot? Consider supporting the developer on Patreon to help keep it running! https://patreon.com/TheEssem`;
|
2020-02-11 01:49:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
exports.aliases = ["support", "patreon", "patrons"];
|
|
|
|
exports.category = 1;
|
|
|
|
exports.help = "Learn more about how you can support esmBot's development";
|