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

Did you find this page helpful?