file description module export const userIDRegex = /\d{17,18}/ ; export const auditLogRegex = /[,.\-_a-zA-Z0-9]{1,32}/ ; export const urlRegex = /https?:\/\/(?:www\.)?([-a-zA-Z0-9@:%._+~#=]{1,256})\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/ ; export const validTimeRegex = /\d{1,2}( )?(?:(y(?= )|y(ear(s)?)?)|(w(?= )|w(eek(s)?)?)|(d(?= )|d(ay(s)?)?)|(h(?= )|h(our(s)?)?(r(s)?)?)|(m(?= )|m(inute(s)?)?(in(s)?)?)|(s(?= )|s(econd(s)?)?(ec(s)?)?))( and( )?)?([, ]{1,2})?/gi ; export const videoFileRegex = /\.(swf|mp4|webm|avi)$/i ; export const hexColorRegex = /[#]?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/ ; export const defaultEmojiRegex = /\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff]/ ; export const emojiIDArgRegex = /(?<=<a?:.*:)\d*(?=>)/ ; export const emojiIDRegex = /<:[^\s]+:\d{17,18}>/ ; export const inviteRegex = /(https?:\/\/)?discord.(gg)\/[a-z0-9]+/i ; export const discordOnlyInviteRegex = /(https?:\/\/)?(www\.)?(discord\.(gg)|discord(app)?\.com\/invite)\/(.+)/i ; export const fullInviteRegex = /(https?:\/\/)?(www\.)?(discord\.(gg|io|me|li)|discord(?:app)?\.com\/invite)\/.+\w/i ; export const defaultAvatar = "https://cdn.discordapp.com/embed/avatars/0.png" ; export const imageFileTypes = [ "png" , "jpg" , "jpeg" , "webp" , "gif" , "bmp" ] ; export const blacklistedTags = [ "loli" , "child" , "rape" , "shota" , "lolicon" , "shotacon" , "child_on_child" , "guro" , "cub" , "gore" , "scat" , "piss" , "pee" , "urine" , "urination" , ] ; export const ISOcodes = [ "auto" , "af" , "sq" , "am" , "ar" , "hy" , "az" , "eu" , "be" , "bn" , "bs" , "bg" , "ca" , "ceb" , "ny" , "zh-cn" , "zh-tw" , "co" , "hr" , "cs" , "da" , "nl" , "en" , "eo" , "et" , "tl" , "fi" , "fr" , "fy" , "gl" , "ka" , "de" , "el" , "gu" , "ht" , "ha" , "haw" , "iw" , "hi" , "hmn" , "hu" , "is" , "ig" , "id" , "ga" , "it" , "ja" , "jw" , "kn" , "kk" , "km" , "ko" , "ku" , "ky" , "lo" , "la" , "lv" , "lt" , "lb" , "mk" , "mg" , "ms" , "ml" , "mt" , "mi" , "mr" , "mn" , "my" , "ne" , "no" , "ps" , "fa" , "pl" , "pt" , "ma" , "ro" , "ru" , "sm" , "gd" , "sr" , "st" , "sn" , "sd" , "si" , "sk" , "sl" , "so" , "es" , "su" , "sw" , "sv" , "tg" , "ta" , "te" , "th" , "tr" , "uk" , "ur" , "uz" , "vi" , "cy" , "xh" , "yi" , "yo" , "zu" , ] ;