damn
This commit is contained in:
parent
69a8706552
commit
ed06f0b3d9
|
@ -10,7 +10,7 @@ module.exports = (bot, trigger, lib) => {
|
||||||
level: 0,
|
level: 0,
|
||||||
active: 1,
|
active: 1,
|
||||||
func: (e) => {
|
func: (e) => {
|
||||||
if(e.channel.getName() == '#kbot-dev') {
|
if(e.channel.getName() == '#f0ck') {
|
||||||
if(!e.message.match(/\!ignore/)) {
|
if(!e.message.match(/\!ignore/)) {
|
||||||
var tmp = e.message.match(/https?:\/\/(www\.)?(yotu\.be\/|youtube\.com\/)?((.+\/)?(watch(\?v=|.+&v=))?(v=)?)([\w_-]{11})(&.+)?/gi); // get links
|
var tmp = e.message.match(/https?:\/\/(www\.)?(yotu\.be\/|youtube\.com\/)?((.+\/)?(watch(\?v=|.+&v=))?(v=)?)([\w_-]{11})(&.+)?/gi); // get links
|
||||||
e.reply(tmp);
|
e.reply(tmp);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user