Skip to content

Commit c68ebe1

Browse files
feat: Add helper methods to the gw member model (#492)
* feat: implement helper methods for gw events * gw member * refactor: requested changes * ci: correct from checks. * fix!: remove unused import Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d9cd5b6 commit c68ebe1

File tree

5 files changed

+435
-12
lines changed

5 files changed

+435
-12
lines changed

interactions/api/gateway.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ def _dispatch_event(self, event: str, data: dict) -> None: # sourcery no-metric
290290
"""
291291
path: str = "interactions"
292292
path += ".models" if event == "INTERACTION_CREATE" else ".api.models"
293-
294293
if event == "INTERACTION_CREATE":
295294
if not data.get("type"):
296295
log.warning(

0 commit comments

Comments
 (0)