diff --git a/module/message-command/line-group.go b/module/message-command/line-group.go index 4ab5ab2..7b723bb 100644 --- a/module/message-command/line-group.go +++ b/module/message-command/line-group.go @@ -349,9 +349,7 @@ func lottery(sub, txt string, s *lineobj.SourceObject) (res string) { perm := rand.Perm(len(arr)) for idx, val := range perm { dest[val] = arr[idx] - arr[idx] = nil } - arr = nil data := dest[0]