Skip to content

Commit

Permalink
update twitter bot copy
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusmolchany committed Feb 26, 2022
1 parent 5dd6d11 commit f1e3810
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/twitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ const getEventText = async (event: PartyEvent): Promise<string | undefined> => {
const shouldAlertAboutNewParty = await getShouldAlertAboutNewParty(event);
if (shouldAlertAboutNewParty) {
return (
`What's this? A new party created by ${creatorName} just got its first contribution…` +
`What's this? A new party just got its first contribution…` +
"\n\n" +
`${partyName}${twitterHandleOrNameStr}`
`${partyName}${twitterHandleOrNameStr}` +
"\n\n" +
`Created by ${creatorName}`
);
}

Expand All @@ -115,9 +117,11 @@ const getEventText = async (event: PartyEvent): Promise<string | undefined> => {
event.contribution.totalAmountContributedToPartyInWei
);
return (
`Oh wow…${partyName}${twitterHandleOrNameStr} is halfway to winning…` +
`Oh wow…this party is halfway to winning…` +
"\n\n" +
`${partyName}${twitterHandleOrNameStr}` +
"\n\n" +
`Party balance: ${totalEthContributed} ETH`
`Balance: ${totalEthContributed} ETH`
);
}

Expand All @@ -128,7 +132,7 @@ const getEventText = async (event: PartyEvent): Promise<string | undefined> => {
return (
`What?!! ${partyName}${twitterHandleOrNameStr} has won!` +
"\n\n" +
`Total spent: ${totalSpentInEth} ETH`
`Bought for: ${totalSpentInEth} ETH`
);
} else {
return undefined;
Expand Down

0 comments on commit f1e3810

Please sign in to comment.