mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
command mentions for long outputs
This commit is contained in:
1 file changed
+3
-4
+3
-4
@@ -92,11 +92,11 @@ class Info(commands.Cog):
|
||||
|
||||
# Roles
|
||||
roles = self.__construct_role_string(interaction.guild.roles)
|
||||
roles = roles if len(roles) < 1024 else f'Bruk kommandoen for å se rollene'
|
||||
roles = roles if len(roles) < 1024 else f'Bruk /{self.bot.tree.get_command("guild").get_command("roller").qualified_name} for å se rollene'
|
||||
|
||||
# Boosts
|
||||
boosters = self.__construct_booster_string(interaction)
|
||||
boosters = boosters if len(boosters) < 1024 else f'Bruk kommandoen for å se boostere'
|
||||
boosters = boosters if len(boosters) < 1024 else f'Bruk /{self.bot.tree.get_command("guild").get_command("boosters").qualified_name} for å se boostere'
|
||||
|
||||
# Channels counts
|
||||
text_channels = len(interaction.guild.text_channels)
|
||||
@@ -448,8 +448,7 @@ class Info(commands.Cog):
|
||||
# Get user roles
|
||||
roles = self.__construct_role_string(bruker.roles)
|
||||
|
||||
if len(roles) > 1024:
|
||||
roles = f'Skriv `{self.bot.prefix}{interaction.command}` for å se rollene'
|
||||
roles = roles if len(roles) < 1024 else f'Bruk /{self.bot.tree.get_command("bruker").get_command("roller").qualified_name} for å se rollene'
|
||||
|
||||
statuses = {
|
||||
'online': f'{self.bot.emoji["online"]} Pålogget',
|
||||
|
||||
Reference in new issue
Block a user