mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-10 01:00:05 +00:00
Compare commits
No commits in common. "ff475f286b1e056d8922ef66f8433bf32adf9247" and "710783aaf7f5f2d9be7e9b03f6cf7bffc721a234" have entirely different histories.
ff475f286b
...
710783aaf7
2 changed files with 8 additions and 17 deletions
|
@ -1,12 +1,3 @@
|
|||
# 3.34.0 / 2024-09-16
|
||||
|
||||
* New Features
|
||||
* [marker] Implement actor to create stream markers
|
||||
* [templating] Add `currentVOD` function
|
||||
|
||||
* Bugfixes
|
||||
* [linkcheck] Fix: Replace static (deprecated) user-agent list
|
||||
|
||||
# 3.33.2 / 2024-08-27
|
||||
|
||||
* Bugfixes
|
||||
|
|
|
@ -18,23 +18,23 @@ func testGenerateRaffe() raffle {
|
|||
}
|
||||
|
||||
// Now lets generate 132 non-followers taking part
|
||||
for i := uint64(0); i < 132; i++ {
|
||||
r.Entries = append(r.Entries, raffleEntry{ID: i, Multiplier: 1})
|
||||
for i := 0; i < 132; i++ {
|
||||
r.Entries = append(r.Entries, raffleEntry{ID: uint64(i), Multiplier: 1})
|
||||
}
|
||||
|
||||
// Now lets generate 500 followers taking part
|
||||
for i := uint64(0); i < 500; i++ {
|
||||
r.Entries = append(r.Entries, raffleEntry{ID: 10000 + i, Multiplier: r.MultiFollower})
|
||||
for i := 0; i < 500; i++ {
|
||||
r.Entries = append(r.Entries, raffleEntry{ID: 10000 + uint64(i), Multiplier: r.MultiFollower})
|
||||
}
|
||||
|
||||
// Now lets generate 200 subscribers taking part
|
||||
for i := uint64(0); i < 200; i++ {
|
||||
r.Entries = append(r.Entries, raffleEntry{ID: 20000 + i, Multiplier: r.MultiSubscriber})
|
||||
for i := 0; i < 200; i++ {
|
||||
r.Entries = append(r.Entries, raffleEntry{ID: 20000 + uint64(i), Multiplier: r.MultiSubscriber})
|
||||
}
|
||||
|
||||
// Now lets generate 5 VIPs taking part
|
||||
for i := uint64(0); i < 5; i++ {
|
||||
r.Entries = append(r.Entries, raffleEntry{ID: 30000 + i, Multiplier: r.MultiVIP})
|
||||
for i := 0; i < 5; i++ {
|
||||
r.Entries = append(r.Entries, raffleEntry{ID: 30000 + uint64(i), Multiplier: r.MultiVIP})
|
||||
}
|
||||
|
||||
// They didn't join in order so lets shuffle them
|
||||
|
|
Loading…
Reference in a new issue