1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-30 18:53:30 +00:00

API: fix accidental append instead of prepend

This commit is contained in:
mavolin 2020-05-23 02:08:36 +02:00 committed by diamondburned
parent 7b52582c93
commit 93d9323b3b

View file

@ -69,7 +69,7 @@ func (c *Client) ReactionsBefore(
if err != nil { if err != nil {
return users, err return users, err
} }
users = append(users, r...) users = append(r, users...)
if len(r) < hardLimit { if len(r) < hardLimit {
break break