mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +02:00
Fix
This commit is contained in:
@@ -18,6 +18,6 @@ module.exports = class UnspoilerCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
run(msg, { message }) {
|
run(msg, { message }) {
|
||||||
return msg.say(message.content.replace(/\|\|(.+)\|\|/g, '$1'));
|
return msg.say(message.content.replace(/\|\|([^|]+)\|\|/g, '$1'));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user