mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 06:11:49 +00:00
Update backend/src/plugins/Utility/commands/ColorCmd.ts
Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
29da6c5354
commit
beda091049
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export const ColorCmd = utilityCmd({
|
|||
},
|
||||
|
||||
async run({ message, args, pluginData }) {
|
||||
const hexcodeMatch = args.color?.match(hexColorRegex);
|
||||
const hexcodeMatch = args.color.match(hexColorRegex);
|
||||
if (!hexcodeMatch?.[1]) {
|
||||
sendErrorMessage(pluginData, message.channel, "Invalid hex code");
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue