FIXED ERORRS

This commit is contained in:
DjDeveloperr 2021-01-21 18:50:43 +05:30
parent dc1e2bbc6e
commit 65e9583445
2 changed files with 4 additions and 2 deletions

2
mod.ts
View file

@ -1,6 +1,7 @@
export { GatewayIntents } from './src/types/gateway.ts'
export { Base } from './src/structures/base.ts'
export { Gateway } from './src/gateway/index.ts'
export type { GatewayTypedEvents } from './src/gateway/index.ts'
export type { ClientEvents } from './src/gateway/handlers/index.ts'
export * from './src/models/client.ts'
export * from './src/models/slashClient.ts'
@ -124,3 +125,4 @@ export type { UserPayload } from './src/types/user.ts'
export { UserFlags } from './src/types/userFlags.ts'
export type { VoiceStatePayload } from './src/types/voice.ts'
export type { WebhookPayload } from './src/types/webhook.ts'
export * from './src/models/collectors.ts'

View file

@ -62,7 +62,7 @@ import { Interaction } from '../../structures/slash.ts'
import { CommandContext } from '../../models/command.ts'
import { RequestMethods } from '../../models/rest.ts'
import { PartialInvitePayload } from '../../types/invite.ts'
import { GuildChannel } from '../../managers/guildChannels.ts'
import { GuildChannels } from '../../types/guild.ts'
export const gatewayHandlers: {
[eventCode in GatewayEvents]: GatewayEventHandler | undefined
@ -389,7 +389,7 @@ export type ClientEvents = {
guildRoleUpdateUncached: [role: Role]
guildMemberUpdateUncached: [member: Member]
guildMemberRemoveUncached: [member: Member]
channelUpdateUncached: [channel: GuildChannel]
channelUpdateUncached: [channel: GuildChannels]
commandOwnerOnly: [ctx: CommandContext]
commandGuildOnly: [ctx: CommandContext]