3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Fix tag character limit

This commit is contained in:
Dragory 2019-03-16 18:54:09 +02:00
parent 15408b04d7
commit 39b7b35cbf

View file

@ -242,7 +242,7 @@ export class TagsPlugin extends ZeppelinPlugin<ITagsPluginConfig, ITagsPluginPer
}
if (body.trim() === "") return;
if (body.length > 2048) return;
if (body.length > 2000) return;
const channel = this.guild.channels.get(msg.channel_id) as TextChannel;
const responseMsg = await channel.createMessage(body);