Skip to content

Commit f0ccba3

Browse files
authored
Fix Reset/Remove confusion in cooldown methods (#390)
1 parent 01c0102 commit f0ccba3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

streamerbot/3.api/3.csharp/3.methods/core/commands/command-remove-all-user-cooldowns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ example: |
1212
//Define string of commandId
1313
string commandId = "4fcc2d13-9bcf-4c18-9d91-821a15f4b6e5";
1414
15-
//Reset all user cooldowns
15+
//Remove all user cooldowns
1616
CPH.CommandRemoveAllUserCooldowns(commandId);
1717
1818
return true;

streamerbot/3.api/3.csharp/3.methods/core/commands/command-remove-global-cooldown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ example: |
1212
//Define string of commandId
1313
string commandId = "4fcc2d13-9bcf-4c18-9d91-821a15f4b6e5";
1414
15-
//Reset global cooldown
15+
//Remove global cooldown
1616
CPH.CommandRemoveGlobalCooldown(commandId);
1717
1818
return true;

streamerbot/3.api/3.csharp/3.methods/core/commands/command-remove-user-cooldown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ example: |
1717
CPH.TryGetArg("userType",out string userType);
1818
Enum.TryParse(userType, out Platform platform);
1919
20-
//Reset user's cooldown
20+
//Remove user's cooldown
2121
CPH.CommandRemoveUserCooldown(commandId, userId, platform);
2222
2323
return true;

streamerbot/3.api/3.csharp/3.methods/core/commands/command-reset-global-cooldown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ example: |
1313
string commandId = "4fcc2d13-9bcf-4c18-9d91-821a15f4b6e5";
1414
1515
//Set global cooldown back to start
16-
CPH.CommandRemoveGlobalCooldown(commandId);
16+
CPH.CommandResetGlobalCooldown(commandId);
1717
1818
return true;
1919
}

0 commit comments

Comments
 (0)