feat(shard): ✨ Check for permissions before starting a call.
This commit is contained in:
@@ -28,6 +28,14 @@ class Calls(base.Cog):
|
||||
self.bot = bot
|
||||
|
||||
@commands.command(aliases=["c"])
|
||||
@commands.has_permissions(
|
||||
send_messages=True,
|
||||
read_messages=True,
|
||||
read_message_history=True,
|
||||
use_external_emojis=True,
|
||||
manage_webhooks=True,
|
||||
manage_messages=True
|
||||
)
|
||||
@checks.is_not_banned()
|
||||
async def call(self, ctx: commands.Context) -> None:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user