Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions salaah/salaah_times.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ async def _set_calculation_method(self, interaction: discord.Interaction, method
@discord.app_commands.guild_only()
@discord.app_commands.guild_install()
@discord.app_commands.describe(
calculation_method="The prayer time calculation method number, from the choices provided or /prayertimes list_calculation_methods."
calculation_method="The prayer time calculation method name, from the choices provided or /prayertimes list_calculation_methods."
)
async def set_calculation_method(self, interaction: discord.Interaction, calculation_method: int):
await interaction.response.defer(thinking=True, ephemeral=True)
Expand All @@ -225,7 +225,7 @@ async def _list_methods(self, interaction: discord.Interaction):
em = discord.Embed(colour=0x558a25, description='')
em.set_author(name='Calculation Methods', icon_url=ICON)
for method, name in self.calculation_methods.items():
em.description = f'{em.description}**{method}** - {name}\n'
em.description = f'{em.description}- {name}\n'
return await interaction.followup.send(embed=em, ephemeral=True)

@group.command(name="list_calculation_methods", description="Sends the list of calculation methods.")
Expand Down