mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
fix: remove anys
This commit is contained in:
parent
673e5c9a3c
commit
7c490b49ca
@ -9,6 +9,7 @@ import type {
|
||||
GatewayIntents,
|
||||
Localization,
|
||||
Snowflake,
|
||||
DiscordGetGatewayBot,
|
||||
} from '@biscuitland/api-types';
|
||||
|
||||
import { ApplicationCommandTypes, GatewayOpcodes } from '@biscuitland/api-types';
|
||||
@ -293,7 +294,7 @@ export class Session {
|
||||
*/
|
||||
|
||||
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 = {
|
||||
url: nonParsed.url,
|
||||
|
Loading…
x
Reference in New Issue
Block a user