Skip to content

Commit

Permalink
register gpt cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed Feb 25, 2024
1 parent aced644 commit e830850
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ func RegisterCommands() []*discordgo.ApplicationCommand {
},
},
},
{
Name: "gpt",
Description: "Generate text with gpt-4",
Options: []*discordgo.ApplicationCommandOption{
{
Type: discordgo.ApplicationCommandOptionString,
Name: "prompt",
Description: "prompt to generate text",
Required: true,
},
},
},
}
return commands
}

0 comments on commit e830850

Please sign in to comment.