Hi Pixie! You don’t have to fill out the Discord Server ID at all. That’s only used for emojis. If it’s erroring out, you might be giving it the wrong Discord Bot Token or Twitch Username. Make sure you follow this guide (especially the part regarding grabbing the bot token). https://sammi.solutions/extensions/social/discord-relay#pills-setup. Also, in your Open Relay button make sure you checked ‘Discord Trigger’. Hope that helps1
Viewing post in Discord to Twitch & YouTube Relay comments
It helps! Thank you, everything’s working. I do see a lot of failures during
async GetProfileImages(e) {
await fetch(`https://api.twitch.tv/helix/users?login=${e}`, { headers: { "Client-ID": TWITCH_CLIENT_ID, Authorization: `Bearer ${DiscTwitchRelay.settings.oauthtoken}`, "Content-Type": "application/json" } })
.then((e) => e.json())
.then((e) => {
e.data.forEach((e) => {
const t = e.profile_image_url || e.offline_image_url;
DiscTwitchRelay.chattersImgUrls[e.login] = t;
});
})
.catch((e) => console.log(e));
},
but, everything does appear to be working now! I have had an amazing time reading through your code and learning how to interact with SAMMI in new ways and using it to play with things on my stream. Thank you! <3