Move poll-star-avatar file endpoint

This commit is contained in:
Cadence Ember
2026-02-11 02:57:45 +13:00
parent d1b0fa48cf
commit c8b20719db
4 changed files with 6 additions and 6 deletions

View File

@@ -112,7 +112,7 @@ async function endPoll(closeMessage) {
if (combinedVotes !== totalVotes) { // This means some votes were cast on Matrix. Now that we've corrected the vote totals, we can get the results again and post them to Discord.
return {
username: "Total results including Matrix votes",
avatar_url: `${reg.ooye.bridge_origin}/discord/poll-star-avatar.png`,
avatar_url: `${reg.ooye.bridge_origin}/download/file/poll-star-avatar.png`,
content: messageString,
flags: DiscordTypes.MessageFlags.SuppressEmbeds
}