]> jfr.im git - irc/rizon/acid.git/commitdiff
Add indication which nickname won the VIzon lottery
authorOrillion <redacted>
Fri, 21 Apr 2017 22:10:37 +0000 (00:10 +0200)
committerOrillion <redacted>
Fri, 21 Apr 2017 22:10:37 +0000 (00:10 +0200)
vizon/src/main/java/net/rizon/acid/plugins/vizon/LotteryThread.java

index f091b71394ef4761bba67337e5ded69c2e6a760c..92da679414963db3b05e4412c49ebf2122b6658f 100644 (file)
@@ -283,8 +283,8 @@ public class LotteryThread extends Thread
                notifyUser(
                                u,
                                String.format("Congratulations, you won the jackpot in VIzon "
-                                               + "No.%d! You are eligible to select a new vhost and "
-                                               + "won a 1 letter nickname!", drawing.getId()),
+                                               + "No.%d on %s! You are eligible to select a new vhost and "
+                                               + "won a 1 letter nickname!", drawing.getId(), user.getNick()),
                                user.getNick());
        }
 
@@ -295,8 +295,8 @@ public class LotteryThread extends Thread
                notifyUser(
                                u,
                                String.format("Congratulations, you won the grand prize in VIzon "
-                                               + "No.%d! You are eligible to select a new vhost! Your "
-                                               + "vhost will now be permanent!", drawing.getId()),
+                                               + "No.%d on %s! You are eligible to select a new vhost! Your "
+                                               + "vhost will now be permanent!", drawing.getId(), user.getNick()),
                                user.getNick());
        }
 
@@ -307,8 +307,8 @@ public class LotteryThread extends Thread
                notifyUser(
                                u,
                                String.format("Congratulations, you won the first prize in VIzon "
-                                               + "No.%d! You are eligible to select a new vhost! And your "
-                                               + "vhost will be made bold!", drawing.getId()),
+                                               + "No.%d on %s! You are eligible to select a new vhost! And your "
+                                               + "vhost can be made bold!", drawing.getId(), user.getNick()),
                                user.getNick());
        }
 
@@ -319,7 +319,7 @@ public class LotteryThread extends Thread
                notifyUser(
                                u,
                                String.format("Congratulations, you won the second prize in VIzon "
-                                               + "No.%d! You are eligible to select a new vhost!", drawing.getId()),
+                                               + "No.%d on %s! You are eligible to select a new vhost!", drawing.getId(), user.getNick()),
                                user.getNick());
        }
 
@@ -330,7 +330,7 @@ public class LotteryThread extends Thread
                notifyUser(
                                u,
                                String.format("Congratulations, you won the third prize in VIzon "
-                                               + "No.%d! You are eligible to select a new colored vhost!", drawing.getId()),
+                                               + "No.%d on %s! You are eligible to select a new colored vhost!", drawing.getId(), user.getNick()),
                                user.getNick());
        }
 
@@ -341,7 +341,7 @@ public class LotteryThread extends Thread
                notifyUser(
                                u,
                                String.format("Congratulations, you won the consolation prize in VIzon "
-                                               + "No.%d! You are eligible to select a new colored vhost!", drawing.getId()),
+                                               + "No.%d on %s! You are eligible to select a new colored vhost!", drawing.getId(), user.getNick()),
                                user.getNick());
        }