Little wins
This commit is contained in:
parent
268471058d
commit
5db6a70961
@ -120,7 +120,7 @@ func chatGPT(session *discordgo.Session, channelID string, message string, conve
|
|||||||
currentPage := 0
|
currentPage := 0
|
||||||
totalPages := len(pages)
|
totalPages := len(pages)
|
||||||
embed := &discordgo.MessageEmbed{
|
embed := &discordgo.MessageEmbed{
|
||||||
Title: fmt.Sprintf("BitBot's Response (Page %d of %d)", currentPage+1, totalPages),
|
Title: fmt.Sprintf("Page %d of %d", currentPage+1, totalPages),
|
||||||
Description: pages[currentPage],
|
Description: pages[currentPage],
|
||||||
Color: 0x00ff00, // Green color
|
Color: 0x00ff00, // Green color
|
||||||
}
|
}
|
||||||
@ -171,7 +171,7 @@ func reactionHandler(session *discordgo.Session, r *discordgo.MessageReactionAdd
|
|||||||
|
|
||||||
// Update the message with the new page
|
// Update the message with the new page
|
||||||
updatedEmbed := &discordgo.MessageEmbed{
|
updatedEmbed := &discordgo.MessageEmbed{
|
||||||
Title: fmt.Sprintf("BitBot's Response (Page %d of %d)", currentPage+1, len(pages)),
|
Title: fmt.Sprintf("Page %d of %d", currentPage+1, len(pages)),
|
||||||
Description: pages[currentPage],
|
Description: pages[currentPage],
|
||||||
Color: 0x00ff00, // Green color
|
Color: 0x00ff00, // Green color
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user