mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +00:00
fix: remove anys
This commit is contained in:
parent
673e5c9a3c
commit
7c490b49ca
@ -9,6 +9,7 @@ import type {
|
|||||||
GatewayIntents,
|
GatewayIntents,
|
||||||
Localization,
|
Localization,
|
||||||
Snowflake,
|
Snowflake,
|
||||||
|
DiscordGetGatewayBot,
|
||||||
} from '@biscuitland/api-types';
|
} from '@biscuitland/api-types';
|
||||||
|
|
||||||
import { ApplicationCommandTypes, GatewayOpcodes } from '@biscuitland/api-types';
|
import { ApplicationCommandTypes, GatewayOpcodes } from '@biscuitland/api-types';
|
||||||
@ -293,7 +294,7 @@ export class Session {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
async start(): Promise<void> {
|
async start(): Promise<void> {
|
||||||
const nonParsed = await this.rest.get<any>('/gateway/bot');
|
const nonParsed = await this.rest.get<DiscordGetGatewayBot>('/gateway/bot');
|
||||||
|
|
||||||
this.ws.options.gatewayBot = {
|
this.ws.options.gatewayBot = {
|
||||||
url: nonParsed.url,
|
url: nonParsed.url,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user