commit | 4e0b325fe20d4f1eb86477fa86e0c80544570288 | [log] [tgz] |
---|---|---|
author | TheCodedProf <samuel.shuert@gmail.com> | Sat Feb 18 21:49:38 2023 -0500 |
committer | TheCodedProf <samuel.shuert@gmail.com> | Sat Feb 18 21:49:38 2023 -0500 |
tree | b8e0cdc7e1457e4234138cf10c20efcff6f2b2b8 | |
parent | 8a8dbdfea813eb971fb5cab28bd8ee837d313d24 [diff] [blame] |
finished?
diff --git a/src/commands/server/buttons.ts b/src/commands/server/buttons.ts index 4a299b2..bc90983 100644 --- a/src/commands/server/buttons.ts +++ b/src/commands/server/buttons.ts
@@ -224,7 +224,7 @@ } } } else if(i.isStringSelectMenu()) { - await i.deferUpdate(); + try {await i.deferUpdate();} catch (err) {} switch(i.customId) { case "color": { data.color = colors[i.values[0]!]!;