Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit b39a8df

Browse files
committed
feat: github emoji to github button
1 parent ee085d8 commit b39a8df

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bot/commands/bot.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ export default createCommand({
6161
{
6262
type: MessageComponentTypes.Button,
6363
label: "GitHub",
64+
emoji: {
65+
name: "github",
66+
id: "1097828013871222865",
67+
},
6468
url: `https://github.com/${repo}`,
6569
style: ButtonStyles.Link,
6670
},
@@ -77,7 +81,7 @@ export default createCommand({
7781
},
7882
{
7983
name: "Version 🔃",
80-
value: `[${getLastRelease()}](https://github.com/${repo}/releases/latest)`,
84+
value: `[${await getLastRelease()}](https://github.com/${repo}/releases/latest)`,
8185
},
8286
],
8387
color: BRANDING_COLOR,

0 commit comments

Comments
 (0)