Allow analyze command to be executed by everyone (#71)
This commit is contained in:
parent
492d43c608
commit
351b9655e3
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ import re
|
||||||
import aiohttp
|
import aiohttp
|
||||||
from discord import Colour, Embed, Message, Attachment
|
from discord import Colour, Embed, Message, Attachment
|
||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
from discord.ext.commands import Cog, Context
|
from discord.ext.commands import Cog, Context, BucketType
|
||||||
|
|
||||||
from robocop_ng.helpers.checks import check_if_staff
|
from robocop_ng.helpers.checks import check_if_staff
|
||||||
from robocop_ng.helpers.disabled_ids import (
|
from robocop_ng.helpers.disabled_ids import (
|
||||||
|
@ -513,7 +513,7 @@ class LogFileReader(Cog):
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
@commands.check(check_if_staff)
|
@commands.cooldown(3, 30, BucketType.channel)
|
||||||
@commands.command(
|
@commands.command(
|
||||||
aliases=["analyselog", "analyse_log", "analyze", "analyzelog", "analyze_log"]
|
aliases=["analyselog", "analyse_log", "analyze", "analyzelog", "analyze_log"]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue