Skip to content

Commit 43a0fe9

Browse files
Adding excuse to Hangover.cs from ChatGpt
1 parent 2570ad5 commit 43a0fe9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

CSharp/Hangover.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,7 @@
1616

1717
TwilioClient.Init(twilioAccountSid, authToken);
1818

19-
string[] excuses = {
20-
"Locked out",
21-
"Pipes broke",
22-
"Food poisoning",
23-
"Not feeling well"
24-
};
19+
var excuses = await new ChatGpt().GetExcusesToMyBoss();
2520

2621
var rand = new Random().Next(excuses.Length);
2722
var message = $"Gonna work from home. {excuses[rand]}";

0 commit comments

Comments
 (0)