Skip to content

Commit 5d6c9cf

Browse files
authored
Change indenting of menu example to 4 spaces
Changes the indentation of the example for the context menu in order for the examples' indentations to be consistent with each other.
1 parent 792c958 commit 5d6c9cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/gettingstarted.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,10 @@ Unlike ``manage_commands`` and ``manage_components``, you will have to use a dec
367367
name="commandname",
368368
guild_ids=[789032594456576001])
369369
async def commandname(ctx: MenuContext):
370-
await ctx.send(
371-
content=f"Responded! The content of the message targeted: {ctx.target_message.content}",
372-
hidden=True
373-
)
370+
await ctx.send(
371+
content=f"Responded! The content of the message targeted: {ctx.target_message.content}",
372+
hidden=True
373+
)
374374
375375
The ``@slash.context_menu`` decorator takes in the context type as given (to either appear when you right-click on a user or when you right-click on a message) as well
376376
as the name of the command, and any guild IDs if given if you would like to make it applicable to only a guild. **We only accept connected names** for the time being,

0 commit comments

Comments
 (0)