You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ In addition to core functionality, `interactions.py` provides a range of optiona
37
37
38
38
So the base library doesn't do what you want? No problem! With builtin extensions, you are able to extend the functionality of the library. And if none of those pique your interest, there are a myriad of other extension libraries available.
Copy file name to clipboardExpand all lines: docs/src/index.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ In addition to core functionality, interactions.py provides a range of optional
34
34
35
35
So the base library doesn't do what you want? No problem! With builtin extensions, you are able to extend the functionality of the library. And if none of those pique your interest, there are a myriad of other extension libraries available.
Copy file name to clipboardExpand all lines: interactions/__init__.py
+5
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
importsys
1
2
from .clientimport (
2
3
__api_version__,
3
4
__py_version__,
@@ -680,6 +681,10 @@
680
681
"WebSocketOPCode",
681
682
)
682
683
684
+
if"discord"insys.modules:
685
+
get_logger().error(
686
+
"`import discord` import detected. Interactions.py is a completely separate library, and is not compatible with d.py models. Please see https://interactions-py.github.io/interactions.py/Guides/100%20Migration%20From%20D.py/ for how to fix your code."
"Attachments are not files. Attachments only contain metadata about the file, not the file itself - to send an attachment, you need to download it first. Check Attachment.url"
0 commit comments