diff --git a/src/dpy_cache/dpy_cache.py b/src/dpy_cache/dpy_cache.py index ab036fd..4ec767d 100644 --- a/src/dpy_cache/dpy_cache.py +++ b/src/dpy_cache/dpy_cache.py @@ -61,7 +61,7 @@ log = logging.getLogger(__name__) MAX_ATTACHMENTS_PER_MESSAGE = 10 -FileContent = Union[bytes, str, "os.PathLike[str]", discord.File] +FileContent = Union[bytes, bytearray, str, "os.PathLike[str]", discord.File] class DPYCacheError(Exception):