Remove limits on issue command for now, closes #164
This commit is contained in:
parent
4269ad0a21
commit
78a2ac014d
1 changed files with 0 additions and 3 deletions
|
@ -16,8 +16,6 @@ from naff.models.naff.application_commands import (
|
||||||
slash_command,
|
slash_command,
|
||||||
slash_option,
|
slash_option,
|
||||||
)
|
)
|
||||||
from naff.models.naff.command import cooldown
|
|
||||||
from naff.models.naff.cooldowns import Buckets
|
|
||||||
|
|
||||||
from jarvis.config import JarvisConfig
|
from jarvis.config import JarvisConfig
|
||||||
from jarvis.utils import build_embed
|
from jarvis.utils import build_embed
|
||||||
|
@ -424,7 +422,6 @@ class GitlabCog(Extension):
|
||||||
opt_type=OptionTypes.USER,
|
opt_type=OptionTypes.USER,
|
||||||
required=False,
|
required=False,
|
||||||
)
|
)
|
||||||
@cooldown(bucket=Buckets.USER, rate=1, interval=600)
|
|
||||||
async def _open_issue(self, ctx: InteractionContext, user: Member = None) -> None:
|
async def _open_issue(self, ctx: InteractionContext, user: Member = None) -> None:
|
||||||
user = user or ctx.author
|
user = user or ctx.author
|
||||||
modal = Modal(
|
modal = Modal(
|
||||||
|
|
Loading…
Add table
Reference in a new issue