public bool Equals(GatewayIntent other)
 => RawValue == (ulong)other;
 public GatewayIntents(GatewayIntent intents)
     : this((ulong)intents)
 {
 }
 public bool Has(GatewayIntent intents)
 => Flags.HasFlag(intents);
Beispiel #4
0
 public bool Has(GatewayIntent intent)
 => FlagUtilities.HasFlag(RawValue, (ulong)intent);