fix(shard): 🚑 Fix wrong function decorator call.
This commit is contained in:
@@ -28,13 +28,13 @@ class Calls(base.Cog):
|
|||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
||||||
@commands.command(aliases=["c"])
|
@commands.command(aliases=["c"])
|
||||||
@commands.has_permissions(
|
@commands.bot_has_permissions(
|
||||||
send_messages=True,
|
send_messages=True,
|
||||||
read_messages=True,
|
read_messages=True,
|
||||||
read_message_history=True,
|
read_message_history=True,
|
||||||
use_external_emojis=True,
|
use_external_emojis=True,
|
||||||
manage_webhooks=True,
|
manage_webhooks=True,
|
||||||
manage_messages=True
|
manage_messages=True,
|
||||||
)
|
)
|
||||||
@checks.is_not_banned()
|
@checks.is_not_banned()
|
||||||
async def call(self, ctx: commands.Context) -> None:
|
async def call(self, ctx: commands.Context) -> None:
|
||||||
@@ -141,7 +141,7 @@ class Calls(base.Cog):
|
|||||||
)
|
)
|
||||||
|
|
||||||
@commands.command(aliases=["m"])
|
@commands.command(aliases=["m"])
|
||||||
@commands.has_permissions(
|
@commands.bot_has_permissions(
|
||||||
send_messages=True,
|
send_messages=True,
|
||||||
use_external_emojis=True,
|
use_external_emojis=True,
|
||||||
)
|
)
|
||||||
@@ -182,7 +182,7 @@ class Calls(base.Cog):
|
|||||||
return await ctx.send(message)
|
return await ctx.send(message)
|
||||||
|
|
||||||
@commands.command(aliases=["r"])
|
@commands.command(aliases=["r"])
|
||||||
@commands.has_permissions(
|
@commands.bot_has_permissions(
|
||||||
send_messages=True,
|
send_messages=True,
|
||||||
)
|
)
|
||||||
@checks.is_not_banned()
|
@checks.is_not_banned()
|
||||||
|
|||||||
Reference in New Issue
Block a user