mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2025-02-17 06:40:17 -05:00
substring players to prevent 4096 embeds limit
This commit is contained in:
parent
5d0a0b299b
commit
63d36bda8c
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ module.exports = {
|
|||
const Embed = new MessageEmbed()
|
||||
.setColor('#FFFF00')
|
||||
.setTitle('Players')
|
||||
.setDescription(players);
|
||||
.setDescription(players.substring(0, 4096));
|
||||
channeldc.send({embeds: [Embed]});
|
||||
} catch (e) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue