Skip to content

Commit aa56160

Browse files
committed
refactor: change options order
1 parent a3ca08b commit aa56160

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

bot/bot.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ var (
2424
Name: "submit",
2525
Description: "Submit a link",
2626
Options: []*discordgo.ApplicationCommandOption{
27-
{
28-
Type: discordgo.ApplicationCommandOptionString,
29-
Name: "link",
30-
Description: "Link to submit",
31-
Required: true,
32-
},
3327
{
3428
Type: discordgo.ApplicationCommandOptionAttachment,
3529
Name: "screenshot",
3630
Description: "Screenshot of problem solution",
3731
Required: true,
3832
},
33+
{
34+
Type: discordgo.ApplicationCommandOptionString,
35+
Name: "link",
36+
Description: "Link to submit",
37+
Required: true,
38+
},
3939
},
4040
},
4141
}

0 commit comments

Comments
 (0)