diff --git a/src/events/messageReactionAdd.js b/src/events/messageReactionAdd.js index e43cf79..8418d38 100644 --- a/src/events/messageReactionAdd.js +++ b/src/events/messageReactionAdd.js @@ -90,7 +90,7 @@ module.exports = { } - if (/^[a-zA-Z0-9]+$/.test(config.default_topic)) { + if (!/("|'|`)("|'|`)/.test(config.default_topic)) { topic = config.default_topic; } else { topic = 'No topic given (created via panel)';