File Name Change #3
This commit is contained in:
parent
7e9986bb5f
commit
6228bbd3ce
3 changed files with 10 additions and 10 deletions
|
@ -1,10 +1,10 @@
|
||||||
import { Gateway, GatewayEventHandler } from '../index.ts'
|
import { Gateway, GatewayEventHandler } from '../index.ts'
|
||||||
import { Guild } from '../../structures/guild.ts'
|
import { Guild } from '../../structures/guild.ts'
|
||||||
import { GuildPayload, MemberPayload } from "../../types/guild.ts"
|
import { GuildPayload, MemberPayload } from "../../types/guild.ts"
|
||||||
import { MembersManager } from "../../managers/membersManager.ts"
|
import { MembersManager } from "../../managers/members.ts"
|
||||||
import { GuildChannelPayload } from "../../types/channel.ts"
|
import { GuildChannelPayload } from "../../types/channel.ts"
|
||||||
import { RolePayload } from "../../types/role.ts"
|
import { RolePayload } from "../../types/role.ts"
|
||||||
import { RolesManager } from "../../managers/rolesManager.ts"
|
import { RolesManager } from "../../managers/roles.ts"
|
||||||
|
|
||||||
export const guildCreate: GatewayEventHandler = async(gateway: Gateway, d: GuildPayload) => {
|
export const guildCreate: GatewayEventHandler = async(gateway: Gateway, d: GuildPayload) => {
|
||||||
let guild: Guild | undefined = await gateway.client.guilds.get(d.id)
|
let guild: Guild | undefined = await gateway.client.guilds.get(d.id)
|
||||||
|
|
|
@ -4,11 +4,11 @@ import { Gateway } from '../gateway/index.ts'
|
||||||
import { RESTManager } from './rest.ts'
|
import { RESTManager } from './rest.ts'
|
||||||
import EventEmitter from 'https://deno.land/std@0.74.0/node/events.ts'
|
import EventEmitter from 'https://deno.land/std@0.74.0/node/events.ts'
|
||||||
import { DefaultCacheAdapter, ICacheAdapter } from "./cacheAdapter.ts"
|
import { DefaultCacheAdapter, ICacheAdapter } from "./cacheAdapter.ts"
|
||||||
import { UserManager } from "../managers/usersManager.ts"
|
import { UserManager } from "../managers/users.ts"
|
||||||
import { GuildManager } from "../managers/guildsManager.ts"
|
import { GuildManager } from "../managers/guilds.ts"
|
||||||
import { EmojisManager } from "../managers/emojisManager.ts"
|
import { EmojisManager } from "../managers/emojis.ts"
|
||||||
import { ChannelsManager } from "../managers/channelsManager.ts"
|
import { ChannelsManager } from "../managers/channels.ts"
|
||||||
import { MessagesManager } from "../managers/messagesManager.ts"
|
import { MessagesManager } from "../managers/messages.ts"
|
||||||
import { ActivityGame, ClientActivity, ClientPresence } from "../structures/presence.ts"
|
import { ActivityGame, ClientActivity, ClientPresence } from "../structures/presence.ts"
|
||||||
|
|
||||||
/** Some Client Options to modify behaviour */
|
/** Some Client Options to modify behaviour */
|
||||||
|
|
|
@ -5,9 +5,9 @@ import { Base } from './base.ts'
|
||||||
import { Emoji } from './emoji.ts'
|
import { Emoji } from './emoji.ts'
|
||||||
import { VoiceState } from './voiceState.ts'
|
import { VoiceState } from './voiceState.ts'
|
||||||
import cache from '../models/cache.ts'
|
import cache from '../models/cache.ts'
|
||||||
import { RolesManager } from "../managers/RolesManager.ts"
|
import { RolesManager } from "../managers/roles.ts"
|
||||||
import { GuildChannelsManager } from "../managers/guildChannelsManager.ts"
|
import { GuildChannelsManager } from "../managers/guildChannels.ts"
|
||||||
import { MembersManager } from "../managers/membersManager.ts"
|
import { MembersManager } from "../managers/members.ts"
|
||||||
|
|
||||||
export class Guild extends Base {
|
export class Guild extends Base {
|
||||||
id: string
|
id: string
|
||||||
|
|
Loading…
Reference in a new issue