From 04c6f4e83ff84fb52c76a3a3aa8a0a4b8ef5c54a Mon Sep 17 00:00:00 2001 From: Less Date: Thu, 24 Oct 2024 11:28:19 +0700 Subject: [PATCH] chore: use v2 URL on Discord bot --- src/providers/discord.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/discord.ts b/src/providers/discord.ts index 6f0bad3..c030ae2 100644 --- a/src/providers/discord.ts +++ b/src/providers/discord.ts @@ -522,7 +522,7 @@ export async function send(eventObj, proposal, _subscribers) { return { success: true }; } - const url = `https://snapshot.org/#/${proposal.space.id}/proposal/${proposal.id}`; + const url = `https://snapshot.box/#/s:${proposal.space.id}/proposal/${proposal.id}`; let components = !proposal.choices.length || proposal.choices.length > 5