(guildId: string)
| 50 | } |
| 51 | |
| 52 | subscribeGuild(guildId: string) { |
| 53 | if (!this.auth) { |
| 54 | this.logToOutput("not authorized yet, pushing to queue... " + guildId, "Client"); |
| 55 | this.subQueue.push(guildId); |
| 56 | return; |
| 57 | } |
| 58 | |
| 59 | this.logToOutput("subscribing to " + guildId, "Client"); |
| 60 | this.send({ |
| 61 | t: "SubscribeLogs", |
| 62 | d: guildId, |
| 63 | }); |
| 64 | } |
| 65 | |
| 66 | sendAuth() { |
| 67 | this.logToOutput("authorizing ws...", "Client"); |
no test coverage detected