Skip to content

Commit

Permalink
Allow analyze command to be executed by everyone
Browse files Browse the repository at this point in the history
  • Loading branch information
TSRBerry committed Aug 19, 2023
1 parent 69b7406 commit 868f6d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robocop_ng/cogs/logfilereader.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import aiohttp
from discord import Colour, Embed, Message, Attachment
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.disabled_ids import (
Expand Down Expand Up @@ -513,7 +513,7 @@ async def analyse_log_message(self, message: Message, attachment_index=0):
),
)

@commands.check(check_if_staff)
@commands.cooldown(3, 30, BucketType.channel)
@commands.command(
aliases=["analyselog", "analyse_log", "analyze", "analyzelog", "analyze_log"]
)
Expand Down

0 comments on commit 868f6d2

Please sign in to comment.