Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from SomeRandom-Dev/master
Browse files Browse the repository at this point in the history
Fix webhooks "invalid"
  • Loading branch information
LockBlock-dev authored Aug 22, 2022
2 parents 4d59e31 + 84c7a3b commit 5aa8904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const config = require("../config.js");
const pkg = require("../package.json");

const postman = new Webhook(config.discordWebhookURL);
const webhookReg = /https:\/\/discord.com\/api\/webhooks\/\d{18}\/.+/;
const webhookReg = /https:\/\/discord.com\/api\/webhooks\/\d{18,}\/.+/;
const files = ["today", "balances"];
const clients = [];

Expand Down

0 comments on commit 5aa8904

Please sign in to comment.