Limited bot search results to 3
This commit is contained in:
parent
b07c75ca1a
commit
ddc149ffa0
@ -97,7 +97,7 @@ func onMessage(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||||
|
||||
if strings.HasPrefix(m.Content, "!s ") {
|
||||
term := m.Content[len("!s "):]
|
||||
userResults, animeResults := arn.Search(term, 10, 10)
|
||||
userResults, animeResults := arn.Search(term, 3, 3)
|
||||
message := ""
|
||||
|
||||
for _, user := range userResults {
|
||||
|
Loading…
Reference in New Issue
Block a user