#Call client in another file

1 messages · Page 1 of 1 (latest)

noble oar

Hello !
I have my client instance declared in my index.ts as usual and would like to be able to call it in another file of my project and use it to send a message.

I'm listening for a twitch stream event, and would like to then send a message when this event trigger.

Any tips or documentation ?
Thanks !