mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
feat: ideas
This commit is contained in:
parent
3a5dbdfc77
commit
5471fbb0e1
@ -64,6 +64,7 @@ export const MESSAGE_UPDATE: RawHandler<DiscordMessage> = (session, _shardId, ne
|
||||
const message = {
|
||||
// TODO: improve this
|
||||
// ...new_message,
|
||||
session,
|
||||
id: new_message.id,
|
||||
guildId: new_message.guild_id,
|
||||
channelId: new_message.channel_id,
|
||||
@ -197,7 +198,6 @@ export const INTEGRATION_DELETE: RawHandler<DiscordIntegrationDelete> = (session
|
||||
session.emit("integrationDelete", { id: payload.id, guildId: payload.guild_id, applicationId: payload.application_id });
|
||||
};
|
||||
|
||||
/*
|
||||
export const MESSAGE_REACTION_ADD: RawHandler<DiscordMessageReactionAdd> = (session, _shardId, reaction) => {
|
||||
session.emit("messageReactionAdd", null);
|
||||
};
|
||||
@ -213,7 +213,6 @@ export const MESSAGE_REACTION_REMOVE_ALL: RawHandler<DiscordMessageReactionRemov
|
||||
export const MESSAGE_REACTION_REMOVE_EMOJI: RawHandler<DiscordMessageReactionRemoveEmoji> = (session, _shardId, reaction) => {
|
||||
session.emit("messageReactionRemoveEmoji", null);
|
||||
};
|
||||
*/
|
||||
|
||||
export const raw: RawHandler<unknown> = (session, shardId, data) => {
|
||||
session.emit("raw", data, shardId);
|
||||
|
2
vendor/gateway/shard/deps.ts
vendored
2
vendor/gateway/shard/deps.ts
vendored
@ -1 +1 @@
|
||||
export { decompress_with as decompressWith } from "https://unpkg.com/@evan/wasm@0.0.94/target/zlib/deno.js";
|
||||
export { deflate as decompressWith } from "../../zlib.js";
|
||||
|
1023
vendor/zlib.js
vendored
Normal file
1023
vendor/zlib.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user