Get guild id from channel/event
I using ButtonInteractionCreateEvent and i need check guild id similar, event object don`t have param for guild id. How i can get it from channel?
Solution:Jump to solution
you'd have to cast it to a guild channel type using to
of
or ofOrNull
functions1 Reply
Solution
you'd have to cast it to a guild channel type using to
of
or ofOrNull
functions