fix name length not being set properly

This commit is contained in:
Cynthia Foxwell 2022-08-28 17:12:03 -06:00
parent adf3e5fe4d
commit 985d651309
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ function processMessage({
noColor = false,
}) {
if (name.length + 2 > comcord.state.nameLength)
comcord.statenameLength = name.length + 2;
comcord.state.nameLength = name.length + 2;
if (reply) {
const nameColor = reply.author.bot ? chalk.bold.yellow : chalk.bold.cyan;