zuhaz / tem-bot

(unfinished) discord bot written in js with discord.js to backup discord servers
0 stars 0 forks source link

Error backup-create #3

Closed Owned67 closed 1 day ago

Owned67 commented 2 days ago

Error fetching channels: CombinedPropertyError (1) Received one or more errors

input[3] CombinedPropertyError (1) Received one or more errors
input.value
ExpectedConstraintError > s.string().lengthLessThanOrEqual()
Invalid string length
Expected: expected.length <= 1024
Received:
'\n˅ 📢❗🚨 Important 📢❗🚨:\n # ⭐règlement\n # ⭐règles-discord\n # 📢annonces\n # langage\n # 🔔changelog\n # 🛒magasin-store\n # 🎁vote\n # 🖥liste-des-commandes\n # rust-officiel\n # 🚨mises-à-jours-rust \n # tip4serv\n # report\n\n˅ 👋rouille:\n # 😍bienvenue-sur-le-discord\n # compte-associé\n # 💬discussions\n # 💰donation💓\n # 🎬video-image📸\n # 🙏vote\n # ✍🏻tutoriels-joueur\n # vip\n # vip⊹\n # vip⊹⊹\n\n˅ VIP:\n\n˅ 🙋🏻Suggestions:\n # 💡suggestions\n # 👕skin-suggestions\n\n˅ Tickets-Rouille:\n # ticket-fr\n # ticket-en\n # ticket-archive\n\n˅ Tickets / Bugs report:\n # tickets\n # tickets-archive\n\n˅ Salons vocaux:\n > team-alpha\n > team-bravo\n > team-charlie\n > team-delta\n > team-echo\n > AFK\n > Prince et Bidule live\n\n˅ logs-serveur:\n # ban-kick-mute\n # chat-game\n # connexion-déconnexion-joueurs\n # event-game\n # mort-respawn\n # status-serveur\n\n˅ 🛡Admin:\n # aide-ticket\n # commande-a dmin\n # dev\n # todo\n # command-rcon\n # plugings-a-voir\n # logs-compteassociés\n # plugins-broken-maj\n # mises-a-jour-plugins\n # backupserveur\n\n˅ Logger-Admin:\n # connexion-deco-avance\n # chatteam-clans-team\n # message-privee\n # perm-rcon-divers\n # plugins-error\n # plugins-settings\n # pseudo-changer\n # verif-compte\n'
at _ArrayValidator.handle (F:\rust\Bot Rust\tem-bot-main\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:1254:70)
at _ArrayValidator.parse (F:\rust\Bot Rust\tem-bot-main\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:972:90)
at EmbedBuilder.addFields (F:\rust\Bot Rust\tem-bot-main\node_modules\@discordjs\builders\dist\index.js:225:31)
at formatChannelsRoles (F:\rust\Bot Rust\tem-bot-main\commands\main\backup-prev.js:147:10)
at previewData (F:\rust\Bot Rust\tem-bot-main\commands\main\backup-prev.js:48:37)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.execute (F:\rust\Bot Rust\tem-bot-main\commands\main\backup-prev.js:169:5)
at async Object.execute (F:\rust\Bot Rust\tem-bot-main\events\client\interactionCreate.js:49:7)
zuhaz commented 2 days ago

Ah, I forgot to check for the maximum limit. I just pushed a new update in commit #2a362dd. You can pull it, and it should fix your issue.

Owned67 commented 2 days ago

will try the update

Owned67 commented 1 day ago

Thanks very much, error is gone!