Skip to content

Commit eac3ec1

Browse files
committed
fix(gateway): correct event check for voice dispatched.
1 parent 7552d02 commit eac3ec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/api/gateway.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def handle_dispatch(self, event: str, data: dict) -> None:
249249
path: str = "interactions"
250250
path += ".models" if event == "INTERACTION_CREATE" else ".api.models"
251251

252-
if event != "INTERACTION_CREATE" and "VOICE" not in event:
252+
if event != "INTERACTION_CREATE":
253253
try:
254254
lst_names: list = [piece for piece in name.split("_")]
255255
_name: str = (

0 commit comments

Comments
 (0)