Skip to content

Commit c3bd283

Browse files
committed
feat: add getClient method
1 parent 1c72fb5 commit c3bd283

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.changeset/lazy-squids-stare.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@softnetics/what-is-dis': patch
3+
---
4+
5+
Add getClient method for exposing Discord.js client

packages/what-is-dis/src/bot/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ export class DiscordBot {
174174
}
175175
}
176176

177+
getClient() {
178+
return this.client
179+
}
180+
177181
async listen() {
178182
this.setupGracefulShutdown()
179183
this.subscribeGatewayDispatchEvents()

0 commit comments

Comments
 (0)