-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConstants.cs
17 lines (16 loc) · 925 Bytes
/
Constants.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using System.Collections.Generic;
using System.Net.Http;
namespace PTO
{
public static class Constants
{
//https://docs.microsoft.com/en-us/azure/azure-functions/manage-connections#static-clients
public static HttpClient HttpClient = new HttpClient();
public static readonly List<string> Keywords = new List<string>() { "pto", "ooo", "vacation", "vacationing" };
public static readonly List<string> Phrases = new List<string>() { "out sick", "out of office" };
public static readonly List<string> PTOEmojis = new List<string> { ":pto:" };
public static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
public static readonly string BotAlgoDesc = $"_PTO Notifier looks for one of the keywords: *{string.Join(", ", Constants.Keywords)}*; or a phrase: *{string.Join(", ", Constants.Phrases)}*, in the status._";
}
}