Skip to content

Commit b0f91af

Browse files
author
Krypton
committed
Fixed new decorator
1 parent bcdc942 commit b0f91af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Slash commands can take **some hours** to get registered on guilds, so if you wa
4343
the `guild_ids` parameter in the command decorator so that it gets registered instantly. Example:
4444

4545
```py
46-
@cog_ext.cog_slash(
46+
@commands.slash_command(
4747
name="command",
4848
description="Command description",
4949
guild_ids=[GUILD_ID1, GUILD_ID2] # These should be testing guild(s) ID, as always: an integer.

0 commit comments

Comments
 (0)