User Tools

Site Tools


command_cooldown_per_user

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
command_cooldown_per_user [2020/02/06 00:13]
dante557 created
— (current)
Line 1: Line 1:
-====== Cooldown Per User ====== 
- 
-The Cooldown Per User command allows for your bot to have cooldown on commands on a per user basis instead of the default global cooldown that is built in the bot. This is done through the use of text files. 
- 
-This command can be added to other commands for a custom cooldown time that applies to each user! 
-You will need to make a folder in custom logs named whatever you want, but replace the Cooldown/@user@.txt in the commands to WhateverYouNamedFolderHere/@user@.txt. 
- 
- 
-Want to see more community-made custom commands? Click the following link - [[user_custom_commands|Link]]\\ 
-Need to know how to import this command into your Deepbot? Click the following link - [[import_and_export_commands|Link]] 
- 
----- 
- 
-==== Credits ==== 
-Ian Chandler - [[https://www.twitch.tv/ianchandler1990|Twitch Channel Link]] 
- 
-==== Latest Version ==== 
-1.0.0 
- 
-==== Update History ==== 
-No Update History 
- 
-==== Requirements ==== 
-VIP Membership - [[getvip|How to Get VIP]] 
- 
-==== Setup ==== 
- 
-   - Import the following code into Deepbot: **[[https://api.chandler-gaming.com/bot/commands/cooldown.txt|Download Json]]** 
-   - Create One Folder inside your Deepbot Folder **->** Custom Logs Folder named "Cooldown" 
-   - Rename the command that you want to have the cooldown on to something random. Make a note of this name as you will need this later. 
-   - Change the **!cooldown** command to the previous name of the command that you want the cooldown on.  
-   - Put the command name you set in step 3 into the command chaining part of the **!cooldownpass** command. 
-   - Run **!setcooldown Cooldown <seconds>**, changing <seconds> to the amount of seconds you want the cooldown to be. 
- 
-==== Command ==== 
- 
-**!setcooldown <folder in Custom Logs> <Seconds For Cooldown>**\\ 
-Use this command to change the number of seconds that the command has on cooldown\\ 
-**Example Usage**\\ 
-!setcooldown Cooldown 60 
- 
-==== Useful Information ==== 
-   * This can be used for multiple commands but you will need to edit the commands above in order to do so. Most importantly you will need to adjust the @readfile@/@savefile@ parts of the command in order for them to point to the correct folder. 
-   * You will need to either manually create the limit.txt file and add the number of seconds or run !setcooldown <folder name> <Seconds For Cooldown> as detailed in the command section of this page for the command to work correctly. If you don't do this the command will run no matter how many times the viewer triggers the command. 
  
command_cooldown_per_user.1580948015.txt.gz ยท Last modified: 2020/02/06 00:13 by dante557