Kiai API -> virtual message

Looking to integrate Kiai's leveling with my own STT bot as a better level up system. Docs on the virtual message endpoint aren't great, so I'm wondering a few things about it: * For a specific user in the server should I populate member.roles with all of their roles? * Does Kiai not take into account the message content at all? * There's also a field kiaiApplicationId in the JSON request, what should that be? Thanks :)
Solution:
Yeah the virtual message API is basically a hacky method no matter which way you look at it ioswoozy - Yes, we use those role IDs to compare against the blacklist, rather than waiting and trying to fetch the user from Discord - Correct, message length doesn't matter to kiai (we didn't even apply for the message content intent) - That property was removed (though it would be your bot's ID), I'm not sure why it still shows up on the swagger docs but I'll get that removed shortly...
Jump to solution
3 Replies
Solution
Shadow (Less Active)
Yeah the virtual message API is basically a hacky method no matter which way you look at it ioswoozy - Yes, we use those role IDs to compare against the blacklist, rather than waiting and trying to fetch the user from Discord - Correct, message length doesn't matter to kiai (we didn't even apply for the message content intent) - That property was removed (though it would be your bot's ID), I'm not sure why it still shows up on the swagger docs but I'll get that removed shortly If you have better ideas for how this route could work I'm totally open to it
0/0
0/07mo ago
so far it looks like a pretty decent route for scripty's use case so hopefully it works out in the end