Skip to content

Commit 795f8ec

Browse files
Merge pull request #719 from ArtBlocks/lift-sales
Post Lift sales in BT
2 parents e8d155b + dd9a9cf commit 795f8ec

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/ProjectConfig/project_aliases.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,6 @@
5757
"pm": "Polychrome Music",
5858
"spin": "SPINᵗ",
5959
"mna": "Mono no Aware",
60-
"mmm": "Melancholic Magical Maiden"
60+
"mmm": "Melancholic Magical Maiden",
61+
"lift": "LIFT (a self portrait)"
6162
}

src/Utils/activityTriager.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { projectConfig } from '..'
55
dotenv.config()
66

77
// Trade activity Discord channel IDs.
8-
const CHANNEL_SALES_CHAT = projectConfig.chIdByName['block-talk']
8+
const BLOCK_TALK = projectConfig.chIdByName['block-talk']
99
const CHANNEL_SALES = projectConfig.chIdByName['sales-feed']
1010
const CHANNEL_LISTINGS = projectConfig.chIdByName['listing-feed']
1111
const ENGINE_SALES = projectConfig.chIdByName['engine-sales']
@@ -151,13 +151,13 @@ export function sendEmbedToSaleChannels(
151151
break
152152
case CollectionType.EXPLORATIONS:
153153
sendEmbedToChannel(bot, embed, EXPLORATIONS_SALES)
154-
sendEmbedToChannel(bot, embed, CHANNEL_SALES_CHAT)
154+
sendEmbedToChannel(bot, embed, BLOCK_TALK)
155155
break
156156
case CollectionType.COLLAB:
157157
case CollectionType.CORE:
158158
case CollectionType.STUDIO:
159159
sendEmbedToChannel(bot, embed, CHANNEL_SALES)
160-
sendEmbedToChannel(bot, embed, CHANNEL_SALES_CHAT)
160+
sendEmbedToChannel(bot, embed, BLOCK_TALK)
161161
break
162162
default:
163163
break
@@ -167,6 +167,13 @@ export function sendEmbedToSaleChannels(
167167
sendEmbedToChannel(bot, embed, CHANNEL_SQUIGGLE_SALES)
168168
}
169169

170+
if (
171+
artBlocksData.artist.includes('Snowfro') &&
172+
collectionType === CollectionType.ENGINE
173+
) {
174+
sendEmbedToChannel(bot, embed, BLOCK_TALK)
175+
}
176+
170177
// Non-AB Discord servers
171178
if (artBlocksData.artist.includes('Steve Pikelny')) {
172179
sendEmbedToChannel(bot, embed, STEVIE_P_SALES)

0 commit comments

Comments
 (0)