Update typing command response for clarity in typing indicator example
This commit is contained in:
parent
b97d52a365
commit
e199d5494b
@ -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.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user