changed w0bm regex
This commit is contained in:
parent
33cd46ff91
commit
2bed8abb82
2
index.js
2
index.js
|
@ -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!",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user