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

Commit

Permalink
feat: github emoji to github button
Browse files Browse the repository at this point in the history
  • Loading branch information
MrlolDev committed Sep 4, 2023
1 parent ee085d8 commit b39a8df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/bot/commands/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ export default createCommand({
{
type: MessageComponentTypes.Button,
label: "GitHub",
emoji: {
name: "github",
id: "1097828013871222865",
},
url: `https://github.com/${repo}`,
style: ButtonStyles.Link,
},
Expand All @@ -77,7 +81,7 @@ export default createCommand({
},
{
name: "Version 🔃",
value: `[${getLastRelease()}](https://github.com/${repo}/releases/latest)`,
value: `[${await getLastRelease()}](https://github.com/${repo}/releases/latest)`,
},
],
color: BRANDING_COLOR,
Expand Down

0 comments on commit b39a8df

Please sign in to comment.