How do invokable properties work?

So I´ve been using Ayako´s local variables like {{member}} for welcomes, and today while making the nitro embed, I wanted to fetch the boosts count and tier. Looking at the docs link Ayako provides, I found out they should be {{cmd.guild.premiumSubscriptionCount}} and {{cmd.guild.premiumTier}}, but after typing such, they don´t get replaced. Probably I just made a typo, but before wasting another boost finding out, I want to ask here how they actually work, or if they even do in first place. In the embed they don´t, but using /stp they do.
3 Replies
Lolo
Lolo2mo ago
You're on the right track! cmd only works for /stp though, if you look at the Nitro Notifications section in the embed builder you'll see what you actually have to use in there. Instead of cmd.guild you need to use member.guild, so your reference is actually {{member.guild.premiumSubscriptionCount}}
No description
LAUC0603
LAUC0603OP2mo ago
Ok so I just messed the owner of the property... To be honest, I just didn´t think they would be all under member, and also the link guides you to a homepage, so I searched for the Guild class instead and thought that would be different from the one in quick help and ended up with the /stp syntax. Thank you for your always fast and effective help, I wouldn´t have found out by myself. :AMVibe:
Lolo
Lolo2mo ago
Oh? That's problematic, I'll fix that No worries, that's why I'm here

Did you find this page helpful?