We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa45f8e commit 2a6f092Copy full SHA for 2a6f092
discord_slash/context.py
@@ -52,7 +52,7 @@ def __init__(
52
self.data = _json["data"]
53
self._message_menu_id = self.data["resolved"]["messages"] if "resolved" in self.data.keys() else None # Should be set later.
54
self._author_menus_id = self.data["resolved"]["members"] if "resolved" in self.data.keys() else None
55
- self.interaction_id = _json["id"]
+ self.interaction_id = self.data["id"]
56
self._http = _http
57
self.bot = _discord
58
self._logger = logger
0 commit comments