Allow analyze command to be executed by everyone (#71)

This commit is contained in:
TSRBerry 2023-09-11 21:22:44 +02:00 committed by GitHub
parent 492d43c608
commit 351b9655e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ import re
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 (
@ -513,7 +513,7 @@ class LogFileReader(Cog):
),
)
@commands.check(check_if_staff)
@commands.cooldown(3, 30, BucketType.channel)
@commands.command(
aliases=["analyselog", "analyse_log", "analyze", "analyzelog", "analyze_log"]
)