mirror of
https://github.com/stronk-dev/RandomChad.git
synced 2025-07-05 10:35:08 +02:00
✨ Implement discord bot links as per bangsouls suggestion
This commit is contained in:
parent
2a684d2833
commit
22d9fc6c9e
@ -92,13 +92,13 @@ async function generateNewOutfitFromId( id, network='mainnet' ) {
|
|||||||
|
|
||||||
// Notify discord
|
// Notify discord
|
||||||
const [ firstname ] = rocketeer.name.split( ' ' )
|
const [ firstname ] = rocketeer.name.split( ' ' )
|
||||||
await notifyDiscordWebhook(
|
await notifyDiscordWebhook(
|
||||||
rocketeer.name,
|
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,
|
rocketeer.image,
|
||||||
`Outfit #${ available_outfits + 1 }`,
|
`Outfit #${ available_outfits + 1 }`,
|
||||||
newOutfitSvg.replace( '.svg','.jpg' )
|
newOutfitSvg.replace( '.svg','.jpg' )
|
||||||
)
|
)
|
||||||
|
|
||||||
return newOutfitSvg
|
return newOutfitSvg
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user