Updated environment var names to match convention
This commit is contained in:
@@ -5,7 +5,7 @@ import dotenv from 'dotenv';
|
||||
dotenv.config();
|
||||
|
||||
const approvedLinksChannel = "767303243285790721";
|
||||
const restrictedChannelIds = process.env.LINKCOP_RESTRICTED_CHANNELS.split(',');
|
||||
const restrictedChannelIds = process.env.LINKCOP_RESTRICTED_CHANNEL_IDS.split(',');
|
||||
|
||||
const linkRegExp = /(?:http[s]?:\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&\/=]*)/g
|
||||
|
||||
|
||||
Reference in New Issue
Block a user