changed w0bm regex

This commit is contained in:
GottZ 2017-08-24 19:12:26 +02:00
parent 33cd46ff91
commit 2bed8abb82

View File

@ -81,7 +81,7 @@ process.nextTick(()=>irc.client.connect());
const handleChatCommands = require("./chatCommands")(irc, db); const handleChatCommands = require("./chatCommands")(irc, db);
const shiftRegex = /^(\.?\w+:?)\s+(.+)/; 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 = [ const capsmsg = [
"Captain capslock did not approve this!", "Captain capslock did not approve this!",