Skip to content

Commit

Permalink
Add "πŸ‘€" emoji to link buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
1nv8rzim committed Jan 5, 2024
1 parent 245aba0 commit ec92a30
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions commands/handlers/angryreact.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ func AngryReact(s *discordgo.Session, m *discordgo.MessageCreate) {
Label: "View Message",
URL: helpers.JumpURL(m.Message),
Style: discordgo.LinkButton,
Emoji: discordgo.ComponentEmoji{
Name: "πŸ‘€",
},
},
m.Member.User,
span,
Expand Down
6 changes: 6 additions & 0 deletions commands/handlers/audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ func MemberJoin(s *discordgo.Session, m *discordgo.GuildMemberAdd) {
Label: "View Profile",
URL: fmt.Sprintf("https://discordapp.com/users/%v/", m.Member.User.ID),
Style: discordgo.LinkButton,
Emoji: discordgo.ComponentEmoji{
Name: "πŸ‘€",
},
},
m.Member.User,
span,
Expand All @@ -51,6 +54,9 @@ func MemberLeave(s *discordgo.Session, m *discordgo.GuildMemberRemove) {
Label: "View Profile",
URL: fmt.Sprintf("https://discordapp.com/users/%v/", m.Member.User.ID),
Style: discordgo.LinkButton,
Emoji: discordgo.ComponentEmoji{
Name: "πŸ‘€",
},
},
m.Member.User,
span,
Expand Down
3 changes: 3 additions & 0 deletions commands/handlers/isTheStackRunning.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ func IsTheStackRunning(s *discordgo.Session, m *discordgo.MessageCreate) {
Label: "View Message",
URL: helpers.JumpURL(message),
Style: discordgo.LinkButton,
Emoji: discordgo.ComponentEmoji{
Name: "πŸ‘€",
},
},
m.Member.User,
span,
Expand Down
3 changes: 3 additions & 0 deletions commands/handlers/uwu.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ func Uwu(s *discordgo.Session, m *discordgo.MessageCreate) {
Label: "View Message",
URL: helpers.JumpURL(message),
Style: discordgo.LinkButton,
Emoji: discordgo.ComponentEmoji{
Name: "πŸ‘€",
},
},
m.Member.User,
span,
Expand Down
3 changes: 3 additions & 0 deletions commands/scheduled/goodfood.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ func sendGoodFoodPing(s *discordgo.Session, location string, ctx ddtrace.SpanCon
Label: "View Message",
URL: helpers.JumpURL(message),
Style: discordgo.LinkButton,
Emoji: discordgo.ComponentEmoji{
Name: "πŸ‘€",
},
},
nil,
span,
Expand Down

0 comments on commit ec92a30

Please sign in to comment.