@@ -87,8 +87,7 @@ async def format_command_help(self, cmd):
87
87
color = self .bot .main_color ,
88
88
description = cmd .help
89
89
)
90
-
91
-
90
+
92
91
93
92
if not isinstance (cmd , commands .Group ):
94
93
embed .set_footer (text = f'Permission level: { perm_level } ' )
@@ -1053,7 +1052,8 @@ def get_command(cmd):
1053
1052
if not permissions :
1054
1053
embed = Embed (
1055
1054
title = f'Permission entries for command `{ cmd .name } `:' ,
1056
- description = 'No permission entries found.'
1055
+ description = 'No permission entries found.' ,
1056
+ color = self .bot .main_color ,
1057
1057
)
1058
1058
else :
1059
1059
values = []
@@ -1077,7 +1077,8 @@ def get_command(cmd):
1077
1077
1078
1078
embed = Embed (
1079
1079
title = f'Permission entries for command `{ cmd .name } `:' ,
1080
- description = ', ' .join (values )
1080
+ description = ', ' .join (values ),
1081
+ color = self .bot .main_color
1081
1082
)
1082
1083
return embed
1083
1084
@@ -1110,7 +1111,8 @@ def get_level(perm_level):
1110
1111
embed = Embed (
1111
1112
title = 'Permission entries for permission '
1112
1113
f'level `{ perm_level .name } `:' ,
1113
- description = 'No permission entries found.'
1114
+ description = 'No permission entries found.' ,
1115
+ color = self .bot .main_color ,
1114
1116
)
1115
1117
else :
1116
1118
values = []
@@ -1134,7 +1136,8 @@ def get_level(perm_level):
1134
1136
1135
1137
embed = Embed (
1136
1138
title = f'Permission entries for permission level `{ perm_level .name } `:' ,
1137
- description = ', ' .join (values )
1139
+ description = ', ' .join (values ),
1140
+ color = self .bot .main_color ,
1138
1141
)
1139
1142
return embed
1140
1143
0 commit comments