Skip to content

Commit

Permalink
lint examples
Browse files Browse the repository at this point in the history
  • Loading branch information
switchupcb committed Jul 30, 2023
1 parent d88baa4 commit 3c12f1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _examples/message/components/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func main() {
}

// send an Action Row (containing a Button) to the channel.
createMessageRequestActionRowButton := &disgo.CreateMessage{
createMessageRequestActionRowButton := &disgo.CreateMessage{ //nolint:exhaustruct
ChannelID: *channelID,
Content: disgo.Pointer("This is an Action Row (containing a Button)."),
Components: []disgo.Component{
Expand Down Expand Up @@ -89,7 +89,7 @@ func main() {
log.Printf("Successfully sent message with ID %q", message.ID)

// send an Action Row (containing a Select Menu) to the channel.
createMessageRequestActionRowSelectMenu := &disgo.CreateMessage{
createMessageRequestActionRowSelectMenu := &disgo.CreateMessage{ //nolint:exhaustruct
ChannelID: *channelID,
Content: disgo.Pointer("This is an Action Row (containing a String Select Menu)."),
Components: []disgo.Component{
Expand Down

0 comments on commit 3c12f1e

Please sign in to comment.