MCPcopy Create free account
hub / github.com/Botloader/botloader / subscribeGuild

Method subscribeGuild

botloader-vscode/src/ws.ts:52–64  ·  view source on GitHub ↗
(guildId: string)

Source from the content-addressed store, hash-verified

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");

Callers 2

wsOnMessageMethod · 0.95
checkFolderMethod · 0.45

Calls 2

logToOutputMethod · 0.95
sendMethod · 0.95

Tested by

no test coverage detected