Is there a way to stop the bot cooldown/cost with customapi?


#1

I’m using a command to call an external PHP script, and the command can be a successful request, or fail

if it fails, it will notify the user. however they will still be charged the points and can’t use the command again because of the cooldown.

is the only other option to create a fully custom command?

or can I connect to the DB using another bot and do it that way?


#2

make a custom script for this?


#3

I don’t really have any idea how to do that.

I was hoping something like this would exist

@customtfapi (custom true/false api)

and it checks the first character for 1 or 0 (true or false)

if true it sets cooldown and charges points, if 0 it doesn’t do either of those. everything after should be returned like @customapi


#4

All of these checks get done before we parse variables, there’s no way to stop it, only way is with a custom script and clears the cooldown when the command is ran.