forked from embee/woomy
Merge branch 'master' into dev
This commit is contained in:
commit
ad8a8831af
4 changed files with 4 additions and 4 deletions
|
@ -85,7 +85,7 @@ exports.run = async (client, message, [args, ...reason], level) => {
|
||||||
if (channel) {
|
if (channel) {
|
||||||
let embed = new Discord.MessageEmbed();
|
let embed = new Discord.MessageEmbed();
|
||||||
embed.setColor("#a652bb");
|
embed.setColor("#a652bb");
|
||||||
embed.setAuthor("User muted!", user.user.avatarURL({format: "png", dynamic: true}));
|
embed.setAuthor("User muted!", user.user.avatarURL({format: "png", dynamic: true, size: 2048}));
|
||||||
embed.setDescription(
|
embed.setDescription(
|
||||||
`• User: ${user} (${user.user.id})\n• Mod: ${message.author} (${message.author.id})\n• Reason: ${muteReason}`
|
`• User: ${user} (${user.user.id})\n• Mod: ${message.author} (${message.author.id})\n• Reason: ${muteReason}`
|
||||||
);
|
);
|
||||||
|
|
|
@ -43,7 +43,7 @@ exports.run = async (client, message, args, level) => {
|
||||||
if (channel) {
|
if (channel) {
|
||||||
let embed = new Discord.MessageEmbed();
|
let embed = new Discord.MessageEmbed();
|
||||||
embed.setColor(embColour);
|
embed.setColor(embColour);
|
||||||
embed.setAuthor(raidToggle, message.author.avatarURL({dynamic: true}));
|
embed.setAuthor(raidToggle, message.author.avatarURL({format: "png", dynamic: true, size: 2048}));
|
||||||
embed.setDescription(`• Mod: ${message.author} (${message.author.id})`)
|
embed.setDescription(`• Mod: ${message.author} (${message.author.id})`)
|
||||||
try {
|
try {
|
||||||
channel.send({ embed });
|
channel.send({ embed });
|
||||||
|
|
|
@ -63,7 +63,7 @@ exports.run = async (client, message, args, level) => {
|
||||||
if (channel) {
|
if (channel) {
|
||||||
let embed = new Discord.MessageEmbed();
|
let embed = new Discord.MessageEmbed();
|
||||||
embed.setColor("#7a2f8f");
|
embed.setColor("#7a2f8f");
|
||||||
embed.setAuthor("User unmuted!", user.user.avatarURL({format: "png", dynamic: true}));
|
embed.setAuthor("User unmuted!", user.user.avatarURL({format: "png", dynamic: true, size: 2048}));
|
||||||
embed.setDescription(`• User: ${user} (${user.user.id})\n• Mod: ${message.author} (${message.author.id})`)
|
embed.setDescription(`• User: ${user} (${user.user.id})\n• Mod: ${message.author} (${message.author.id})`)
|
||||||
try {
|
try {
|
||||||
channel.send({ embed });
|
channel.send({ embed });
|
||||||
|
|
|
@ -230,4 +230,4 @@ module.exports = async (client, message) => {
|
||||||
client.logger.cmd(`${client.config.permLevels.find(l => l.level === level).name} ${message.author.username} (${message.author.id}) ran command ${cmd.help.name}`);
|
client.logger.cmd(`${client.config.permLevels.find(l => l.level === level).name} ${message.author.username} (${message.author.id}) ran command ${cmd.help.name}`);
|
||||||
|
|
||||||
cmd.run(client, message, args, level);
|
cmd.run(client, message, args, level);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue