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:
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
kiaiApplicationIdin the JSON request, what should that be?
Solution
Yeah the virtual message API is basically a hacky method no matter which way you look at it
- 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