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: interactions/__init__.py
+5Lines changed: 5 additions & 0 deletions
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."
0 commit comments