Mikkel
Mikkel
SIASapphire - Imagine a framework
Created by Mikkel on 7/16/2023 in #sapphire-support
i18n question
So this works
applyLocalizedBuilder(builder, 'commands/names', 'commands/descriptions:name')
applyLocalizedBuilder(builder, 'commands/names', 'commands/descriptions:name')
but when I use applyLocalizedBuilder(builder, 'commands:ping') I get
Invalid string format
2023-07-16 02:17:47 - ERROR -
2023-07-16 02:17:47 - ERROR - Expected: expected /^[\p{Ll}\p{Lm}\p{Lo}\p{N}\p{sc=Devanagari}\p{sc=Thai}_-]+$/u.test(expected) to be true
2023-07-16 02:17:47 - ERROR -
2023-07-16 02:17:47 - ERROR - Received:
2023-07-16 02:17:47 - ERROR - | 'pingName'
Invalid string format
2023-07-16 02:17:47 - ERROR -
2023-07-16 02:17:47 - ERROR - Expected: expected /^[\p{Ll}\p{Lm}\p{Lo}\p{N}\p{sc=Devanagari}\p{sc=Thai}_-]+$/u.test(expected) to be true
2023-07-16 02:17:47 - ERROR -
2023-07-16 02:17:47 - ERROR - Received:
2023-07-16 02:17:47 - ERROR - | 'pingName'
19 replies
SIASapphire - Imagine a framework
Created by Mikkel on 7/11/2023 in #sapphire-support
Question - handling interactions
How do you guys handle for example temporary interactions but if the user presses on it again a few hours later it should time out?
15 replies
SIASapphire - Imagine a framework
Created by Mikkel on 7/5/2023 in #sapphire-support
Language support
Is there i18n support for slash commands?
5 replies
SIASapphire - Imagine a framework
Created by Mikkel on 7/1/2023 in #sapphire-support
Question - Dependancy injection
Is there DI built-in or do you recommend a certain one that fits nice with the library?
6 replies
SIASapphire - Imagine a framework
Created by Mikkel on 7/1/2023 in #sapphire-support
Question: Sharding support
How well does sapphire scale? Can I use the original approach of making d.js scale or does sapphire do it for me? let's say a both in 10k servers.
6 replies