mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
Fix
This commit is contained in:
@@ -18,6 +18,6 @@ module.exports = class UnspoilerCommand extends Command {
|
||||
}
|
||||
|
||||
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