mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-02 08:41:25 +03:00
Add else to fix topic testing
This commit is contained in:
@@ -76,7 +76,7 @@ module.exports = {
|
|||||||
.setDescription('Please limit your ticket topic to less than 256 characters. A short sentence will do.')
|
.setDescription('Please limit your ticket topic to less than 256 characters. A short sentence will do.')
|
||||||
.setFooter(guild.name, guild.iconURL())
|
.setFooter(guild.name, guild.iconURL())
|
||||||
);
|
);
|
||||||
} if (!/("|'|`)("|'|`)/.test(config.default_topic)) {
|
} else if (!/("|'|`)("|'|`)/.test(config.default_topic)) {
|
||||||
topic = config.default_topic;
|
topic = config.default_topic;
|
||||||
}
|
}
|
||||||
else if (topic.length < 1) {
|
else if (topic.length < 1) {
|
||||||
|
Reference in New Issue
Block a user