feat: ban message now shows the ban reason and time when unbanned
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
bc1d632e4c
commit
3abc1ba7ab
4 changed files with 26 additions and 5 deletions
|
@ -106,4 +106,11 @@ public class TheManager
|
|||
|
||||
return BitConverter.ToString(bytes).Replace("-", "").ToLower();
|
||||
}
|
||||
|
||||
public static DateTime ConvertToDateTime(long timestamp)
|
||||
{
|
||||
DateTime unixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
|
||||
DateTime date = unixEpoch.AddSeconds(timestamp);
|
||||
return date;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue