Update typing command response for clarity in typing indicator example

This commit is contained in:
Slipstream 2025-06-11 16:23:56 -06:00
parent b97d52a365
commit e199d5494b
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -67,7 +67,7 @@ class TypingCog(commands.Cog):
@commands.command(name="typing") @commands.command(name="typing")
async def typing_test_command(self, ctx: commands.CommandContext): async def typing_test_command(self, ctx: commands.CommandContext):
"""Shows a typing indicator for 5 seconds.""" """Shows a typing indicator for 5 seconds."""
await ctx.reply("Okay, I will pretend to be typing for 5 seconds.") await ctx.reply("Showing typing indicator for 5 seconds...")
try: try:
async with client.typing(ctx.message.channel_id): async with client.typing(ctx.message.channel_id):
print(f"Displaying typing indicator in channel {ctx.message.channel_id} for 5 seconds.") print(f"Displaying typing indicator in channel {ctx.message.channel_id} for 5 seconds.")