mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-02 19:55:18 +02:00
feat(gateway): add Discord gateway configuration
This commit is contained in:
parent
4b8ca29f9e
commit
68da295b5d
4 changed files with 40 additions and 1 deletions
|
|
@ -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,
|
||||
*,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue