Method Equals
- Namespace
- DSharpPlus.SlashCommands.Attributes
- Assembly
- DSharpPlus.SlashCommands.dll
Equals(object)
Checks whether this SlashCommandCooldownBucket is equal to another object.
public override bool Equals(object obj)
Parameters
obj
objectObject to compare to.
Returns
- bool
Whether the object is equal to this SlashCommandCooldownBucket.
Equals(SlashCommandCooldownBucket)
Checks whether this SlashCommandCooldownBucket is equal to another SlashCommandCooldownBucket.
public bool Equals(SlashCommandCooldownBucket other)
Parameters
other
SlashCommandCooldownBucketSlashCommandCooldownBucket to compare to.
Returns
- bool
Whether the SlashCommandCooldownBucket is equal to this SlashCommandCooldownBucket.