Commands
CommandAddToAllUserCooldowns
Will add time(seconds) to all current user cooldowns of a command, by ID
public void CommandAddToAllUserCooldowns(string id, int seconds)
CommandAddToGlobalCooldown
Will add time(seconds) to current global cooldown of a command, by ID
public void CommandAddToGlobalCooldown(string id, int seconds)
CommandAddToUserCooldown
Will add time(seconds) to the specified user's cooldown of a command, by ID
public void CommandAddToUserCooldown(string id, string userId, Platform platform, int seconds)
public void CommandAddToUserCooldown(string id, int userId, int seconds)
CommandGetCounter
Returns the total number of command uses, by ID
public int CommandGetCounter(string commandId)
CommandGetUserCounter
Returns the total number of times a user has executed the specified command
public CommandCounter CommandGetUserCounter(string userLogin, Platform platform, string commandId)
CommandGetUserCounterById
Returns the total number of times a user has executed the specified command, by ID
public CommandCounter CommandGetUserCounterById(string userId, Platform platform, string commandId)
CommandRemoveAllUserCooldowns
Remove all user cooldowns associated with the specified command, by ID
public void CommandRemoveAllUserCooldowns(string id)
CommandRemoveGlobalCooldown
Remove global cooldown associated with the specified command, by ID
public void CommandRemoveGlobalCooldown(string id)
CommandRemoveUserCooldown
Remove the specified user's cooldown of a command, by ID
public void CommandRemoveUserCooldown(string id, string userId, Platform platform)
public void CommandRemoveUserCooldown(string id, int userId)
CommandResetAllUserCooldowns
Reset all users cooldowns on all platforms associated with the specified command, by ID
public void CommandResetAllUserCooldowns(string id)
CommandResetAllUserCounters
Resets all user counters associated with the specified command, by ID
public void CommandResetAllUserCounters(string commandId)
CommandResetCounter
Resets the total counter for the given command, by ID
public void CommandResetCounter(string commandId)
CommandResetGlobalCooldown
Resets global cooldown of command, by ID
public void CommandResetGlobalCooldown(string id)
CommandResetUserCooldown
Reset the specified user's cooldown of a command, by ID
public void CommandResetUserCooldown(string id, string userId, Platform platform)
public void CommandResetUserCooldown(string id, int userId)
CommandResetUserCounter
Resets the counter for a specified user for the given command, by ID
public void CommandResetUserCounter(string commandId, string userId, Platform platform)
CommandResetUsersCounters
Resets the total counter for all users of a platform for the given command, by ID
public void CommandResetUsersCounters(string userId, Platform platform, bool persisted)
CommandSetGlobalCooldownDuration
Set the global cooldown duration of a command, by ID
public void CommandSetGlobalCooldownDuration(string id, int seconds)
CommandSetUserCooldownDuration
Set the user cooldown duration of a command, by ID
public void CommandSetUserCooldownDuration(string id, int seconds)
DisableCommand
Disables a command, by ID
public void DisableCommand(string id)
EnableCommand
Enables a command, by ID
public void EnableCommand(string id)
GetCommands
Returns all commands associated with Streamer.bot instance
public List<CommandData> GetCommands()