@discordeno/bot 19.0.0-next.6120c79 → 19.0.0-next.6359972
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/handlers/channels/index.d.ts +12 -12
- package/dist/handlers/channels/index.d.ts.map +1 -1
- package/dist/handlers/channels/index.js +12 -12
- package/dist/handlers/channels/index.js.map +1 -1
- package/dist/handlers/emojis/index.d.ts +1 -1
- package/dist/handlers/emojis/index.d.ts.map +1 -1
- package/dist/handlers/emojis/index.js +1 -1
- package/dist/handlers/emojis/index.js.map +1 -1
- package/dist/handlers/guilds/GUILD_STICKERS_UPDATE.js.map +1 -1
- package/dist/handlers/guilds/index.d.ts +10 -10
- package/dist/handlers/guilds/index.d.ts.map +1 -1
- package/dist/handlers/guilds/index.js +10 -10
- package/dist/handlers/guilds/index.js.map +1 -1
- package/dist/handlers/guilds/scheduledEvents/index.d.ts +5 -5
- package/dist/handlers/guilds/scheduledEvents/index.d.ts.map +1 -1
- package/dist/handlers/guilds/scheduledEvents/index.js +5 -5
- package/dist/handlers/guilds/scheduledEvents/index.js.map +1 -1
- package/dist/handlers/integrations/index.d.ts +3 -3
- package/dist/handlers/integrations/index.d.ts.map +1 -1
- package/dist/handlers/integrations/index.js +3 -3
- package/dist/handlers/integrations/index.js.map +1 -1
- package/dist/handlers/interactions/APPLICATION_COMMAND_PERMISSIONS_UPDATE.d.ts +1 -1
- package/dist/handlers/interactions/APPLICATION_COMMAND_PERMISSIONS_UPDATE.d.ts.map +1 -1
- package/dist/handlers/interactions/APPLICATION_COMMAND_PERMISSIONS_UPDATE.js.map +1 -1
- package/dist/handlers/invites/index.d.ts +2 -2
- package/dist/handlers/invites/index.d.ts.map +1 -1
- package/dist/handlers/invites/index.js +2 -2
- package/dist/handlers/invites/index.js.map +1 -1
- package/dist/handlers/members/index.d.ts +4 -4
- package/dist/handlers/members/index.d.ts.map +1 -1
- package/dist/handlers/members/index.js +4 -4
- package/dist/handlers/members/index.js.map +1 -1
- package/dist/handlers/messages/index.d.ts +8 -8
- package/dist/handlers/messages/index.d.ts.map +1 -1
- package/dist/handlers/messages/index.js +8 -8
- package/dist/handlers/messages/index.js.map +1 -1
- package/dist/handlers/misc/index.d.ts +4 -4
- package/dist/handlers/misc/index.d.ts.map +1 -1
- package/dist/handlers/misc/index.js +4 -4
- package/dist/handlers/misc/index.js.map +1 -1
- package/dist/handlers/roles/index.d.ts +3 -3
- package/dist/handlers/roles/index.d.ts.map +1 -1
- package/dist/handlers/roles/index.js +3 -3
- package/dist/handlers/roles/index.js.map +1 -1
- package/dist/handlers/voice/index.d.ts +2 -2
- package/dist/handlers/voice/index.d.ts.map +1 -1
- package/dist/handlers/voice/index.js +2 -2
- package/dist/handlers/voice/index.js.map +1 -1
- package/dist/handlers/webhooks/WEBHOOKS_UPDATE.d.ts.map +1 -1
- package/dist/handlers/webhooks/WEBHOOKS_UPDATE.js.map +1 -1
- package/dist/handlers/webhooks/index.d.ts +1 -1
- package/dist/handlers/webhooks/index.d.ts.map +1 -1
- package/dist/handlers/webhooks/index.js +1 -1
- package/dist/handlers/webhooks/index.js.map +1 -1
- package/dist/transformers/guild.d.ts +1 -0
- package/dist/transformers/guild.d.ts.map +1 -1
- package/dist/transformers/guild.js +1 -0
- package/dist/transformers/guild.js.map +1 -1
- package/dist/transformers/reverse/index.d.ts +16 -16
- package/dist/transformers/reverse/index.d.ts.map +1 -1
- package/dist/transformers/reverse/index.js +16 -16
- package/dist/transformers/reverse/index.js.map +1 -1
- package/dist/transformers/template.d.ts +1 -0
- package/dist/transformers/template.d.ts.map +1 -1
- package/dist/transformers/toggles/ToggleBitfield.d.ts.map +1 -1
- package/dist/transformers/toggles/ToggleBitfield.js.map +1 -1
- package/dist/transformers/toggles/index.d.ts +7 -7
- package/dist/transformers/toggles/index.d.ts.map +1 -1
- package/dist/transformers/toggles/index.js +7 -7
- package/dist/transformers/toggles/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
1
|
+
export * from './CHANNEL_CREATE.js';
|
|
2
|
+
export * from './CHANNEL_DELETE.js';
|
|
3
|
+
export * from './CHANNEL_PINS_UPDATE.js';
|
|
4
|
+
export * from './CHANNEL_UPDATE.js';
|
|
5
|
+
export * from './STAGE_INSTANCE_CREATE.js';
|
|
6
|
+
export * from './STAGE_INSTANCE_DELETE.js';
|
|
7
|
+
export * from './STAGE_INSTANCE_UPDATE.js';
|
|
8
|
+
export * from './THREAD_CREATE.js';
|
|
9
|
+
export * from './THREAD_DELETE.js';
|
|
10
|
+
export * from './THREAD_LIST_SYNC.js';
|
|
11
|
+
export * from './THREAD_MEMBERS_UPDATE.js';
|
|
12
|
+
export * from './THREAD_UPDATE.js';
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/channels/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/channels/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
1
|
+
export * from './CHANNEL_CREATE.js';
|
|
2
|
+
export * from './CHANNEL_DELETE.js';
|
|
3
|
+
export * from './CHANNEL_PINS_UPDATE.js';
|
|
4
|
+
export * from './CHANNEL_UPDATE.js';
|
|
5
|
+
export * from './STAGE_INSTANCE_CREATE.js';
|
|
6
|
+
export * from './STAGE_INSTANCE_DELETE.js';
|
|
7
|
+
export * from './STAGE_INSTANCE_UPDATE.js';
|
|
8
|
+
export * from './THREAD_CREATE.js';
|
|
9
|
+
export * from './THREAD_DELETE.js';
|
|
10
|
+
export * from './THREAD_LIST_SYNC.js';
|
|
11
|
+
export * from './THREAD_MEMBERS_UPDATE.js';
|
|
12
|
+
export * from './THREAD_UPDATE.js';
|
|
13
13
|
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/channels/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/channels/index.ts"],"sourcesContent":["export * from './CHANNEL_CREATE.js'\nexport * from './CHANNEL_DELETE.js'\nexport * from './CHANNEL_PINS_UPDATE.js'\nexport * from './CHANNEL_UPDATE.js'\nexport * from './STAGE_INSTANCE_CREATE.js'\nexport * from './STAGE_INSTANCE_DELETE.js'\nexport * from './STAGE_INSTANCE_UPDATE.js'\nexport * from './THREAD_CREATE.js'\nexport * from './THREAD_DELETE.js'\nexport * from './THREAD_LIST_SYNC.js'\nexport * from './THREAD_MEMBERS_UPDATE.js'\nexport * from './THREAD_UPDATE.js'\n"],"names":[],"mappings":"AAAA,cAAc,sBAAqB;AACnC,cAAc,sBAAqB;AACnC,cAAc,2BAA0B;AACxC,cAAc,sBAAqB;AACnC,cAAc,6BAA4B;AAC1C,cAAc,6BAA4B;AAC1C,cAAc,6BAA4B;AAC1C,cAAc,qBAAoB;AAClC,cAAc,qBAAoB;AAClC,cAAc,wBAAuB;AACrC,cAAc,6BAA4B;AAC1C,cAAc,qBAAoB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './GUILD_EMOJIS_UPDATE.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/emojis/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/emojis/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/emojis/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/emojis/index.ts"],"sourcesContent":["export * from './GUILD_EMOJIS_UPDATE.js'\n"],"names":[],"mappings":"AAAA,cAAc,2BAA0B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/guilds/GUILD_STICKERS_UPDATE.ts"],"sourcesContent":["import type { Bot, DiscordGatewayPayload, DiscordGuildStickersUpdate } from '../..'\n\nexport async function handleGuildStickersUpdate(bot: Bot, data: DiscordGatewayPayload, shardId: number): Promise<void> {\n const payload = data.d as DiscordGuildStickersUpdate\n\n bot.events.guildStickersUpdate?.(\n payload.stickers.map((sticker) => {\n
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/guilds/GUILD_STICKERS_UPDATE.ts"],"sourcesContent":["import type { Bot, DiscordGatewayPayload, DiscordGuildStickersUpdate } from '../..'\n\nexport async function handleGuildStickersUpdate(bot: Bot, data: DiscordGatewayPayload, shardId: number): Promise<void> {\n const payload = data.d as DiscordGuildStickersUpdate\n\n bot.events.guildStickersUpdate?.(\n payload.stickers.map((sticker) => {\n sticker.guild_id = payload.guild_id\n return bot.transformers.sticker(bot, sticker)\n }),\n )\n}\n"],"names":["handleGuildStickersUpdate","bot","data","shardId","payload","d","events","guildStickersUpdate","stickers","map","sticker","guild_id","transformers"],"mappings":"AAEA,OAAO,eAAeA,0BAA0BC,GAAQ,EAAEC,IAA2B,EAAEC,OAAe,EAAiB;IACrH,MAAMC,UAAUF,KAAKG,CAAC;IAEtBJ,IAAIK,MAAM,CAACC,mBAAmB,GAC5BH,QAAQI,QAAQ,CAACC,GAAG,CAAC,CAACC,UAAY;QAChCA,QAAQC,QAAQ,GAAGP,QAAQO,QAAQ;QACnC,OAAOV,IAAIW,YAAY,CAACF,OAAO,CAACT,KAAKS;IACvC;AAEJ,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
1
|
+
export * from './automod/index.js';
|
|
2
|
+
export * from './scheduledEvents/index.js';
|
|
3
|
+
export * from './GUILD_AUDIT_LOG_ENTRY_CREATE.js';
|
|
4
|
+
export * from './GUILD_BAN_ADD.js';
|
|
5
|
+
export * from './GUILD_BAN_REMOVE.js';
|
|
6
|
+
export * from './GUILD_CREATE.js';
|
|
7
|
+
export * from './GUILD_DELETE.js';
|
|
8
|
+
export * from './GUILD_INTEGRATIONS_UPDATE.js';
|
|
9
|
+
export * from './GUILD_STICKERS_UPDATE.js';
|
|
10
|
+
export * from './GUILD_UPDATE.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/guilds/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/guilds/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAE1C,cAAc,mCAAmC,CAAA;AACjD,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
1
|
+
export * from './automod/index.js';
|
|
2
|
+
export * from './scheduledEvents/index.js';
|
|
3
|
+
export * from './GUILD_AUDIT_LOG_ENTRY_CREATE.js';
|
|
4
|
+
export * from './GUILD_BAN_ADD.js';
|
|
5
|
+
export * from './GUILD_BAN_REMOVE.js';
|
|
6
|
+
export * from './GUILD_CREATE.js';
|
|
7
|
+
export * from './GUILD_DELETE.js';
|
|
8
|
+
export * from './GUILD_INTEGRATIONS_UPDATE.js';
|
|
9
|
+
export * from './GUILD_STICKERS_UPDATE.js';
|
|
10
|
+
export * from './GUILD_UPDATE.js';
|
|
11
11
|
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/guilds/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/guilds/index.ts"],"sourcesContent":["export * from './automod/index.js'\nexport * from './scheduledEvents/index.js'\n\nexport * from './GUILD_AUDIT_LOG_ENTRY_CREATE.js'\nexport * from './GUILD_BAN_ADD.js'\nexport * from './GUILD_BAN_REMOVE.js'\nexport * from './GUILD_CREATE.js'\nexport * from './GUILD_DELETE.js'\nexport * from './GUILD_INTEGRATIONS_UPDATE.js'\nexport * from './GUILD_STICKERS_UPDATE.js'\nexport * from './GUILD_UPDATE.js'\n"],"names":[],"mappings":"AAAA,cAAc,qBAAoB;AAClC,cAAc,6BAA4B;AAE1C,cAAc,oCAAmC;AACjD,cAAc,qBAAoB;AAClC,cAAc,wBAAuB;AACrC,cAAc,oBAAmB;AACjC,cAAc,oBAAmB;AACjC,cAAc,iCAAgC;AAC9C,cAAc,6BAA4B;AAC1C,cAAc,oBAAmB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
1
|
+
export * from './GUILD_SCHEDULED_EVENT_CREATE.js';
|
|
2
|
+
export * from './GUILD_SCHEDULED_EVENT_DELETE.js';
|
|
3
|
+
export * from './GUILD_SCHEDULED_EVENT_UPDATE.js';
|
|
4
|
+
export * from './GUILD_SCHEDULED_EVENT_USER_ADD.js';
|
|
5
|
+
export * from './GUILD_SCHEDULED_EVENT_USER_REMOVE.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/handlers/guilds/scheduledEvents/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/handlers/guilds/scheduledEvents/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,mCAAmC,CAAA;AACjD,cAAc,mCAAmC,CAAA;AACjD,cAAc,qCAAqC,CAAA;AACnD,cAAc,wCAAwC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
1
|
+
export * from './GUILD_SCHEDULED_EVENT_CREATE.js';
|
|
2
|
+
export * from './GUILD_SCHEDULED_EVENT_DELETE.js';
|
|
3
|
+
export * from './GUILD_SCHEDULED_EVENT_UPDATE.js';
|
|
4
|
+
export * from './GUILD_SCHEDULED_EVENT_USER_ADD.js';
|
|
5
|
+
export * from './GUILD_SCHEDULED_EVENT_USER_REMOVE.js';
|
|
6
6
|
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/handlers/guilds/scheduledEvents/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../../src/handlers/guilds/scheduledEvents/index.ts"],"sourcesContent":["export * from './GUILD_SCHEDULED_EVENT_CREATE.js'\nexport * from './GUILD_SCHEDULED_EVENT_DELETE.js'\nexport * from './GUILD_SCHEDULED_EVENT_UPDATE.js'\nexport * from './GUILD_SCHEDULED_EVENT_USER_ADD.js'\nexport * from './GUILD_SCHEDULED_EVENT_USER_REMOVE.js'\n"],"names":[],"mappings":"AAAA,cAAc,oCAAmC;AACjD,cAAc,oCAAmC;AACjD,cAAc,oCAAmC;AACjD,cAAc,sCAAqC;AACnD,cAAc,yCAAwC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './INTEGRATION_CREATE.js';
|
|
2
|
+
export * from './INTEGRATION_DELETE.js';
|
|
3
|
+
export * from './INTEGRATION_UPDATE.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/integrations/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/integrations/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './INTEGRATION_CREATE.js';
|
|
2
|
+
export * from './INTEGRATION_DELETE.js';
|
|
3
|
+
export * from './INTEGRATION_UPDATE.js';
|
|
4
4
|
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/integrations/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/integrations/index.ts"],"sourcesContent":["export * from './INTEGRATION_CREATE.js'\nexport * from './INTEGRATION_DELETE.js'\nexport * from './INTEGRATION_UPDATE.js'\n"],"names":[],"mappings":"AAAA,cAAc,0BAAyB;AACvC,cAAc,0BAAyB;AACvC,cAAc,0BAAyB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Bot, DiscordGatewayPayload } from
|
|
1
|
+
import type { Bot, DiscordGatewayPayload } from '../..';
|
|
2
2
|
export declare function handleApplicationCommandPermissionsUpdate(bot: Bot, data: DiscordGatewayPayload, shardId: number): Promise<void>;
|
|
3
3
|
//# sourceMappingURL=APPLICATION_COMMAND_PERMISSIONS_UPDATE.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"APPLICATION_COMMAND_PERMISSIONS_UPDATE.d.ts","sourceRoot":"","sources":["../../../src/handlers/interactions/APPLICATION_COMMAND_PERMISSIONS_UPDATE.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,qBAAqB,EAA6C,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"APPLICATION_COMMAND_PERMISSIONS_UPDATE.d.ts","sourceRoot":"","sources":["../../../src/handlers/interactions/APPLICATION_COMMAND_PERMISSIONS_UPDATE.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,qBAAqB,EAA6C,MAAM,OAAO,CAAA;AAElG,wBAAsB,yCAAyC,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAGrI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/interactions/APPLICATION_COMMAND_PERMISSIONS_UPDATE.ts"],"sourcesContent":["import type { Bot, DiscordGatewayPayload, DiscordGuildApplicationCommandPermissions } from \
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/interactions/APPLICATION_COMMAND_PERMISSIONS_UPDATE.ts"],"sourcesContent":["import type { Bot, DiscordGatewayPayload, DiscordGuildApplicationCommandPermissions } from '../..'\n\nexport async function handleApplicationCommandPermissionsUpdate(bot: Bot, data: DiscordGatewayPayload, shardId: number): Promise<void> {\n const payload = data.d as DiscordGuildApplicationCommandPermissions\n bot.events.applicationCommandPermissionsUpdate?.(bot.transformers.applicationCommandPermission(bot, payload))\n}\n"],"names":["handleApplicationCommandPermissionsUpdate","bot","data","shardId","payload","d","events","applicationCommandPermissionsUpdate","transformers","applicationCommandPermission"],"mappings":"AAEA,OAAO,eAAeA,0CAA0CC,GAAQ,EAAEC,IAA2B,EAAEC,OAAe,EAAiB;IACrI,MAAMC,UAAUF,KAAKG,CAAC;IACtBJ,IAAIK,MAAM,CAACC,mCAAmC,GAAGN,IAAIO,YAAY,CAACC,4BAA4B,CAACR,KAAKG;AACtG,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './INVITE_CREATE.js';
|
|
2
|
+
export * from './INVITE_DELETE.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/invites/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/invites/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/invites/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/invites/index.ts"],"sourcesContent":["export * from './INVITE_CREATE.js'\nexport * from './INVITE_DELETE.js'\n"],"names":[],"mappings":"AAAA,cAAc,qBAAoB;AAClC,cAAc,qBAAoB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './GUILD_MEMBER_ADD.js';
|
|
2
|
+
export * from './GUILD_MEMBER_REMOVE.js';
|
|
3
|
+
export * from './GUILD_MEMBER_UPDATE.js';
|
|
4
|
+
export * from './GUILD_MEMBERS_CHUNK.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/members/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/members/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './GUILD_MEMBER_ADD.js';
|
|
2
|
+
export * from './GUILD_MEMBER_REMOVE.js';
|
|
3
|
+
export * from './GUILD_MEMBER_UPDATE.js';
|
|
4
|
+
export * from './GUILD_MEMBERS_CHUNK.js';
|
|
5
5
|
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/members/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/members/index.ts"],"sourcesContent":["export * from './GUILD_MEMBER_ADD.js'\nexport * from './GUILD_MEMBER_REMOVE.js'\nexport * from './GUILD_MEMBER_UPDATE.js'\nexport * from './GUILD_MEMBERS_CHUNK.js'\n"],"names":[],"mappings":"AAAA,cAAc,wBAAuB;AACrC,cAAc,2BAA0B;AACxC,cAAc,2BAA0B;AACxC,cAAc,2BAA0B"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
1
|
+
export * from './MESSAGE_CREATE.js';
|
|
2
|
+
export * from './MESSAGE_DELETE_BULK.js';
|
|
3
|
+
export * from './MESSAGE_DELETE.js';
|
|
4
|
+
export * from './MESSAGE_REACTION_ADD.js';
|
|
5
|
+
export * from './MESSAGE_REACTION_REMOVE_ALL.js';
|
|
6
|
+
export * from './MESSAGE_REACTION_REMOVE_EMOJI.js';
|
|
7
|
+
export * from './MESSAGE_REACTION_REMOVE.js';
|
|
8
|
+
export * from './MESSAGE_UPDATE.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/messages/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/messages/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,kCAAkC,CAAA;AAChD,cAAc,oCAAoC,CAAA;AAClD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qBAAqB,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
1
|
+
export * from './MESSAGE_CREATE.js';
|
|
2
|
+
export * from './MESSAGE_DELETE_BULK.js';
|
|
3
|
+
export * from './MESSAGE_DELETE.js';
|
|
4
|
+
export * from './MESSAGE_REACTION_ADD.js';
|
|
5
|
+
export * from './MESSAGE_REACTION_REMOVE_ALL.js';
|
|
6
|
+
export * from './MESSAGE_REACTION_REMOVE_EMOJI.js';
|
|
7
|
+
export * from './MESSAGE_REACTION_REMOVE.js';
|
|
8
|
+
export * from './MESSAGE_UPDATE.js';
|
|
9
9
|
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/messages/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/messages/index.ts"],"sourcesContent":["export * from './MESSAGE_CREATE.js'\nexport * from './MESSAGE_DELETE_BULK.js'\nexport * from './MESSAGE_DELETE.js'\nexport * from './MESSAGE_REACTION_ADD.js'\nexport * from './MESSAGE_REACTION_REMOVE_ALL.js'\nexport * from './MESSAGE_REACTION_REMOVE_EMOJI.js'\nexport * from './MESSAGE_REACTION_REMOVE.js'\nexport * from './MESSAGE_UPDATE.js'\n"],"names":[],"mappings":"AAAA,cAAc,sBAAqB;AACnC,cAAc,2BAA0B;AACxC,cAAc,sBAAqB;AACnC,cAAc,4BAA2B;AACzC,cAAc,mCAAkC;AAChD,cAAc,qCAAoC;AAClD,cAAc,+BAA8B;AAC5C,cAAc,sBAAqB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './PRESENCE_UPDATE.js';
|
|
2
|
+
export * from './READY.js';
|
|
3
|
+
export * from './TYPING_START.js';
|
|
4
|
+
export * from './USER_UPDATE.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/misc/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/misc/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './PRESENCE_UPDATE.js';
|
|
2
|
+
export * from './READY.js';
|
|
3
|
+
export * from './TYPING_START.js';
|
|
4
|
+
export * from './USER_UPDATE.js';
|
|
5
5
|
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/misc/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/misc/index.ts"],"sourcesContent":["export * from './PRESENCE_UPDATE.js'\nexport * from './READY.js'\nexport * from './TYPING_START.js'\nexport * from './USER_UPDATE.js'\n"],"names":[],"mappings":"AAAA,cAAc,uBAAsB;AACpC,cAAc,aAAY;AAC1B,cAAc,oBAAmB;AACjC,cAAc,mBAAkB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './GUILD_ROLE_CREATE.js';
|
|
2
|
+
export * from './GUILD_ROLE_DELETE.js';
|
|
3
|
+
export * from './GUILD_ROLE_UPDATE.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/roles/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/roles/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './GUILD_ROLE_CREATE.js';
|
|
2
|
+
export * from './GUILD_ROLE_DELETE.js';
|
|
3
|
+
export * from './GUILD_ROLE_UPDATE.js';
|
|
4
4
|
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/roles/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/roles/index.ts"],"sourcesContent":["export * from './GUILD_ROLE_CREATE.js'\nexport * from './GUILD_ROLE_DELETE.js'\nexport * from './GUILD_ROLE_UPDATE.js'\n"],"names":[],"mappings":"AAAA,cAAc,yBAAwB;AACtC,cAAc,yBAAwB;AACtC,cAAc,yBAAwB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './VOICE_SERVER_UPDATE.js';
|
|
2
|
+
export * from './VOICE_STATE_UPDATE.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/voice/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/voice/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/voice/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/voice/index.ts"],"sourcesContent":["export * from './VOICE_SERVER_UPDATE.js'\nexport * from './VOICE_STATE_UPDATE.js'\n"],"names":[],"mappings":"AAAA,cAAc,2BAA0B;AACxC,cAAc,0BAAyB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WEBHOOKS_UPDATE.d.ts","sourceRoot":"","sources":["../../../src/handlers/webhooks/WEBHOOKS_UPDATE.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAwB,MAAM,mBAAmB,CAAA;AACpF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEzC,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"WEBHOOKS_UPDATE.d.ts","sourceRoot":"","sources":["../../../src/handlers/webhooks/WEBHOOKS_UPDATE.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAwB,MAAM,mBAAmB,CAAA;AACpF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAEzC,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAMhH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/webhooks/WEBHOOKS_UPDATE.ts"],"sourcesContent":["import type { DiscordGatewayPayload, DiscordWebhookUpdate } from '@discordeno/types'\nimport type { Bot } from '../../index.js'\n\nexport async function handleWebhooksUpdate(bot: Bot, data: DiscordGatewayPayload, shardId: number)
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/webhooks/WEBHOOKS_UPDATE.ts"],"sourcesContent":["import type { DiscordGatewayPayload, DiscordWebhookUpdate } from '@discordeno/types'\nimport type { Bot } from '../../index.js'\n\nexport async function handleWebhooksUpdate(bot: Bot, data: DiscordGatewayPayload, shardId: number): Promise<void> {\n const payload = data.d as DiscordWebhookUpdate\n bot.events.webhooksUpdate?.({\n channelId: bot.transformers.snowflake(payload.channel_id),\n guildId: bot.transformers.snowflake(payload.guild_id),\n })\n}\n"],"names":["handleWebhooksUpdate","bot","data","shardId","payload","d","events","webhooksUpdate","channelId","transformers","snowflake","channel_id","guildId","guild_id"],"mappings":"AAGA,OAAO,eAAeA,qBAAqBC,GAAQ,EAAEC,IAA2B,EAAEC,OAAe,EAAiB;IAChH,MAAMC,UAAUF,KAAKG,CAAC;IACtBJ,IAAIK,MAAM,CAACC,cAAc,GAAG;QAC1BC,WAAWP,IAAIQ,YAAY,CAACC,SAAS,CAACN,QAAQO,UAAU;QACxDC,SAASX,IAAIQ,YAAY,CAACC,SAAS,CAACN,QAAQS,QAAQ;IACtD;AACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './WEBHOOKS_UPDATE.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/webhooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handlers/webhooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/handlers/webhooks/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/handlers/webhooks/index.ts"],"sourcesContent":["export * from './WEBHOOKS_UPDATE.js'\n"],"names":[],"mappings":"AAAA,cAAc,uBAAsB"}
|
|
@@ -18,6 +18,7 @@ export declare function transformGuild(bot: Bot, payload: {
|
|
|
18
18
|
maxMembers?: number | undefined;
|
|
19
19
|
maxPresences?: number | undefined;
|
|
20
20
|
maxVideoChannelUsers?: number | undefined;
|
|
21
|
+
maxStageVideoChannelUsers?: number | undefined;
|
|
21
22
|
premiumSubscriptionCount?: number | undefined;
|
|
22
23
|
stageInstances?: {
|
|
23
24
|
id: bigint;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guild.d.ts","sourceRoot":"","sources":["../../src/transformers/guild.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,UAAU,EAAoB,MAAM,mBAAmB,CAAA;AAChE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAGjD,wBAAgB,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE
|
|
1
|
+
{"version":3,"file":"guild.d.ts","sourceRoot":"","sources":["../../src/transformers/guild.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,UAAU,EAAoB,MAAM,mBAAmB,CAAA;AAChE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAGjD,wBAAgB,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+F9F;AAED,MAAM,WAAW,KAAM,SAAQ,UAAU,CAAC,OAAO,cAAc,CAAC;CAAG"}
|
|
@@ -14,6 +14,7 @@ export function transformGuild(bot, payload) {
|
|
|
14
14
|
maxMembers: payload.guild.max_members,
|
|
15
15
|
maxPresences: payload.guild.max_presences ?? undefined,
|
|
16
16
|
maxVideoChannelUsers: payload.guild.max_video_channel_users,
|
|
17
|
+
maxStageVideoChannelUsers: payload.guild.max_stage_video_channel_users,
|
|
17
18
|
mfaLevel: payload.guild.mfa_level,
|
|
18
19
|
name: payload.guild.name,
|
|
19
20
|
nsfwLevel: payload.guild.nsfw_level,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/transformers/guild.ts"],"sourcesContent":["import type { DiscordGuild } from '@discordeno/types'\nimport { Collection, iconHashToBigInt } from '@discordeno/utils'\nimport type { Bot } from '../index.js'\nimport type { Optionalize } from '../optionalize.js'\nimport type { Emoji } from '../transformers/emoji.js'\nimport { GuildToggles } from './toggles/guild.js'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function transformGuild(bot: Bot, payload: { guild: DiscordGuild } & { shardId: number }) {\n const guildId = bot.transformers.snowflake(payload.guild.id)\n\n const guild = {\n afkTimeout: payload.guild.afk_timeout,\n approximateMemberCount: payload.guild.approximate_member_count,\n approximatePresenceCount: payload.guild.approximate_presence_count,\n defaultMessageNotifications: payload.guild.default_message_notifications,\n description: payload.guild.description,\n explicitContentFilter: payload.guild.explicit_content_filter,\n toggles: new GuildToggles(payload.guild),\n maxMembers: payload.guild.max_members,\n maxPresences: payload.guild.max_presences ?? undefined,\n maxVideoChannelUsers: payload.guild.max_video_channel_users,\n mfaLevel: payload.guild.mfa_level,\n name: payload.guild.name,\n nsfwLevel: payload.guild.nsfw_level,\n preferredLocale: payload.guild.preferred_locale,\n premiumSubscriptionCount: payload.guild.premium_subscription_count,\n premiumTier: payload.guild.premium_tier,\n stageInstances: payload.guild.stage_instances?.map((si) => ({\n /** The id of this Stage instance */\n id: bot.transformers.snowflake(si.id),\n /** The guild id of the associated Stage channel */\n guildId,\n /** The id of the associated Stage channel */\n channelId: bot.transformers.snowflake(si.channel_id),\n /** The topic of the Stage instance (1-120 characters) */\n topic: si.topic,\n })),\n systemChannelFlags: payload.guild.system_channel_flags,\n vanityUrlCode: payload.guild.vanity_url_code,\n verificationLevel: payload.guild.verification_level,\n welcomeScreen: payload.guild.welcome_screen\n ? {\n description: payload.guild.welcome_screen.description ?? undefined,\n welcomeChannels: payload.guild.welcome_screen.welcome_channels.map((wc) => ({\n channelId: bot.transformers.snowflake(wc.channel_id),\n description: wc.description,\n emojiId: wc.emoji_id ? bot.transformers.snowflake(wc.emoji_id) : undefined,\n emojiName: wc.emoji_name ?? undefined,\n })),\n }\n : undefined,\n discoverySplash: payload.guild.discovery_splash ? iconHashToBigInt(payload.guild.discovery_splash) : undefined,\n\n joinedAt: payload.guild.joined_at ? Date.parse(payload.guild.joined_at) : undefined,\n memberCount: payload.guild.member_count ?? 0,\n shardId: payload.shardId,\n icon: payload.guild.icon ? iconHashToBigInt(payload.guild.icon) : undefined,\n banner: payload.guild.banner ? iconHashToBigInt(payload.guild.banner) : undefined,\n splash: payload.guild.splash ? iconHashToBigInt(payload.guild.splash) : undefined,\n channels: new Collection(\n payload.guild.channels?.map((channel) => {\n const result = bot.transformers.channel(bot, { channel, guildId })\n return [result.id, result]\n }),\n ),\n members: new Collection(\n payload.guild.members?.map((member) => {\n const result = bot.transformers.member(bot, member, guildId, bot.transformers.snowflake(member.user!.id))\n return [result.id, result]\n }),\n ),\n roles: new Collection(\n payload.guild.roles?.map((role) => {\n const result = bot.transformers.role(bot, { role, guildId })\n return [result.id, result]\n }),\n ),\n emojis: new Collection(\n (payload.guild.emojis || []).map((emoji) => {\n const em: Emoji = bot.transformers.emoji(bot, emoji)\n return [em.id!, em]\n }),\n ),\n voiceStates: new Collection(\n (payload.guild.voice_states ?? []).map((vs) => bot.transformers.voiceState(bot, { voiceState: vs, guildId })).map((vs) => [vs.userId, vs]),\n ),\n\n id: guildId,\n // WEIRD EDGE CASE WITH BOT CREATED SERVERS\n ownerId: payload.guild.owner_id ? bot.transformers.snowflake(payload.guild.owner_id) : 0n,\n permissions: payload.guild.permissions ? bot.transformers.snowflake(payload.guild.permissions) : 0n,\n afkChannelId: payload.guild.afk_channel_id ? bot.transformers.snowflake(payload.guild.afk_channel_id) : undefined,\n widgetChannelId: payload.guild.widget_channel_id ? bot.transformers.snowflake(payload.guild.widget_channel_id) : undefined,\n applicationId: payload.guild.application_id ? bot.transformers.snowflake(payload.guild.application_id) : undefined,\n systemChannelId: payload.guild.system_channel_id ? bot.transformers.snowflake(payload.guild.system_channel_id) : undefined,\n rulesChannelId: payload.guild.rules_channel_id ? bot.transformers.snowflake(payload.guild.rules_channel_id) : undefined,\n publicUpdatesChannelId: payload.guild.public_updates_channel_id ? bot.transformers.snowflake(payload.guild.public_updates_channel_id) : undefined,\n premiumProgressBarEnabled: payload.guild.premium_progress_bar_enabled,\n }\n\n return guild as Optionalize<typeof guild>\n}\n\nexport interface Guild extends ReturnType<typeof transformGuild> {}\n"],"names":["Collection","iconHashToBigInt","GuildToggles","transformGuild","bot","payload","guildId","transformers","snowflake","guild","id","afkTimeout","afk_timeout","approximateMemberCount","approximate_member_count","approximatePresenceCount","approximate_presence_count","defaultMessageNotifications","default_message_notifications","description","explicitContentFilter","explicit_content_filter","toggles","maxMembers","max_members","maxPresences","max_presences","undefined","maxVideoChannelUsers","max_video_channel_users","mfaLevel","mfa_level","name","nsfwLevel","nsfw_level","preferredLocale","preferred_locale","premiumSubscriptionCount","premium_subscription_count","premiumTier","premium_tier","stageInstances","stage_instances","map","si","channelId","channel_id","topic","systemChannelFlags","system_channel_flags","vanityUrlCode","vanity_url_code","verificationLevel","verification_level","welcomeScreen","welcome_screen","welcomeChannels","welcome_channels","wc","emojiId","emoji_id","emojiName","emoji_name","discoverySplash","discovery_splash","joinedAt","joined_at","Date","parse","memberCount","member_count","shardId","icon","banner","splash","channels","channel","result","members","member","user","roles","role","emojis","emoji","em","voiceStates","voice_states","vs","voiceState","userId","ownerId","owner_id","permissions","afkChannelId","afk_channel_id","widgetChannelId","widget_channel_id","applicationId","application_id","systemChannelId","system_channel_id","rulesChannelId","rules_channel_id","publicUpdatesChannelId","public_updates_channel_id","premiumProgressBarEnabled","premium_progress_bar_enabled"],"mappings":"AACA,SAASA,UAAU,EAAEC,gBAAgB,QAAQ,oBAAmB;AAIhE,SAASC,YAAY,QAAQ,qBAAoB;AAEjD,4EAA4E;AAC5E,OAAO,SAASC,eAAeC,GAAQ,EAAEC,OAAsD,EAAE;IAC/F,MAAMC,UAAUF,IAAIG,YAAY,CAACC,SAAS,CAACH,QAAQI,KAAK,CAACC,EAAE;IAE3D,MAAMD,QAAQ;QACZE,YAAYN,QAAQI,KAAK,CAACG,WAAW;QACrCC,wBAAwBR,QAAQI,KAAK,CAACK,wBAAwB;QAC9DC,0BAA0BV,QAAQI,KAAK,CAACO,0BAA0B;QAClEC,6BAA6BZ,QAAQI,KAAK,CAACS,6BAA6B;QACxEC,aAAad,QAAQI,KAAK,CAACU,WAAW;QACtCC,uBAAuBf,QAAQI,KAAK,CAACY,uBAAuB;QAC5DC,SAAS,I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H,QAAQI,KAAK,CAACwF,iBAAiB,IAAItE,SAAS;QAC1HuE,eAAe7F,QAAQI,KAAK,CAAC0F,cAAc,GAAG/F,IAAIG,YAAY,CAACC,SAAS,CAACH,QAAQI,KAAK,CAAC0F,cAAc,IAAIxE,SAAS;QAClHyE,iBAAiB/F,QAAQI,KAAK,CAAC4F,iBAAiB,GAAGjG,IAAIG,YAAY,CAACC,SAAS,CAACH,QAAQI,KAAK,CAAC4F,iBAAiB,IAAI1E,SAAS;QAC1H2E,gBAAgBjG,QAAQI,KAAK,CAAC8F,gBAAgB,GAAGnG,IAAIG,YAAY,CAACC,SAAS,CAACH,QAAQI,KAAK,CAAC8F,gBAAgB,IAAI5E,SAAS;QACvH6E,wBAAwBnG,QAAQI,KAAK,CAACgG,yBAAyB,GAAGrG,IAAIG,YAAY,CAACC,SAAS,CAACH,QAAQI,KAAK,CAACgG,yBAAyB,IAAI9E,SAAS;QACjJ+E,2BAA2BrG,QAAQI,KAAK,CAACkG,4BAA4B;IACvE;IAEA,OAAOlG;AACT,CAAC"}
|
|
1
|
+
{"version":3,"sources":["../../src/transformers/guild.ts"],"sourcesContent":["import type { DiscordGuild } from '@discordeno/types'\nimport { Collection, iconHashToBigInt } from '@discordeno/utils'\nimport type { Bot } from '../index.js'\nimport type { Optionalize } from '../optionalize.js'\nimport type { Emoji } from '../transformers/emoji.js'\nimport { GuildToggles } from './toggles/guild.js'\n\n// eslint-disable-next-line @typescript-eslint/explicit-function-return-type\nexport function transformGuild(bot: Bot, payload: { guild: DiscordGuild } & { shardId: number }) {\n const guildId = bot.transformers.snowflake(payload.guild.id)\n\n const guild = {\n afkTimeout: payload.guild.afk_timeout,\n approximateMemberCount: payload.guild.approximate_member_count,\n approximatePresenceCount: payload.guild.approximate_presence_count,\n defaultMessageNotifications: payload.guild.default_message_notifications,\n description: payload.guild.description,\n explicitContentFilter: payload.guild.explicit_content_filter,\n toggles: new GuildToggles(payload.guild),\n maxMembers: payload.guild.max_members,\n maxPresences: payload.guild.max_presences ?? undefined,\n maxVideoChannelUsers: payload.guild.max_video_channel_users,\n maxStageVideoChannelUsers: payload.guild.max_stage_video_channel_users,\n mfaLevel: payload.guild.mfa_level,\n name: payload.guild.name,\n nsfwLevel: payload.guild.nsfw_level,\n preferredLocale: payload.guild.preferred_locale,\n premiumSubscriptionCount: payload.guild.premium_subscription_count,\n premiumTier: payload.guild.premium_tier,\n stageInstances: payload.guild.stage_instances?.map((si) => ({\n /** The id of this Stage instance */\n id: bot.transformers.snowflake(si.id),\n /** The guild id of the associated Stage channel */\n guildId,\n /** The id of the associated Stage channel */\n channelId: bot.transformers.snowflake(si.channel_id),\n /** The topic of the Stage instance (1-120 characters) */\n topic: si.topic,\n })),\n systemChannelFlags: payload.guild.system_channel_flags,\n vanityUrlCode: payload.guild.vanity_url_code,\n verificationLevel: payload.guild.verification_level,\n welcomeScreen: payload.guild.welcome_screen\n ? {\n description: payload.guild.welcome_screen.description ?? undefined,\n welcomeChannels: payload.guild.welcome_screen.welcome_channels.map((wc) => ({\n channelId: bot.transformers.snowflake(wc.channel_id),\n description: wc.description,\n emojiId: wc.emoji_id ? bot.transformers.snowflake(wc.emoji_id) : undefined,\n emojiName: wc.emoji_name ?? undefined,\n })),\n }\n : undefined,\n discoverySplash: payload.guild.discovery_splash ? iconHashToBigInt(payload.guild.discovery_splash) : undefined,\n\n joinedAt: payload.guild.joined_at ? Date.parse(payload.guild.joined_at) : undefined,\n memberCount: payload.guild.member_count ?? 0,\n shardId: payload.shardId,\n icon: payload.guild.icon ? iconHashToBigInt(payload.guild.icon) : undefined,\n banner: payload.guild.banner ? iconHashToBigInt(payload.guild.banner) : undefined,\n splash: payload.guild.splash ? iconHashToBigInt(payload.guild.splash) : undefined,\n channels: new Collection(\n payload.guild.channels?.map((channel) => {\n const result = bot.transformers.channel(bot, { channel, guildId })\n return [result.id, result]\n }),\n ),\n members: new Collection(\n payload.guild.members?.map((member) => {\n const result = bot.transformers.member(bot, member, guildId, bot.transformers.snowflake(member.user!.id))\n return [result.id, result]\n }),\n ),\n roles: new Collection(\n payload.guild.roles?.map((role) => {\n const result = bot.transformers.role(bot, { role, guildId })\n return [result.id, result]\n }),\n ),\n emojis: new Collection(\n (payload.guild.emojis || []).map((emoji) => {\n const em: Emoji = bot.transformers.emoji(bot, emoji)\n return [em.id!, em]\n }),\n ),\n voiceStates: new Collection(\n (payload.guild.voice_states ?? []).map((vs) => bot.transformers.voiceState(bot, { voiceState: vs, guildId })).map((vs) => [vs.userId, vs]),\n ),\n\n id: guildId,\n // WEIRD EDGE CASE WITH BOT CREATED SERVERS\n ownerId: payload.guild.owner_id ? bot.transformers.snowflake(payload.guild.owner_id) : 0n,\n permissions: payload.guild.permissions ? bot.transformers.snowflake(payload.guild.permissions) : 0n,\n afkChannelId: payload.guild.afk_channel_id ? bot.transformers.snowflake(payload.guild.afk_channel_id) : undefined,\n widgetChannelId: payload.guild.widget_channel_id ? bot.transformers.snowflake(payload.guild.widget_channel_id) : undefined,\n applicationId: payload.guild.application_id ? bot.transformers.snowflake(payload.guild.application_id) : undefined,\n systemChannelId: payload.guild.system_channel_id ? bot.transformers.snowflake(payload.guild.system_channel_id) : undefined,\n rulesChannelId: payload.guild.rules_channel_id ? bot.transformers.snowflake(payload.guild.rules_channel_id) : undefined,\n publicUpdatesChannelId: payload.guild.public_updates_channel_id ? bot.transformers.snowflake(payload.guild.public_updates_channel_id) : undefined,\n premiumProgressBarEnabled: payload.guild.premium_progress_bar_enabled,\n }\n\n return guild as Optionalize<typeof guild>\n}\n\nexport interface Guild extends ReturnType<typeof transformGuild> {}\n"],"names":["Collection","iconHashToBigInt","GuildToggles","transformGuild","bot","payload","guildId","transformers","snowflake","guild","id","afkTimeout","afk_timeout","approximateMemberCount","approximate_member_count","approximatePresenceCount","approximate_presence_count","defaultMessageNotifications","default_message_notifications","description","explicitContentFilter","explicit_content_filter","toggles","maxMembers","max_members","maxPresences","max_presences","undefined","maxVideoChannelUsers","max_video_channel_users","maxStageVideoChannelUsers","max_stage_video_channel_users","mfaLevel","mfa_level","name","nsfwLevel","nsfw_level","preferredLocale","preferred_locale","premiumSubscriptionCount","premium_subscription_count","premiumTier","premium_tier","stageInstances","stage_instances","map","si","channelId","channel_id","topic","systemChannelFlags","system_channel_flags","vanityUrlCode","vanity_url_code","verificationLevel","verification_level","welcomeScreen","welcome_screen","welcomeChannels","welcome_channels","wc","emojiId","emoji_id","emojiName","emoji_name","discoverySplash","discovery_splash","joinedAt","joined_at","Date","parse","memberCount","member_count","shardId","icon","banner","splash","channels","channel","result","members","member","user","roles","role","emojis","emoji","em","voiceStates","voice_states","vs","voiceState","userId","ownerId","owner_id","permissions","afkChannelId","afk_channel_id","widgetChannelId","widget_channel_id","applicationId","application_id","systemChannelId","system_channel_id","rulesChannelId","rules_channel_id","publicUpdatesChannelId","public_updates_channel_id","premiumProgressBarEnabled","premium_progress_bar_enabled"],"mappings":"AACA,SAASA,UAAU,EAAEC,gBAAgB,QAAQ,oBAAmB;AAIhE,SAASC,YAAY,QAAQ,qBAAoB;AAEjD,4EAA4E;AAC5E,OAAO,SAASC,eAAeC,GAAQ,EAAEC,OAAsD,EAAE;IAC/F,MAAMC,UAAUF,IAAIG,YAAY,CAACC,SAAS,CAACH,QAAQI,KAAK,CAACC,EAAE;IAE3D,MAAMD,QAAQ;QACZE,YAAYN,QAAQI,KAAK,CAACG,WAAW;QACrCC,wBAAwBR,QAAQI,KAAK,CAACK,wBAAwB;QAC9DC,0BAA0BV,QAAQI,KAAK,CAACO,0BAA0B;QAClEC,6BAA6BZ,QAAQI,KAAK,CAACS,6BAA6B;QACxEC,aAAad,QAAQI,KAAK,CAACU,WAAW;QACtCC,uBAAuBf,QAAQI,KAAK,CAACY,uBAAuB;QAC5DC,SAAS,IAAIpB,aAAaG,QAAQI,KAAK;QACvCc,YAAYlB,QAAQI,KAAK,CAACe,WAAW;QACrCC,cAAcpB,QAAQI,KAAK,CAACiB,aAAa,IAAIC;QAC7CC,sBAAsBvB,QAAQI,KAAK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GjG,IAAIG,YAAY,CAACC,SAAS,CAACH,QAAQI,KAAK,CAAC4F,cAAc,IAAI1E,SAAS;QAClH2E,iBAAiBjG,QAAQI,KAAK,CAAC8F,iBAAiB,GAAGnG,IAAIG,YAAY,CAACC,SAAS,CAACH,QAAQI,KAAK,CAAC8F,iBAAiB,IAAI5E,SAAS;QAC1H6E,gBAAgBnG,QAAQI,KAAK,CAACgG,gBAAgB,GAAGrG,IAAIG,YAAY,CAACC,SAAS,CAACH,QAAQI,KAAK,CAACgG,gBAAgB,IAAI9E,SAAS;QACvH+E,wBAAwBrG,QAAQI,KAAK,CAACkG,yBAAyB,GAAGvG,IAAIG,YAAY,CAACC,SAAS,CAACH,QAAQI,KAAK,CAACkG,yBAAyB,IAAIhF,SAAS;QACjJiF,2BAA2BvG,QAAQI,KAAK,CAACoG,4BAA4B;IACvE;IAEA,OAAOpG;AACT,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
1
|
+
export * from './activity.js';
|
|
2
|
+
export * from './application.js';
|
|
3
|
+
export * from './applicationCommand.js';
|
|
4
|
+
export * from './applicationCommandOption.js';
|
|
5
|
+
export * from './applicationCommandOptionChoice.js';
|
|
6
|
+
export * from './applicationCommandPermission.js';
|
|
7
|
+
export * from './attachment.js';
|
|
8
|
+
export * from './auditLogEntry.js';
|
|
9
|
+
export * from './component.js';
|
|
10
|
+
export * from './embed.js';
|
|
11
|
+
export * from './emoji.js';
|
|
12
|
+
export * from './gatewayBot.js';
|
|
13
|
+
export * from './member.js';
|
|
14
|
+
export * from './presence.js';
|
|
15
|
+
export * from './team.js';
|
|
16
|
+
export * from './widgetSettings.js';
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transformers/reverse/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transformers/reverse/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,qCAAqC,CAAA;AACnD,cAAc,mCAAmC,CAAA;AACjD,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,qBAAqB,CAAA"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
1
|
+
export * from './activity.js';
|
|
2
|
+
export * from './application.js';
|
|
3
|
+
export * from './applicationCommand.js';
|
|
4
|
+
export * from './applicationCommandOption.js';
|
|
5
|
+
export * from './applicationCommandOptionChoice.js';
|
|
6
|
+
export * from './applicationCommandPermission.js';
|
|
7
|
+
export * from './attachment.js';
|
|
8
|
+
export * from './auditLogEntry.js';
|
|
9
|
+
export * from './component.js';
|
|
10
|
+
export * from './embed.js';
|
|
11
|
+
export * from './emoji.js';
|
|
12
|
+
export * from './gatewayBot.js';
|
|
13
|
+
export * from './member.js';
|
|
14
|
+
export * from './presence.js';
|
|
15
|
+
export * from './team.js';
|
|
16
|
+
export * from './widgetSettings.js';
|
|
17
17
|
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/transformers/reverse/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/transformers/reverse/index.ts"],"sourcesContent":["export * from './activity.js'\nexport * from './application.js'\nexport * from './applicationCommand.js'\nexport * from './applicationCommandOption.js'\nexport * from './applicationCommandOptionChoice.js'\nexport * from './applicationCommandPermission.js'\nexport * from './attachment.js'\nexport * from './auditLogEntry.js'\nexport * from './component.js'\nexport * from './embed.js'\nexport * from './emoji.js'\nexport * from './gatewayBot.js'\nexport * from './member.js'\nexport * from './presence.js'\nexport * from './team.js'\nexport * from './widgetSettings.js'\n"],"names":[],"mappings":"AAAA,cAAc,gBAAe;AAC7B,cAAc,mBAAkB;AAChC,cAAc,0BAAyB;AACvC,cAAc,gCAA+B;AAC7C,cAAc,sCAAqC;AACnD,cAAc,oCAAmC;AACjD,cAAc,kBAAiB;AAC/B,cAAc,qBAAoB;AAClC,cAAc,iBAAgB;AAC9B,cAAc,aAAY;AAC1B,cAAc,aAAY;AAC1B,cAAc,kBAAiB;AAC/B,cAAc,cAAa;AAC3B,cAAc,gBAAe;AAC7B,cAAc,YAAW;AACzB,cAAc,sBAAqB"}
|
|
@@ -215,6 +215,7 @@ export declare function transformTemplate(bot: Bot, payload: DiscordTemplate): {
|
|
|
215
215
|
premium_tier?: import("@discordeno/types").PremiumTiers | undefined;
|
|
216
216
|
premium_subscription_count?: number | undefined;
|
|
217
217
|
max_video_channel_users?: number | undefined;
|
|
218
|
+
max_stage_video_channel_users?: number | undefined;
|
|
218
219
|
approximate_member_count?: number | undefined;
|
|
219
220
|
approximate_presence_count?: number | undefined;
|
|
220
221
|
nsfw_level?: import("@discordeno/types").GuildNsfwLevel | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/transformers/template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAItC,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,eAAe
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/transformers/template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAItC,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBnE;AAED,MAAM,WAAW,QAAS,SAAQ,UAAU,CAAC,OAAO,iBAAiB,CAAC;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleBitfield.d.ts","sourceRoot":"","sources":["../../../src/transformers/toggles/ToggleBitfield.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAc;IACzB,QAAQ,
|
|
1
|
+
{"version":3,"file":"ToggleBitfield.d.ts","sourceRoot":"","sources":["../../../src/transformers/toggles/ToggleBitfield.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAc;IACzB,QAAQ,SAAI;gBAEA,QAAQ,CAAC,EAAE,MAAM;IAI7B,uEAAuE;IACvE,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAI/B,sCAAsC;IACtC,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAKvB,2CAA2C;IAC3C,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;CAI3B;AAED,qBAAa,oBAAoB;IAC/B,QAAQ,SAAK;gBAED,QAAQ,CAAC,EAAE,MAAM;IAI7B,uEAAuE;IACvE,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAI/B,sCAAsC;IACtC,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAKvB,2CAA2C;IAC3C,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;CAI3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/transformers/toggles/ToggleBitfield.ts"],"sourcesContent":["export class ToggleBitfield {\n bitfield = 0
|
|
1
|
+
{"version":3,"sources":["../../../src/transformers/toggles/ToggleBitfield.ts"],"sourcesContent":["export class ToggleBitfield {\n bitfield = 0\n\n constructor(bitfield?: number) {\n if (bitfield) this.bitfield = bitfield\n }\n\n /** Tests whether or not this bitfield has the permission requested. */\n contains(bits: number): boolean {\n return Boolean(this.bitfield & bits)\n }\n\n /** Adds some bits to the bitfield. */\n add(bits: number): this {\n this.bitfield |= bits\n return this\n }\n\n /** Removes some bits from the bitfield. */\n remove(bits: number): this {\n this.bitfield &= ~bits\n return this\n }\n}\n\nexport class ToggleBitfieldBigint {\n bitfield = 0n\n\n constructor(bitfield?: bigint) {\n if (bitfield) this.bitfield = bitfield\n }\n\n /** Tests whether or not this bitfield has the permission requested. */\n contains(bits: bigint): boolean {\n return Boolean(this.bitfield & bits)\n }\n\n /** Adds some bits to the bitfield. */\n add(bits: bigint): this {\n this.bitfield |= bits\n return this\n }\n\n /** Removes some bits from the bitfield. */\n remove(bits: bigint): this {\n this.bitfield &= ~bits\n return this\n }\n}\n"],"names":["ToggleBitfield","constructor","bitfield","contains","bits","Boolean","add","remove","ToggleBitfieldBigint"],"mappings":"AAAA,OAAO,MAAMA;IAGXC,YAAYC,QAAiB,CAAE;aAF/BA,WAAW;QAGT,IAAIA,UAAU,IAAI,CAACA,QAAQ,GAAGA;IAChC;IAEA,qEAAqE,GACrEC,SAASC,IAAY,EAAW;QAC9B,OAAOC,QAAQ,IAAI,CAACH,QAAQ,GAAGE;IACjC;IAEA,oCAAoC,GACpCE,IAAIF,IAAY,EAAQ;QACtB,IAAI,CAACF,QAAQ,IAAIE;QACjB,OAAO,IAAI;IACb;IAEA,yCAAyC,GACzCG,OAAOH,IAAY,EAAQ;QACzB,IAAI,CAACF,QAAQ,IAAI,CAACE;QAClB,OAAO,IAAI;IACb;AACF,CAAC;AAED,OAAO,MAAMI;IAGXP,YAAYC,QAAiB,CAAE;aAF/BA,WAAW,EAAE;QAGX,IAAIA,UAAU,IAAI,CAACA,QAAQ,GAAGA;IAChC;IAEA,qEAAqE,GACrEC,SAASC,IAAY,EAAW;QAC9B,OAAOC,QAAQ,IAAI,CAACH,QAAQ,GAAGE;IACjC;IAEA,oCAAoC,GACpCE,IAAIF,IAAY,EAAQ;QACtB,IAAI,CAACF,QAAQ,IAAIE;QACjB,OAAO,IAAI;IACb;IAEA,yCAAyC,GACzCG,OAAOH,IAAY,EAAQ;QACzB,IAAI,CAACF,QAAQ,IAAI,CAACE;QAClB,OAAO,IAAI;IACb;AACF,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
1
|
+
export * from './emoji.js';
|
|
2
|
+
export * from './guild.js';
|
|
3
|
+
export * from './member.js';
|
|
4
|
+
export * from './role.js';
|
|
5
|
+
export * from './ToggleBitfield.js';
|
|
6
|
+
export * from './user.js';
|
|
7
|
+
export * from './voice.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transformers/toggles/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transformers/toggles/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
1
|
+
export * from './emoji.js';
|
|
2
|
+
export * from './guild.js';
|
|
3
|
+
export * from './member.js';
|
|
4
|
+
export * from './role.js';
|
|
5
|
+
export * from './ToggleBitfield.js';
|
|
6
|
+
export * from './user.js';
|
|
7
|
+
export * from './voice.js';
|
|
8
8
|
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/transformers/toggles/index.ts"],"sourcesContent":["export * from
|
|
1
|
+
{"version":3,"sources":["../../../src/transformers/toggles/index.ts"],"sourcesContent":["export * from './emoji.js'\nexport * from './guild.js'\nexport * from './member.js'\nexport * from './role.js'\nexport * from './ToggleBitfield.js'\nexport * from './user.js'\nexport * from './voice.js'\n"],"names":[],"mappings":"AAAA,cAAc,aAAY;AAC1B,cAAc,aAAY;AAC1B,cAAc,cAAa;AAC3B,cAAc,YAAW;AACzB,cAAc,sBAAqB;AACnC,cAAc,YAAW;AACzB,cAAc,aAAY"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@discordeno/bot",
|
|
3
|
-
"version": "19.0.0-next.
|
|
3
|
+
"version": "19.0.0-next.6359972",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"test:test-type": "tsc --project tsconfig.test.json"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@discordeno/gateway": "19.0.0-next.
|
|
28
|
-
"@discordeno/rest": "19.0.0-next.
|
|
29
|
-
"@discordeno/types": "19.0.0-next.
|
|
30
|
-
"@discordeno/utils": "19.0.0-next.
|
|
27
|
+
"@discordeno/gateway": "19.0.0-next.6359972",
|
|
28
|
+
"@discordeno/rest": "19.0.0-next.6359972",
|
|
29
|
+
"@discordeno/types": "19.0.0-next.6359972",
|
|
30
|
+
"@discordeno/utils": "19.0.0-next.6359972"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@swc/cli": "^0.1.62",
|