ReadServer() static private method

static private ReadServer ( ulong id, string value ) : string
id ulong
value string
return string
Esempio n. 1
0
 private static string GetAnnounceChan(IGuild s, string id) => SQL.ReadServer(s.Id, id);
Esempio n. 2
0
 private static bool GetServerAnnounce(IGuild s, string b) => SQL.ReadBool(SQL.ReadServer(s.Id, b), true);
Esempio n. 3
0
        internal static IEnumerable <ulong> GetDefaultRoles(IGuild server)
        {
            var arr = SQL.ReadServer(server.Id, "default_roles").Split(',');

            return(arr.Length == 1 && arr[0].Length == 0 ? new ulong[0] : arr.Select(id => ulong.Parse(id)));
        }