Adding all files
This commit is contained in:
21
.local/lib/python3.14/site-packages/disnake/bans.py
Normal file
21
.local/lib/python3.14/site-packages/disnake/bans.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING, NamedTuple, Optional, Sequence
|
||||
|
||||
__all__ = ("BanEntry",)
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .abc import Snowflake
|
||||
from .user import User
|
||||
|
||||
|
||||
class BanEntry(NamedTuple):
|
||||
reason: Optional[str]
|
||||
user: "User"
|
||||
|
||||
|
||||
class BulkBanResult(NamedTuple):
|
||||
banned: Sequence[Snowflake]
|
||||
failed: Sequence[Snowflake]
|
||||
Reference in New Issue
Block a user