Skip to content

Commit

Permalink
added world url
Browse files Browse the repository at this point in the history
  • Loading branch information
supreme2580 committed Jan 18, 2025
1 parent 7bca237 commit d87df29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion eliza/src/actions/announce_milestone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default {
};

// Use AI to generate congratulatory message
const aiPrompt = `Generate a short, exciting tweet (max 280 chars) celebrating that ${worldName} world has reached ${formatNumber(pixels)} pixels! Include the world URL https://artpeace.net/worlds/${worldName}. Include emojis and hashtags #ArtPeace #PixelArt. The message should be enthusiastic and focus on community growth.`;
const aiPrompt = `Generate a short, exciting tweet (max 280 chars) celebrating that ${worldName} world has reached ${formatNumber(pixels)} pixels! Include the world URL https://artpeace.net/worlds/${worldName} in a sentence so that people can check it out. Include emojis and hashtags #ArtPeace #PixelArt. The message should be enthusiastic and focus on community growth.`;

const aiResponse = await generateText({
runtime,
Expand Down
1 change: 1 addition & 0 deletions eliza/src/character.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const character: Character = {
"maintain professional tone",
"mention specific world names",
"include exact pixel counts",
"include the url to the world so people can check it out"
],
}
};

0 comments on commit d87df29

Please sign in to comment.