Skip to content

Commit c0f4569

Browse files
add channel cooldown
1 parent 8780b05 commit c0f4569

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cogs/Fun.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ async def spotifyinfo(self, inter: ApplicationCommandInteraction, user: Member):
8787

8888
@commands.slash_command(name="poll", description="Make a Poll enter a question atleast 2 options and upto 6 options.")
8989
@commands.cooldown(1, 90, commands.BucketType.user)
90+
@commands.cooldown(1, 30, commands.BucketType.channel)
9091
async def poll(
9192
self,
9293
inter: ApplicationCommandInteraction,

0 commit comments

Comments
 (0)