Skip to content

Commit 24138fa

Browse files
Update docs/gettingstarted.rst
Co-authored-by: Sam <[email protected]>
1 parent d1b2709 commit 24138fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/gettingstarted.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ role with id ``99999999`` and disallowing user with id ``88888888`` from running
286286
description="This is just a test command, nothing more.",
287287
permissions={
288288
12345678: [
289-
create_permission(99999999, SubcommandApplicationPermissionType.ROLE, True),
290-
create_permission(88888888, SubcommandApplicationPermissionType.USER, False)
289+
create_permission(99999999, SlashCommandPermissionsType.ROLE, True),
290+
create_permission(88888888, SlashCommandPermissionsType.USER, False)
291291
]
292292
})
293293
async def test(ctx):

0 commit comments

Comments
 (0)