How send message to user by id?
I need send message to user/channel by it id
How i can do it? I try get guild and when get channel id, but i don`t see methods to get guild/user by id
9 Replies
You can get both guild or user by ID
You'll need to do that with the Kord object which you can get via Koin
:peepodetective: This object?
I`m about line 78
No that's the extensible bot object
Which is why it's called ExtensibleBot and not Kord haha
:84710joesad: But how get kord object, i have in my serivce class only ExtensibleBot
No any commands or events, it`s like logger from minecraft chat
Solution
kordRef
on that objectit's in your screenshot
:peepodetective: Um
❤️
:FlushedCat: Best framework