woomy/src/commands/servericon.js

18 lines
454 B
JavaScript

exports.run = (client, message) => {
message.channel.send(`**${message.guild}'s** icon is:\n${message.guild.iconURL({format: "png", dynamic: true, size: 2048})}`)
};
exports.conf = {
enabled: true,
guildOnly: true,
aliases: ["sicon", "guildicon"],
permLevel: "User",
requiredPerms: ["EMBED_LINKS"]
};
exports.help = {
name: "servericon",
category: "Utility",
description: "Displays the icon for the server.",
usage: "servericon"
};