From 22d9fc6c9ea5fe015d4f520632043f7afacd6168 Mon Sep 17 00:00:00 2001 From: Mentor Palokaj Date: Wed, 22 Dec 2021 09:53:15 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Implement=20discord=20bot=20links?= =?UTF-8?q?=20as=20per=20bangsouls=20suggestion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions/nft-media/changing-room.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/nft-media/changing-room.js b/functions/nft-media/changing-room.js index e837f03..c564519 100644 --- a/functions/nft-media/changing-room.js +++ b/functions/nft-media/changing-room.js @@ -92,13 +92,13 @@ async function generateNewOutfitFromId( id, network='mainnet' ) { // Notify discord const [ firstname ] = rocketeer.name.split( ' ' ) - await notifyDiscordWebhook( + await notifyDiscordWebhook( rocketeer.name, - `${ firstname } obtained a new outfit on ${ network }!`, + `${ firstname } obtained a new outfit on ${ network }! \n\nView this Rocketeer on Opensea: https://opensea.io/assets/0xb3767b2033cf24334095dc82029dbf0e9528039d/${ id }.\n\nView all outfits on the Rocketeer toolkit: https://tools.rocketeer.fans/#/outfits/${ id }`, rocketeer.image, `Outfit #${ available_outfits + 1 }`, newOutfitSvg.replace( '.svg','.jpg' ) - ) + ) return newOutfitSvg