This commit is contained in:
parent
3ee2a80201
commit
7dab688298
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ module.exports = async function (userID, guild) {
|
||||||
if(downloadResult.value === ERROR_CODES.SUCCESS){
|
if(downloadResult.value === ERROR_CODES.SUCCESS){
|
||||||
const commandArgs = [`${coverFile}.${downloadResult.ext}`, "-resize", "1x1", "txt:-"]
|
const commandArgs = [`${coverFile}.${downloadResult.ext}`, "-resize", "1x1", "txt:-"]
|
||||||
let res = executeCommand("magick", commandArgs);
|
let res = executeCommand("magick", commandArgs);
|
||||||
if(!res.error) color = res.output.split("\n")[1].split(" ")[3];
|
if(!res.error) color = res.output.split("\n")[1].split(" ")[3].slice(0,7);
|
||||||
|
|
||||||
}
|
}
|
||||||
const embed = new EmbedBuilder()
|
const embed = new EmbedBuilder()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue