diff --git a/index.js b/index.js index f820b92..85e4443 100644 --- a/index.js +++ b/index.js @@ -81,7 +81,7 @@ process.nextTick(()=>irc.client.connect()); const handleChatCommands = require("./chatCommands")(irc, db); const shiftRegex = /^(\.?\w+:?)\s+(.+)/; -const w0bmregex = /(?:[^\/]|^|\/\/)w0bm\.com\/(?:(?:b\/)?\w+\/)?([^ '\/@`´]+\.(webm)|\d+)/i; +const w0bmregex = /(?:[^\/]|^|\/\/)w0bm\.com\/(?:\w+\/){0,2}([^ '\/@`´]+\.(webm)|\d+)/i; const capsmsg = [ "Captain capslock did not approve this!",