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
Solution:
kordRef on that object
Jump to solution
9 Replies
gdude
gdude2mo ago
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
noBrain
noBrainOP2mo ago
:peepodetective: This object?
No description
noBrain
noBrainOP2mo ago
I`m about line 78
gdude
gdude2mo ago
No that's the extensible bot object Which is why it's called ExtensibleBot and not Kord haha
noBrain
noBrainOP2mo ago
: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
gdude
gdude2mo ago
kordRef on that object
gdude
gdude2mo ago
it's in your screenshot
noBrain
noBrainOP2mo ago
:peepodetective: Um
noBrain
noBrainOP2mo ago
❤️ :FlushedCat: Best framework

Did you find this page helpful?