Skip to content

Commit f8e968d

Browse files
Nanrechi0bs
andauthored
chore(simple_cog): correct example to use the proper extension command decorator. (#639)
* docs: add migration docs for 4.1 * docs: detail message content intent in migration * ADMIN/chore: finish catchup from rebase (#573) * docs: add migration docs for 4.1 * docs: detail message content intent in migration * ADMIN/chore: finish catchup from rebase (#573) (#574) * docs: add migration docs for 4.1 * docs: detail message content intent in migration * Fix `simple_cog` to use the proper extension command decorator Co-authored-by: fl0w <41456914+goverfl0w@users.noreply.github.com> Co-authored-by: James Walston <officialdeltadev@gmail.com>
1 parent befd468 commit f8e968d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simple_cog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class SimpleCog(interactions.Extension):
55
def __init__(self, client) -> None:
66
self.client = client
77

8-
# @interactions.command(
8+
# @interactions.extension_command(
99
# name="cog-command",
1010
# description="wanna be in a cog? :)) ok.",
1111
# scope=852402668294766612,

0 commit comments

Comments
 (0)