|
@@ -97,7 +97,7 @@ const commands = {
|
|
|
},
|
|
|
"react to": (msg, s) => {
|
|
|
if (!isAuthorised(msg.member)) return;
|
|
|
- const pattern = /^react to\s+(\<[^\>]+\>)\s+with\s+\<:[^:]+:([^\>]+)\>$/i;
|
|
|
+ const pattern = /^react to\s+"([^"]+)"\s+with\s+\<:[^:]+:([^\>]+)\>$/i;
|
|
|
let contents = pattern.exec(s);
|
|
|
if(contents != null) {
|
|
|
let reactable = contents[1];
|