diff --git a/commands/interaction/slash/utils/emoji.js b/commands/interaction/slash/utils/emoji.js index 03cbafd..2c48524 100644 --- a/commands/interaction/slash/utils/emoji.js +++ b/commands/interaction/slash/utils/emoji.js @@ -211,7 +211,7 @@ module.exports = { currentRevision = res.data.platforms[DEFAULT_PLATFORM].images[0].id - let selectTypeOptions = Object.keys(res.data.platforms).map((r) => { + let selectTypeOptions = Object.keys(res.data.platforms).splice(0, 25).map((r) => { let pl = res.data.platforms[r] return { label: pl.name, diff --git a/commands/message/utils/emoji.js b/commands/message/utils/emoji.js index 4fa7339..34c07f3 100644 --- a/commands/message/utils/emoji.js +++ b/commands/message/utils/emoji.js @@ -238,7 +238,7 @@ module.exports = { currentRevision = res.data.platforms[DEFAULT_PLATFORM].images[0].id - let selectTypeOptions = Object.keys(res.data.platforms).map((r) => { + let selectTypeOptions = Object.keys(res.data.platforms).splice(0, 25).map((r) => { let pl = res.data.platforms[r] return { label: pl.name,