Skip to content
This repository was archived by the owner on Dec 26, 2022. It is now read-only.

Commit a94e120

Browse files
author
drawbu
committed
🎨 changed typing
1 parent 69f2c6f commit a94e120

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pincer/objects/message/user_message.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from ...utils.api_object import APIObject
2424
from ...utils.conversion import construct_client_dict
2525
from ...utils.snowflake import Snowflake
26-
from ...utils.types import MISSING
26+
from ...utils.types import MISSING, JSONSerializable
2727

2828
if TYPE_CHECKING:
2929
from typing import Any, List, Optional, Union, Generator
@@ -512,7 +512,7 @@ async def edit(
512512
the components to include with the message
513513
"""
514514

515-
data: DefaultDict[str, JsonVal] = defaultdict(list)
515+
data: DefaultDict[str, JSONSerializable] = defaultdict(list)
516516

517517
def set_if_not_none(value: Any, name: str):
518518
if isinstance(value, list):

0 commit comments

Comments
 (0)