We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d3cbfb commit 3e75e1fCopy full SHA for 3e75e1f
bot/exts/utils/utils.py
@@ -133,7 +133,7 @@ async def zen(
133
if not (start_index % len(zen_lines) < end_index % (len(zen_lines) + 1)):
134
raise BadArgument("The start index for the slice must be smaller than the end index.")
135
136
- embed.title += f" (lines {start_index%len(zen_lines)}-{end_index%len(zen_lines)}):"
+ embed.title += f" (lines {start_index%len(zen_lines)}-{(end_index-1)%len(zen_lines)}):"
137
embed.description = "\n".join(zen_lines[start_index:end_index])
138
await ctx.send(embed=embed)
139
return
0 commit comments