304 model_names += f"{model_number.get('name')}"
305
306 if len(model_number.get('identifier')) > 0:
307 model_names += f" (`{'`, `'.join(model_number.get('identifier'))}`)"308 model_names += "\n"
309
310 model_numbers.sort()
237 final_command = ""
238 command: typing.Union[app_commands.Command, app_commands.Group] = self.bot.tree.get_command(command_name.split()[0].lower(), guild=ctx.guild)
239 if not command_name:
240 raise commands.BadArgument("That command doesn't exist.")241
242 final_command += command.name
243
690 if reply:
691 return await message_reply.reply(message, embed=embed, mention_author=False, view=view)
692 else:
693 return await message_reply.channel.send(message, embed=embed, view=view) 694 async def join(self, ctx, interaction_message):
695 destination = ctx.author.voice.channel
696
688 embed = discord.Embed(title=message, color=color)
689 message = None
690 if reply:
691 return await message_reply.reply(message, embed=embed, mention_author=False, view=view) 692 else:
693 return await message_reply.channel.send(message, embed=embed, view=view)
694 async def join(self, ctx, interaction_message):
Statements use indentations that are not standard four spaces. PEP 8 recommends 4 spaces to be used as single indent.