ReadBool() static private method

static private ReadBool ( string data, bool ifnull = false ) : bool
data string
ifnull bool
return bool
Ejemplo n.º 1
0
 private static bool GetServerAnnounce(IGuild s, string b) => SQL.ReadBool(SQL.ReadServer(s.Id, b), true);
Ejemplo n.º 2
0
 static bool GetIgnored(string row, string table, ulong id) => SQL.ReadBool(SQL.ReadSingle(row, table, id, "ignored"));
Ejemplo n.º 3
0
 internal static bool GetNsfw(IChannel chan) => (chan as ITextChannel).IsNsfw || SQL.ReadBool(SQL.ReadChannel(chan.Id, "nsfw"));
Ejemplo n.º 4
0
 internal static bool GetNsfw(Channel chan) => SQL.ReadBool(SQL.ReadChannel(chan.Id, "nsfw"));