mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 11:40:12 +01:00
fix(sidestore & idevice): update wording for no permissions
This commit is contained in:
@@ -36,7 +36,7 @@ class ideviceSelect(discord.ui.Select):
|
|||||||
self.bot.logger.warning(f"Bot missing permissions in server {interaction.guild.name} (ID: {interaction.guild.id}) - cannot execute {command_name} command")
|
self.bot.logger.warning(f"Bot missing permissions in server {interaction.guild.name} (ID: {interaction.guild.id}) - cannot execute {command_name} command")
|
||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
title="Permission Error",
|
title="Permission Error",
|
||||||
description="The bot doesn't have the required permissions in this server to execute commands. Please contact a server administrator to add the bot to the server.",
|
description="The bot doesn't have the required permissions in this server to execute this command. Use the slash command `/{command_name}` instead.",
|
||||||
color=0xFF0000
|
color=0xFF0000
|
||||||
)
|
)
|
||||||
embed.set_author(name="idevice", icon_url="https://yes.nighty.works/raw/snLMuO.png")
|
embed.set_author(name="idevice", icon_url="https://yes.nighty.works/raw/snLMuO.png")
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ class SidestoreSelect(discord.ui.Select):
|
|||||||
self.bot.logger.warning(f"Bot missing permissions in server {interaction.guild.name} (ID: {interaction.guild.id}) - cannot execute {command_name} command")
|
self.bot.logger.warning(f"Bot missing permissions in server {interaction.guild.name} (ID: {interaction.guild.id}) - cannot execute {command_name} command")
|
||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
title="Permission Error",
|
title="Permission Error",
|
||||||
description="The bot doesn't have the required permissions in this server to execute commands. Please contact a server administrator to add the bot to the server.",
|
description="The bot doesn't have the required permissions in this server to execute this command. Use the slash command `/{command_name}` instead.",
|
||||||
color=0xFF0000
|
color=0xFF0000
|
||||||
)
|
)
|
||||||
embed.set_author(name="SideStore", icon_url="https://github.com/SideStore/assets/blob/main/icons/classic/Default.png?raw=true")
|
embed.set_author(name="SideStore", icon_url="https://github.com/SideStore/assets/blob/main/icons/classic/Default.png?raw=true")
|
||||||
|
|||||||
Reference in New Issue
Block a user