1
0
mirror of https://gitlab.com/Deukhoofd/DeukBot4.git synced 2026-04-04 03:30:05 +00:00

Work on permission system, along with initial work on database(postgres) system

This commit is contained in:
2018-03-29 15:35:00 +02:00
parent 3a85a9f18f
commit 25d691c4e9
13 changed files with 337 additions and 15 deletions

View File

@@ -0,0 +1,15 @@
namespace DeukBot4.Utilities
{
public static class LongExtensions
{
public static ulong ToUlong(this long l)
{
return unchecked((ulong)(l - long.MinValue));
}
public static long ToLong(this ulong l)
{
return unchecked((long)l + long.MinValue);
}
}
}