fixed some stuff for alpha release

This commit is contained in:
2024-03-11 20:21:04 +01:00
parent 0adf6504ad
commit 052f8f4a56
2 changed files with 21 additions and 6 deletions

View File

@@ -59,7 +59,7 @@ var cmd_form Command = Command{
Name: "title",
Description: "The title the form should have",
},
{
/*{
Type: discordgo.ApplicationCommandOptionChannel,
Name: "accept_channel",
Description: "Channel for results that need to be accepted by a moderator before sending it to the result channel",
@@ -69,7 +69,7 @@ var cmd_form Command = Command{
Type: discordgo.ApplicationCommandOptionBoolean,
Name: "mods_can_comment",
Description: "Moderators can open a new channel on the form result, which then pings the user who submitted it",
},
},*/
},
},
},
@@ -82,7 +82,7 @@ var cmd_form Command = Command{
s.InteractionRespond(i.Interaction, &discordgo.InteractionResponse{
Type: discordgo.InteractionResponseChannelMessageWithSource,
Data: &discordgo.InteractionResponseData{
Content: "Get the example file edit it (make sure to have a unique \"form_type\") and submit it via `/form create`.\nOr use the demo button to get an idea of how the example would look like.",
Content: "NOT SUPPORTED YET!(use `/form add` instead)\n\nGet the example file edit it (make sure to have a unique \"form_type\") and submit it via `/form create`.\nOr use the demo button to get an idea of how the example would look like.",
Flags: discordgo.MessageFlagsEphemeral,
Files: []*discordgo.File{
{
@@ -230,10 +230,10 @@ var cmd_form Command = Command{
},
Autocomplete: func(s *discordgo.Session, i *discordgo.InteractionCreate) {
choices := []*discordgo.ApplicationCommandOptionChoice{
{
/*{
Name: "Support Ticket",
Value: "template_ticket",
},
},*/
{
Name: "Submit URL",
Value: "template_url",