From 052f8f4a5619f0d4a7e7a307c315f055d74d76c0 Mon Sep 17 00:00:00 2001 From: vaporvee Date: Mon, 11 Mar 2024 20:21:04 +0100 Subject: [PATCH] fixed some stuff for alpha release --- README.md | 17 ++++++++++++++++- cmd_form.go | 10 +++++----- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7459a5f..15769bd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ # acecore bot -[WIP] Another multipurpose Discord bot + +Current features: +- `/tag` Pretty much custom commands that have quick access with `/g`. +- `/sticky` Stick a message to the bottom of a Discord channel. Not to overlook. +- `/autojoinroles` Automatically add a specified role to users and another one for bots. +- `/form` Make forms for your server with a specified result channel. +- `/cat` Get a random cute cat picture. +- `/dadjoke` Get a random joke that is as bad as your dad would tell one. +- `/ask` (8ball) command +- `/ping` Get the bot's current ping. +Planned features: +- Fully customizable custom forms +- Forms with mod answers (opens new chat with form author and mods -> tickets) +- Accept channels for forms (Mods need to approve sent in stuff from author before it gets in the results channel) +- Fully modular plugin system for self hosting with features i can't add to the main bot +- Much more... \ No newline at end of file diff --git a/cmd_form.go b/cmd_form.go index a1c0608..bcf748e 100644 --- a/cmd_form.go +++ b/cmd_form.go @@ -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",