Skip to content

Commit

Permalink
Merge pull request #41 from iluxonchik/feature/govbot-0.0.11
Browse files Browse the repository at this point in the history
Feature/govbot 0.0.11
  • Loading branch information
iluxonchik authored Sep 2, 2024
2 parents 5bc27af + 588b87b commit 6b3da38
Show file tree
Hide file tree
Showing 3 changed files with 667 additions and 581 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mina-govbot",
"version": "0.0.10",
"version": "0.0.11",
"description": "Discord bot for collective decision making for Mina Protocol",
"main": "index.js",
"directories": {
Expand Down
20 changes: 10 additions & 10 deletions src/channels/consider/screens/ConsiderationHomeScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,18 +442,18 @@ class SMEConsiderationVoteAction extends Action {
)
.addFields(
{
name: 'About Funding Round',
value: `ID: ${fundingRound.id}\nBudget: ${
fundingRound.budget
}\nStart: ${fundingRound.startAt.toLocaleString()}\nEnd: ${fundingRound.endAt.toLocaleString()}`,
name: 'Funding Round Info',
value: DiscordLimiter.EmbedBuilder.limitFieldValue(
`ID: ${fundingRound.id}\nBudget: ${
fundingRound.budget
}\nStart: ${fundingRound.startAt.toLocaleString()}\nEnd: ${fundingRound.endAt.toLocaleString()}`,
),
},
{
name: 'About Project',
value: DiscordLimiter.limitTo100(`ID: ${project.id}
Name: ${DiscordLimiter.limitTo25(project.name)}
Budget: ${DiscordLimiter.limitTo25(project.budget.toString())}
Submitter: ${DiscordLimiter.limitTo25(project.proposerDuid)}
URI: ${DiscordLimiter.limitTo25(project.uri)}`),
name: 'Project Info',
value: DiscordLimiter.EmbedBuilder.limitFieldValue(
`ID: ${project.id}\nName: ${project.name}\nBudget: ${project.budget.toString()}\nSubmitter: ${project.proposerDuid}\nURI: ${project.uri}`,
),
},
);

Expand Down
Loading

0 comments on commit 6b3da38

Please sign in to comment.