fixed some stuff for alpha release
This commit is contained in:
17
README.md
17
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...
|
10
cmd_form.go
10
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",
|
||||
|
Reference in New Issue
Block a user