Skip to content

Commit

Permalink
fix: make raffle messages not announcements
Browse files Browse the repository at this point in the history
Because Twitch
  • Loading branch information
opti21 committed Jun 28, 2022
1 parent c507c7f commit 6f22e3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/commands/raffle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const handleRaffle = async (

twitch.say(
channel,
`/announce PogChamp A raffle has begun for the next song! sthPog it will end in ${raffleSecondsLeft} seconds. You're automatically entered by having a song in the queue sthHype`
`PogChamp A raffle has begun for the next song! sthPog it will end in ${raffleSecondsLeft} seconds. You're automatically entered by having a song in the queue sthHype`
);

raffleIntervalCheck = setInterval(() => {
Expand All @@ -62,7 +62,7 @@ const handleRaffle = async (
if (raffleOpen) {
twitch.say(
channel,
`/announce The raffle for the next song will end in ${raffleSecondsLeft} seconds. You're automatically entered by having a song in the queue sthPog`
`The raffle for the next song will end in ${raffleSecondsLeft} seconds. You're automatically entered by having a song in the queue sthPog`
);
}
}, 10000);
Expand All @@ -71,7 +71,7 @@ const handleRaffle = async (
raffleOpen = false;
clearInterval(raffleIntervalCheck);

twitch.say(channel, "/announce The raffle has closed! Picking winner...");
twitch.say(channel, "The raffle has closed! Picking winner...");

const nonPrioRequests = await prisma.request
.findMany({
Expand Down Expand Up @@ -102,7 +102,7 @@ const handleRaffle = async (

twitch.say(
channel,
`/announce The raffle winner is ${winningRequest.requested_by}! Their song will be up next! sthPeepo sthHype`
`The raffle winner is ${winningRequest.requested_by}! Their song will be up next! sthPeepo sthHype`
);

const currentQueue = await getQueue();
Expand Down

0 comments on commit 6f22e3d

Please sign in to comment.