diff --git a/src/bot.ts b/src/bot.ts index 8c809628b..97e77f911 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -136,130 +136,6 @@ export function createBot( handlers: createBotGatewayHandlers({}), // @ts-ignore b quiet cache: createCache(options?.cache?.isAsync ?? false, options?.cache?.customTableCreator), - // cache: { - // execute: async function ( - // type: - // | "FILTER_CATEGORY_CHILDREN_CHANNELS" - // | "DELETE_MESSAGES_FROM_CHANNEL" - // | "DELETE_ROLE_FROM_MEMBER" - // | "BULK_DELETE_MESSAGES" - // | "GUILD_MEMBER_CHUNK" - // | "GUILD_MEMBER_COUNT_DECREMENT" - // | "GUILD_MEMBER_COUNT_INCREMENT" - // | "DELETE_MESSAGES_FROM_GUILD" - // | "DELETE_CHANNELS_FROM_GUILD" - // | "DELETE_GUILD_FROM_MEMBER", - // options: Record - // ) {}, - // executedSlashCommands: new Set(), - // fetchAllMembersProcessingRequests: new Collection(), - // messages: { - // get: async function (id: bigint): Promise { - // return ({} as any) as DiscordenoMessage; - // }, - // has: async function (id: bigint): Promise { - // return false; - // }, - // set: async function (id: bigint, guild: DiscordenoMessage): Promise { - // return; - // }, - // delete: async function (id: bigint): Promise { - // return; - // }, - // }, - // guilds: { - // get: async function (id: bigint): Promise { - // return ({} as any) as DiscordenoGuild; - // }, - // has: async function (id: bigint): Promise { - // return false; - // }, - // set: async function (id: bigint, guild: DiscordenoGuild): Promise { - // return; - // }, - // delete: async function (id: bigint): Promise { - // return; - // }, - // size: async function (): Promise { - // return 0; - // }, - // }, - // channels: { - // get: async function (id: bigint): Promise { - // return ({} as any) as DiscordenoChannel; - // }, - // has: async function (id: bigint): Promise { - // return false; - // }, - // set: async function (id: bigint, guild: DiscordenoChannel): Promise { - // return; - // }, - // delete: async function (id: bigint): Promise { - // return; - // }, - // }, - // members: { - // get: async function (id: bigint): Promise { - // return ({} as any) as DiscordenoMember; - // }, - // has: async function (id: bigint): Promise { - // return false; - // }, - // set: async function (id: bigint, member: DiscordenoMember): Promise { - // return; - // }, - // delete: async function (id: bigint): Promise { - // return; - // }, - // }, - // presence: { - // get: async function (id: bigint): Promise { - // return ({} as any) as DiscordenoPresence; - // }, - // has: async function (id: bigint): Promise { - // return false; - // }, - // set: async function (id: bigint, guild: DiscordenoPresence): Promise { - // return; - // }, - // delete: async function (id: bigint): Promise { - // return; - // }, - // }, - // users: { - // get: async function (id: bigint): Promise { - // return ({} as any) as DiscordenoUser; - // }, - // has: async function (id: bigint): Promise { - // return false; - // }, - // set: async function (id: bigint, member: DiscordenoUser): Promise { - // return; - // }, - // }, - // dispatchedGuildIds: { - // has: async function (id: bigint): Promise { - // return false; - // }, - // set: async function (id: bigint): Promise { - // return; - // }, - // delete: async function (id: bigint): Promise { - // return; - // }, - // }, - // dispatchedChannelIds: { - // has: async function (id: bigint): Promise { - // return false; - // }, - // set: async function (id: bigint): Promise { - // return; - // }, - // delete: async function (id: bigint): Promise { - // return; - // }, - // }, - // }, } as unknown) as Bot; }