feat(gateway): add Discord gateway configuration

This commit is contained in:
Anish Sarkar 2026-06-01 20:58:31 +05:30
parent 4b8ca29f9e
commit 68da295b5d
4 changed files with 40 additions and 1 deletions

View file

@ -16,6 +16,10 @@ def slack_event_dedupe_key(event_id: int | str) -> str:
return f"slack_event:{event_id}"
def discord_message_dedupe_key(message_id: int | str) -> str:
return f"discord_message:{message_id}"
async def persist_inbound_event(
session: AsyncSession,
*,