mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 03:18:17 +00:00
chore: setup "deno lint" (#331)
* chore: setup "deno lint" * ci(lint): add --unstable flat to lint script * lint * lint * refactor: destructure assignment for Message#guildID * chore: remove TODO comment * refactor: remove redundant async * chore: switch to Deno stable vscode ext * chore: remove ignore comments * chore: remove ignore comments * chore: remove @ts-ignore comment * fixes * fixes * chore: remove deno-lint-ignore comment * chore: add index signature
This commit is contained in:
+2
-2
@@ -37,7 +37,7 @@ interface RequestMemberQueuedRequest {
|
||||
options?: FetchMembersOptions;
|
||||
}
|
||||
|
||||
export async function createShard(
|
||||
export function createShard(
|
||||
data: DiscordBotGatewayData,
|
||||
identifyPayload: IdentifyPayload,
|
||||
resuming = false,
|
||||
@@ -58,7 +58,7 @@ export async function createShard(
|
||||
|
||||
basicShards.set(basicShard.id, basicShard);
|
||||
|
||||
ws.onopen = async () => {
|
||||
ws.onopen = () => {
|
||||
if (!resuming) {
|
||||
// Initial identify with the gateway
|
||||
identify(basicShard, identifyPayload);
|
||||
|
||||
Reference in New Issue
Block a user