mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-18 15:00:00 +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 }) {
|
async run({ message, args, pluginData }) {
|
||||||
const hexcodeMatch = args.color?.match(hexColorRegex);
|
const hexcodeMatch = args.color.match(hexColorRegex);
|
||||||
if (!hexcodeMatch?.[1]) {
|
if (!hexcodeMatch?.[1]) {
|
||||||
sendErrorMessage(pluginData, message.channel, "Invalid hex code");
|
sendErrorMessage(pluginData, message.channel, "Invalid hex code");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue