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

Fix tag character limit

This commit is contained in:
Dragory 2019-03-16 18:54:09 +02:00
parent c293c8c856
commit fb952bf725

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);