Method MakeId
- Namespace
- DisCatSharp.Entities.Core
- Assembly
- DisCatSharp.dll
MakeId(string, string, ulong, ulong, ulong, ulong)
Creates a bucket ID from given bucket parameters.
public static string MakeId(string commandId, string commandName, ulong userId = 0, ulong channelId = 0, ulong guildId = 0, ulong memberId = 0)
Parameters
commandId
stringID of the command
commandName
stringName of the command.
userId
ulongID of the user with which this cooldown is associated.
channelId
ulongID of the channel with which this cooldown is associated.
guildId
ulongID of the guild with which this cooldown is associated.
memberId
ulongID of the member with which this cooldown is associated.
Returns
- string
Generated bucket ID.