AAA3A-AAA3A / AAA3A-cogs

Many cogs for Red-DiscordBot.
https://aaa3a-cogs.readthedocs.io/en/latest
Other
35 stars 28 forks source link

[ReactToCommand] Why do the commands invoked by the cog have cooldowns? #6

Closed zarigata closed 2 years ago

zarigata commented 2 years ago

What cog is this bug report for?

react to command

Describe the bug

image

image in a time you create a command it wont go past the 1 time being that the cooldown si set to 1 time only

If there's an error, paste it here

No response

zarigata commented 2 years ago

UPDATE economy works somehow.... maybe external cogs? image

AAA3A-AAA3A commented 2 years ago

Hello, What's wrong with my cog? What is the relationship with the economy cog?

zarigata commented 2 years ago

Hello, What's wrong with my cog? What is the relationship with the economy cog?

i set the command in the rtc that in reaction with 💸 the bot would do a command on cassino, but it is stuck as a timestamp, dont really know how, as you can see in the print screen : image the time stamp does not change, i am not aware of what may doing this, i just wanted to make a cassino and other commands that are easier than tipping in chat

image

AAA3A-AAA3A commented 2 years ago

Reaction commands only invoke a command. All checks and cooldowns of the command to be invoked are respected. It is simply that a cooldown is activated. I can't do anything on my cog, except invoke without checks, but that's not a good idea.

zarigata commented 2 years ago

but cooldows are locked as you can see it kept a cooldown locked after a minute has passed, i think that it locks as the time 1 reacted? any way gonna remove all colldowns

AAA3A-AAA3A commented 2 years ago

In your example, you don't seem to use the same user ("Allin", "Blackjack"), hence the cooldowns. Anyway, my cog is not able to do cooldowns. It's like calling the command yourself from Discord, with all the checks.