fix(discord): correct group_policy default to mention and style cleanup

This commit is contained in:
Re-bin
2026-03-05 14:33:14 +00:00
parent 376b7d6d58
commit 06fcd2cc3f
2 changed files with 3 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ class DiscordConfig(Base):
allow_from: list[str] = Field(default_factory=list) # Allowed user IDs
gateway_url: str = "wss://gateway.discord.gg/?v=10&encoding=json"
intents: int = 37377 # GUILDS + GUILD_MESSAGES + DIRECT_MESSAGES + MESSAGE_CONTENT
group_policy: str = "open" # "mention" or "open"
group_policy: Literal["mention", "open"] = "mention"
class MatrixConfig(Base):