mirror of
https://github.com/reality/dbot.git
synced 2024-11-28 06:49:25 +01:00
Oh shit, forgot that quote categories may be several words long. Removed parametisation until further thought takes place.
This commit is contained in:
parent
309755ba5d
commit
a6024c9b7d
@ -28,6 +28,7 @@ var quotes = function(dbot) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Parse quote parameters
|
// Parse quote parameters
|
||||||
|
/*
|
||||||
var paramRefs = quoteString.match(/~~\$([1-9])~~/g);
|
var paramRefs = quoteString.match(/~~\$([1-9])~~/g);
|
||||||
var thisParam;
|
var thisParam;
|
||||||
|
|
||||||
@ -38,6 +39,7 @@ var quotes = function(dbot) {
|
|||||||
quoteString = quoteString.replace("~~$" + thisParam + "~~", params[thisParam]);
|
quoteString = quoteString.replace("~~$" + thisParam + "~~", params[thisParam]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
return quoteString;
|
return quoteString;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user