1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-20 02:00:49 +00:00

bit less spammy pls

This commit is contained in:
Ash Keel 2021-05-12 19:28:22 +02:00
parent dfb36dcdf8
commit ef83f58da0
No known key found for this signature in database
GPG key ID: CF2CC050478BD7E5

View file

@ -224,7 +224,7 @@ func cmdContributeGoal(bot *TwitchBot, message irc.PrivateMessage) {
} }
newRemaining := selectedGoal.TotalGoal - selectedGoal.Contributed newRemaining := selectedGoal.TotalGoal - selectedGoal.Contributed
bot.Client.Say(message.Channel, fmt.Sprintf("ShowOfHands %s contributed %d %s to \"%s\"!! Only %d %s left ShowOfHands!", message.User.DisplayName, points, bot.Loyalty.Config.Currency, selectedGoal.Name, newRemaining, bot.Loyalty.Config.Currency)) bot.Client.Say(message.Channel, fmt.Sprintf("ShowOfHands %s contributed %d %s to \"%s\"!! Only %d %s left!", message.User.DisplayName, points, bot.Loyalty.Config.Currency, selectedGoal.Name, newRemaining, bot.Loyalty.Config.Currency))
// Check if goal was reached! // Check if goal was reached!
// TODO Replace this with sub from loyalty system or something? // TODO Replace this with sub from loyalty system or something?