tk ⚝
tk ⚝
Explore posts from servers
SIASapphire - Imagine a framework
Created by tk ⚝ on 5/11/2023 in #sapphire-support
Paginated message exceeding 25 pages
(node:1) [PAGINATED_MESSAGE_EXCEEDED_MAXIMUM_AMOUNT_OF_PAGES] PaginatedMessageExceededMessagePageAmount: Maximum amount of pages exceeded for PaginatedMessage. Please check your instance of PaginatedMessage and ensure that you do not exceed 25 pages total.
If you do need more than 25 pages you can extend the class and overwrite the actions in the constructor.
(node:1) [PAGINATED_MESSAGE_EXCEEDED_MAXIMUM_AMOUNT_OF_PAGES] PaginatedMessageExceededMessagePageAmount: Maximum amount of pages exceeded for PaginatedMessage. Please check your instance of PaginatedMessage and ensure that you do not exceed 25 pages total.
If you do need more than 25 pages you can extend the class and overwrite the actions in the constructor.
Why can't paginated messages go more than 25 pages, and how do I do what the last line is telling me to do?
7 replies
SIASapphire - Imagine a framework
Created by tk ⚝ on 4/5/2023 in #sapphire-support
User counts
Is it possible to get a semi-accurate / approximate user count without fetching all users / servers when trying to update it? I've tried: - client.users.cache.size (but this does not have all users included and i don't want to client.users.fetch() a lot) - Fetching every guild and using guild.approximateMemberCount while removing duplicates
5 replies
SIASapphire - Imagine a framework
Created by tk ⚝ on 4/4/2023 in #sapphire-support
Mentioning application subcommands
Follow up from this: https://discord.com/channels/737141877803057244/1086724151429042246 Is there a way to mention subcommands too? I noticed that base subcommands cannot be mentioned, i.e. in a subcommand /a b you cannot mention using </a:id>.
25 replies
SIASapphire - Imagine a framework
Created by tk ⚝ on 3/20/2023 in #sapphire-support
How do I use autocompleteRun on subcommands?
^ As the title says. I can't seem to figure out how subcommands can have autocompleteRun implemented. I'm not too worried about duplicates, since there is only one subcommand that uses autocomplete.
8 replies
SIASapphire - Imagine a framework
Created by tk ⚝ on 3/18/2023 in #sapphire-support
Quick question regarding application descriptions
How does one link an application command in the description of an app? Looks like a mention syntax, but I can't seem to figure it out.
7 replies
SIASapphire - Imagine a framework
Created by tk ⚝ on 3/13/2023 in #sapphire-support
Question regarding slash commands / aliases
Hi, is there a way for me to register command aliases as slash commands as well? For example: Command named one has aliases: ['two', 'three'] Is it possible for the command to be run via all of these: /one. /two and /three? They can have the same description and options.
10 replies
SIASapphire - Imagine a framework
Created by tk ⚝ on 2/12/2023 in #sapphire-support
Default preconditions
I'd like to create a check for all commands before they are run, and I'd like an alternative to pasting a precondition in every command file. Is there another way I can, for example, intercept the interactionCreate event or something?
6 replies
SIASapphire - Imagine a framework
Created by tk ⚝ on 1/10/2023 in #sapphire-support
Context Menu Interactions Not Received
13 replies