SYMBOL INDEX (4787 symbols across 167 files) FILE: discord/__init__.py class VersionInfo (line 75) | class VersionInfo(NamedTuple): FILE: discord/__main__.py function show_version (line 39) | def show_version() -> None: function core (line 56) | def core(parser: argparse.ArgumentParser, args: argparse.Namespace) -> N... function to_path (line 197) | def to_path(parser: argparse.ArgumentParser, name: str, *, replace_space... function newbot (line 235) | def newbot(parser: argparse.ArgumentParser, args: argparse.Namespace) ->... function newcog (line 277) | def newcog(parser: argparse.ArgumentParser, args: argparse.Namespace) ->... function add_newbot_args (line 311) | def add_newbot_args(subparser: argparse._SubParsersAction[argparse.Argum... function add_newcog_args (line 322) | def add_newcog_args(subparser: argparse._SubParsersAction[argparse.Argum... function parse_args (line 334) | def parse_args() -> Tuple[argparse.ArgumentParser, argparse.Namespace]: function main (line 345) | def main() -> None: FILE: discord/abc.py class _Undefined (line 115) | class _Undefined: method __repr__ (line 116) | def __repr__(self) -> str: function _single_delete_strategy (line 123) | async def _single_delete_strategy(messages: Iterable[Message], *, reason... function _purge_helper (line 135) | async def _purge_helper( class Snowflake (line 194) | class Snowflake(Protocol): class User (line 213) | class User(Snowflake, Protocol): method display_name (line 245) | def display_name(self) -> str: method mention (line 250) | def mention(self) -> str: method avatar (line 255) | def avatar(self) -> Optional[Asset]: method avatar_decoration (line 260) | def avatar_decoration(self) -> Optional[Asset]: method avatar_decoration_sku_id (line 268) | def avatar_decoration_sku_id(self) -> Optional[int]: method default_avatar (line 276) | def default_avatar(self) -> Asset: method display_avatar (line 281) | def display_avatar(self) -> Asset: method mentioned_in (line 290) | def mentioned_in(self, message: Message) -> bool: class PrivateChannel (line 306) | class PrivateChannel: class _Overwrites (line 328) | class _Overwrites: method __init__ (line 334) | def __init__(self, data: PermissionOverwritePayload) -> None: method _asdict (line 340) | def _asdict(self) -> PermissionOverwritePayload: method is_role (line 348) | def is_role(self) -> bool: method is_member (line 351) | def is_member(self) -> bool: class GuildChannel (line 355) | class GuildChannel: method __init__ (line 392) | def __init__(self, *, state: ConnectionState, guild: Guild, data: Guil... method __str__ (line 395) | def __str__(self) -> str: method _sorting_bucket (line 399) | def _sorting_bucket(self) -> int: method _update (line 402) | def _update(self, guild: Guild, data: Dict[str, Any]) -> None: method _move (line 405) | async def _move( method _edit (line 442) | async def _edit(self, options: Dict[str, Any], reason: Optional[str]) ... method _fill_overwrites (line 537) | def _fill_overwrites(self, data: GuildChannelPayload) -> None: method changed_roles (line 563) | def changed_roles(self) -> List[Role]: method mention (line 579) | def mention(self) -> str: method jump_url (line 584) | def jump_url(self) -> str: method created_at (line 592) | def created_at(self) -> datetime: method overwrites_for (line 596) | def overwrites_for(self, obj: Union[Role, User, Object]) -> Permission... method overwrites (line 626) | def overwrites(self) -> Dict[Union[Role, Member, Object], PermissionOv... method category (line 661) | def category(self) -> Optional[CategoryChannel]: method permissions_synced (line 669) | def permissions_synced(self) -> bool: method _apply_implicit_permissions (line 683) | def _apply_implicit_permissions(self, base: Permissions) -> None: method permissions_for (line 697) | def permissions_for(self, obj: Union[Member, Role], /) -> Permissions: method delete (line 845) | async def delete(self, *, reason: Optional[str] = None) -> None: method set_permissions (line 870) | async def set_permissions( method set_permissions (line 880) | async def set_permissions( method set_permissions (line 889) | async def set_permissions( method _clone_impl (line 1003) | async def _clone_impl( method clone (line 1022) | async def clone(self, *, name: Optional[str] = None, reason: Optional[... method move (line 1055) | async def move( method move (line 1067) | async def move( method move (line 1079) | async def move( method move (line 1091) | async def move( method move (line 1102) | async def move(self, **kwargs: Any) -> None: method create_invite (line 1230) | async def create_invite( method invites (line 1309) | async def invites(self) -> List[Invite]: class Messageable (line 1335) | class Messageable: method _get_channel (line 1355) | async def _get_channel(self) -> MessageableChannel: method send (line 1359) | async def send( method send (line 1380) | async def send( method send (line 1401) | async def send( method send (line 1422) | async def send( method send (line 1442) | async def send( method typing (line 1631) | def typing(self) -> Typing: method fetch_message (line 1658) | async def fetch_message(self, id: int, /) -> Message: method pins (line 1687) | async def pins(self) -> List[Message]: method history (line 1716) | async def history( class Connectable (line 1881) | class Connectable(Protocol): method _get_voice_client_key (line 1894) | def _get_voice_client_key(self) -> Tuple[int, str]: method _get_voice_state_pair (line 1897) | def _get_voice_state_pair(self) -> Tuple[int, int]: method connect (line 1900) | async def connect( FILE: discord/activity.py class BaseActivity (line 102) | class BaseActivity: method __init__ (line 123) | def __init__(self, **kwargs: Any) -> None: method created_at (line 127) | def created_at(self) -> Optional[datetime.datetime]: method to_dict (line 135) | def to_dict(self) -> ActivityPayload: class Activity (line 139) | class Activity(BaseActivity): method __init__ (line 218) | def __init__(self, **kwargs: Any) -> None: method __repr__ (line 242) | def __repr__(self) -> str: method to_dict (line 256) | def to_dict(self) -> Dict[str, Any]: method start (line 273) | def start(self) -> Optional[datetime.datetime]: method end (line 283) | def end(self) -> Optional[datetime.datetime]: method large_image_url (line 293) | def large_image_url(self) -> Optional[str]: method small_image_url (line 303) | def small_image_url(self) -> Optional[str]: method _image_url (line 312) | def _image_url(self, image: str) -> Optional[str]: method large_image_text (line 319) | def large_image_text(self) -> Optional[str]: method small_image_text (line 324) | def small_image_text(self) -> Optional[str]: class Game (line 329) | class Game(BaseActivity): method __init__ (line 380) | def __init__(self, name: str, **extra: Any) -> None: method type (line 396) | def type(self) -> ActivityType: method start (line 404) | def start(self) -> Optional[datetime.datetime]: method end (line 411) | def end(self) -> Optional[datetime.datetime]: method __str__ (line 417) | def __str__(self) -> str: method __repr__ (line 420) | def __repr__(self) -> str: method to_dict (line 423) | def to_dict(self) -> Dict[str, Any]: method __eq__ (line 439) | def __eq__(self, other: object) -> bool: method __ne__ (line 442) | def __ne__(self, other: object) -> bool: method __hash__ (line 445) | def __hash__(self) -> int: class Streaming (line 449) | class Streaming(BaseActivity): method __init__ (line 496) | def __init__(self, *, name: Optional[str], url: str, **extra: Any) -> ... method type (line 506) | def type(self) -> ActivityType: method __str__ (line 513) | def __str__(self) -> str: method __repr__ (line 516) | def __repr__(self) -> str: method twitch_name (line 520) | def twitch_name(self) -> Optional[str]: method to_dict (line 534) | def to_dict(self) -> Dict[str, Any]: method __eq__ (line 545) | def __eq__(self, other: object) -> bool: method __ne__ (line 548) | def __ne__(self, other: object) -> bool: method __hash__ (line 551) | def __hash__(self) -> int: class Spotify (line 555) | class Spotify: method __init__ (line 580) | def __init__(self, **data: Any) -> None: method type (line 591) | def type(self) -> ActivityType: method created_at (line 599) | def created_at(self) -> Optional[datetime.datetime]: method colour (line 608) | def colour(self) -> Colour: method color (line 615) | def color(self) -> Colour: method to_dict (line 621) | def to_dict(self) -> Dict[str, Any]: method name (line 635) | def name(self) -> str: method __eq__ (line 639) | def __eq__(self, other: object) -> bool: method __ne__ (line 647) | def __ne__(self, other: object) -> bool: method __hash__ (line 650) | def __hash__(self) -> int: method __str__ (line 653) | def __str__(self) -> str: method __repr__ (line 656) | def __repr__(self) -> str: method title (line 660) | def title(self) -> str: method artists (line 665) | def artists(self) -> List[str]: method artist (line 670) | def artist(self) -> str: method album (line 679) | def album(self) -> str: method album_cover_url (line 684) | def album_cover_url(self) -> str: method track_id (line 693) | def track_id(self) -> str: method track_url (line 698) | def track_url(self) -> str: method start (line 706) | def start(self) -> datetime.datetime: method end (line 712) | def end(self) -> datetime.datetime: method duration (line 718) | def duration(self) -> datetime.timedelta: method party_id (line 723) | def party_id(self) -> str: class CustomActivity (line 728) | class CustomActivity(BaseActivity): method __init__ (line 761) | def __init__( method type (line 783) | def type(self) -> ActivityType: method to_dict (line 790) | def to_dict(self) -> Dict[str, Any]: method __eq__ (line 807) | def __eq__(self, other: object) -> bool: method __ne__ (line 810) | def __ne__(self, other: object) -> bool: method __hash__ (line 813) | def __hash__(self) -> int: method __str__ (line 816) | def __str__(self) -> str: method __repr__ (line 824) | def __repr__(self) -> str: function create_activity (line 832) | def create_activity(data: ActivityPayload, state: ConnectionState) -> Ac... function create_activity (line 837) | def create_activity(data: None, state: ConnectionState) -> None: function create_activity (line 841) | def create_activity(data: Optional[ActivityPayload], state: ConnectionSt... FILE: discord/app_commands/checks.py class Cooldown (line 76) | class Cooldown: method __init__ (line 91) | def __init__(self, rate: float, per: float) -> None: method get_tokens (line 98) | def get_tokens(self, current: Optional[float] = None) -> int: method get_retry_after (line 122) | def get_retry_after(self, current: Optional[float] = None) -> float: method update_rate_limit (line 144) | def update_rate_limit(self, current: Optional[float] = None, *, tokens... method reset (line 176) | def reset(self) -> None: method copy (line 181) | def copy(self) -> Self: method __repr__ (line 191) | def __repr__(self) -> str: function has_role (line 195) | def has_role(item: Union[int, str], /) -> Callable[[T], T]: function has_any_role (line 238) | def has_any_role(*items: Union[int, str]) -> Callable[[T], T]: function has_permissions (line 289) | def has_permissions(**perms: bool) -> Callable[[T], T]: function bot_has_permissions (line 344) | def bot_has_permissions(**perms: bool) -> Callable[[T], T]: function _create_cooldown_decorator (line 370) | def _create_cooldown_decorator( function cooldown (line 412) | def cooldown( function dynamic_cooldown (line 473) | def dynamic_cooldown( FILE: discord/app_commands/commands.py function _parse_args_from_docstring (line 177) | def _parse_args_from_docstring(func: Callable[..., Any], params: Dict[st... function validate_name (line 198) | def validate_name(name: str) -> str: function validate_context_menu_name (line 214) | def validate_context_menu_name(name: str) -> str: function validate_auto_complete_callback (line 220) | def validate_auto_complete_callback( function _context_menu_annotation (line 244) | def _context_menu_annotation(annotation: Any, *, _none: type = NoneType)... function _populate_descriptions (line 269) | def _populate_descriptions(params: Dict[str, CommandParameter], descript... function _populate_renames (line 289) | def _populate_renames(params: Dict[str, CommandParameter], renames: Dict... function _populate_choices (line 317) | def _populate_choices(params: Dict[str, CommandParameter], all_choices: ... function _populate_autocomplete (line 342) | def _populate_autocomplete(params: Dict[str, CommandParameter], autocomp... function _extract_parameters_from_callback (line 366) | def _extract_parameters_from_callback(func: Callable[..., Any], globalns... function _get_context_menu_parameter (line 424) | def _get_context_menu_parameter(func: ContextMenuCallback) -> Tuple[str,... function mark_overrideable (line 454) | def mark_overrideable(func: F) -> F: class Parameter (line 459) | class Parameter: method __init__ (line 497) | def __init__(self, parent: CommandParameter, command: Command[Any, ...... method command (line 502) | def command(self) -> Command[Any, ..., Any]: method name (line 506) | def name(self) -> str: method display_name (line 510) | def display_name(self) -> str: method required (line 514) | def required(self) -> bool: method description (line 518) | def description(self) -> str: method locale_name (line 522) | def locale_name(self) -> Optional[locale_str]: method locale_description (line 528) | def locale_description(self) -> Optional[locale_str]: method autocomplete (line 534) | def autocomplete(self) -> bool: method default (line 538) | def default(self) -> Any: method type (line 542) | def type(self) -> AppCommandOptionType: method choices (line 546) | def choices(self) -> List[Choice[Union[int, float, str]]]: method channel_types (line 553) | def channel_types(self) -> List[ChannelType]: method min_value (line 560) | def min_value(self) -> Optional[Union[int, float]]: method max_value (line 564) | def max_value(self) -> Optional[Union[int, float]]: class Command (line 568) | class Command(Generic[GroupT, P, T]): method __init__ (line 651) | def __init__( method _convert_to_locale_strings (line 712) | def _convert_to_locale_strings(self) -> None: method __set_name__ (line 721) | def __set_name__(self, owner: Type[Any], name: str) -> None: method callback (line 725) | def callback(self) -> CommandCallback[GroupT, P, T]: method _copy_with (line 729) | def _copy_with( method get_translated_payload (line 749) | async def get_translated_payload(self, tree: CommandTree[ClientT], tra... method to_dict (line 776) | def to_dict(self, tree: CommandTree[ClientT]) -> Dict[str, Any]: method _invoke_error_handlers (line 796) | async def _invoke_error_handlers(self, interaction: Interaction, error... method _has_any_error_handlers (line 815) | def _has_any_error_handlers(self) -> bool: method _transform_arguments (line 835) | async def _transform_arguments(self, interaction: Interaction, namespa... method _do_call (line 852) | async def _do_call(self, interaction: Interaction, params: Dict[str, A... method _invoke_with_namespace (line 878) | async def _invoke_with_namespace(self, interaction: Interaction, names... method _invoke_autocomplete (line 885) | async def _invoke_autocomplete(self, interaction: Interaction, name: s... method _get_internal_command (line 929) | def _get_internal_command(self, name: str) -> Optional[Union[Command, ... method parameters (line 933) | def parameters(self) -> List[Parameter]: method get_parameter (line 945) | def get_parameter(self, name: str) -> Optional[Parameter]: method root_parent (line 968) | def root_parent(self) -> Optional[Group]: method qualified_name (line 976) | def qualified_name(self) -> str: method _check_can_run (line 996) | async def _check_can_run(self, interaction: Interaction) -> bool: method error (line 1019) | def error(self, coro: Error[GroupT]) -> Error[GroupT]: method autocomplete (line 1045) | def autocomplete( method add_check (line 1121) | def add_check(self, func: Check, /) -> None: method remove_check (line 1134) | def remove_check(self, func: Check, /) -> None: class ContextMenu (line 1152) | class ContextMenu: method __init__ (line 1224) | def __init__( method callback (line 1273) | def callback(self) -> ContextMenuCallback: method qualified_name (line 1278) | def qualified_name(self) -> str: method get_translated_payload (line 1282) | async def get_translated_payload(self, tree: CommandTree[ClientT], tra... method to_dict (line 1295) | def to_dict(self, tree: CommandTree[ClientT]) -> Dict[str, Any]: method _check_can_run (line 1306) | async def _check_can_run(self, interaction: Interaction) -> bool: method _has_any_error_handlers (line 1313) | def _has_any_error_handlers(self) -> bool: method _invoke (line 1316) | async def _invoke(self, interaction: Interaction, arg: Any): method error (line 1327) | def error(self, coro: UnboundError) -> UnboundError: method add_check (line 1353) | def add_check(self, func: Check, /) -> None: method remove_check (line 1366) | def remove_check(self, func: Check, /) -> None: class Group (line 1384) | class Group: method __init_subclass__ (line 1495) | def __init_subclass__( method __init__ (line 1549) | def __init__( method _convert_to_locale_strings (line 1671) | def _convert_to_locale_strings(self) -> None: method __set_name__ (line 1679) | def __set_name__(self, owner: Type[Any], name: str) -> None: method _copy_with (line 1684) | def _copy_with( method get_translated_payload (line 1716) | async def get_translated_payload(self, tree: CommandTree[ClientT], tra... method to_dict (line 1740) | def to_dict(self, tree: CommandTree[ClientT]) -> Dict[str, Any]: method root_parent (line 1761) | def root_parent(self) -> Optional[Group]: method qualified_name (line 1766) | def qualified_name(self) -> str: method _get_internal_command (line 1777) | def _get_internal_command(self, name: str) -> Optional[Union[Command[A... method commands (line 1781) | def commands(self) -> List[Union[Command[Any, ..., Any], Group]]: method walk_commands (line 1785) | def walk_commands(self) -> Generator[Union[Command[Any, ..., Any], Gro... method on_error (line 1800) | async def on_error(self, interaction: Interaction, error: AppCommandEr... method error (line 1819) | def error(self, coro: ErrorFunc) -> ErrorFunc: method interaction_check (line 1848) | async def interaction_check(self, interaction: Interaction, /) -> bool: method add_command (line 1879) | def add_command(self, command: Union[Command[Any, ..., Any], Group], /... method remove_command (line 1921) | def remove_command(self, name: str, /) -> Optional[Union[Command[Any, ... method get_command (line 1938) | def get_command(self, name: str, /) -> Optional[Union[Command[Any, ...... method command (line 1954) | def command( function command (line 2014) | def command( function context_menu (line 2073) | def context_menu( function describe (line 2136) | def describe(**parameters: Union[str, locale_str]) -> Callable[[T], T]: function rename (line 2191) | def rename(**parameters: Union[str, locale_str]) -> Callable[[T], T]: function choices (line 2234) | def choices(**parameters: List[Choice[ChoiceT]]) -> Callable[[T], T]: function autocomplete (line 2303) | def autocomplete(**parameters: AutocompleteCallback[GroupT, ChoiceT]) ->... function guilds (line 2362) | def guilds(*guild_ids: Union[Snowflake, int]) -> Callable[[T], T]: function check (line 2419) | def check(predicate: Check) -> Callable[[T], T]: function guild_only (line 2479) | def guild_only(func: None = ...) -> Callable[[T], T]: function guild_only (line 2484) | def guild_only(func: T) -> T: function guild_only (line 2488) | def guild_only(func: Optional[T] = None) -> Union[T, Callable[[T], T]]: function private_channel_only (line 2533) | def private_channel_only(func: None = ...) -> Callable[[T], T]: function private_channel_only (line 2538) | def private_channel_only(func: T) -> T: function private_channel_only (line 2542) | def private_channel_only(func: Optional[T] = None) -> Union[T, Callable[... function dm_only (line 2587) | def dm_only(func: None = ...) -> Callable[[T], T]: function dm_only (line 2592) | def dm_only(func: T) -> T: function dm_only (line 2596) | def dm_only(func: Optional[T] = None) -> Union[T, Callable[[T], T]]: function allowed_contexts (line 2637) | def allowed_contexts(guilds: bool = MISSING, dms: bool = MISSING, privat... function guild_install (line 2682) | def guild_install(func: None = ...) -> Callable[[T], T]: function guild_install (line 2687) | def guild_install(func: T) -> T: function guild_install (line 2691) | def guild_install(func: Optional[T] = None) -> Union[T, Callable[[T], T]]: function user_install (line 2732) | def user_install(func: None = ...) -> Callable[[T], T]: function user_install (line 2737) | def user_install(func: T) -> T: function user_install (line 2741) | def user_install(func: Optional[T] = None) -> Union[T, Callable[[T], T]]: function allowed_installs (line 2781) | def allowed_installs( function default_permissions (line 2824) | def default_permissions(**perms: bool) -> Callable[[T], T]: FILE: discord/app_commands/errors.py class AppCommandError (line 68) | class AppCommandError(DiscordException): class CommandInvokeError (line 87) | class CommandInvokeError(AppCommandError): method __init__ (line 103) | def __init__(self, command: Union[Command[Any, ..., Any], ContextMenu]... class TransformerError (line 109) | class TransformerError(AppCommandError): method __init__ (line 133) | def __init__(self, value: Any, opt_type: AppCommandOptionType, transfo... class TranslationError (line 141) | class TranslationError(AppCommandError): method __init__ (line 163) | def __init__( class CheckFailure (line 185) | class CheckFailure(AppCommandError): class NoPrivateMessage (line 196) | class NoPrivateMessage(CheckFailure): method __init__ (line 204) | def __init__(self, message: Optional[str] = None) -> None: class MissingRole (line 208) | class MissingRole(CheckFailure): method __init__ (line 222) | def __init__(self, missing_role: Snowflake) -> None: class MissingAnyRole (line 228) | class MissingAnyRole(CheckFailure): method __init__ (line 243) | def __init__(self, missing_roles: SnowflakeList) -> None: class MissingPermissions (line 251) | class MissingPermissions(CheckFailure): method __init__ (line 265) | def __init__(self, missing_permissions: List[str], *args: Any) -> None: class BotMissingPermissions (line 274) | class BotMissingPermissions(CheckFailure): method __init__ (line 288) | def __init__(self, missing_permissions: List[str], *args: Any) -> None: class CommandOnCooldown (line 297) | class CommandOnCooldown(CheckFailure): method __init__ (line 312) | def __init__(self, cooldown: Cooldown, retry_after: float) -> None: class CommandAlreadyRegistered (line 318) | class CommandAlreadyRegistered(AppCommandError): method __init__ (line 334) | def __init__(self, name: str, guild_id: Optional[int]): class CommandNotFound (line 340) | class CommandNotFound(AppCommandError): method __init__ (line 358) | def __init__(self, name: str, parents: List[str], type: AppCommandType... class CommandLimitReached (line 365) | class CommandLimitReached(AppCommandError): method __init__ (line 383) | def __init__(self, guild_id: Optional[int], limit: int, type: AppComma... class CommandSignatureMismatch (line 398) | class CommandSignatureMismatch(AppCommandError): method __init__ (line 414) | def __init__(self, command: Union[Command[Any, ..., Any], ContextMenu,... class MissingApplicationID (line 425) | class MissingApplicationID(AppCommandError): method __init__ (line 434) | def __init__(self, message: Optional[str] = None): function _get_command_error (line 438) | def _get_command_error( class CommandSyncFailure (line 502) | class CommandSyncFailure(AppCommandError, HTTPException): method __init__ (line 513) | def __init__(self, child: HTTPException, commands: List[CommandTypes])... FILE: discord/app_commands/installs.py class AppInstallationType (line 38) | class AppInstallationType: method __init__ (line 56) | def __init__(self, *, guild: Optional[bool] = None, user: Optional[boo... method guild (line 61) | def guild(self) -> bool: method guild (line 66) | def guild(self, value: bool) -> None: method user (line 70) | def user(self) -> bool: method user (line 75) | def user(self, value: bool) -> None: method merge (line 78) | def merge(self, other: AppInstallationType) -> AppInstallationType: method _is_unset (line 85) | def _is_unset(self) -> bool: method _merge_to_array (line 88) | def _merge_to_array(self, other: Optional[AppInstallationType]) -> Opt... method _from_value (line 95) | def _from_value(cls, value: Sequence[InteractionInstallationType]) -> ... method to_array (line 104) | def to_array(self) -> List[InteractionInstallationType]: class AppCommandContext (line 113) | class AppCommandContext: method __init__ (line 134) | def __init__( method guild (line 146) | def guild(self) -> bool: method guild (line 151) | def guild(self, value: bool) -> None: method dm_channel (line 155) | def dm_channel(self) -> bool: method dm_channel (line 160) | def dm_channel(self, value: bool) -> None: method private_channel (line 164) | def private_channel(self) -> bool: method private_channel (line 169) | def private_channel(self, value: bool) -> None: method merge (line 172) | def merge(self, other: AppCommandContext) -> AppCommandContext: method _is_unset (line 178) | def _is_unset(self) -> bool: method _merge_to_array (line 181) | def _merge_to_array(self, other: Optional[AppCommandContext]) -> Optio... method _from_value (line 188) | def _from_value(cls, value: Sequence[InteractionContextType]) -> Self: method to_array (line 199) | def to_array(self) -> List[InteractionContextType]: FILE: discord/app_commands/models.py function is_app_command_argument_type (line 63) | def is_app_command_argument_type(value: int) -> bool: class AllChannels (line 94) | class AllChannels: method __init__ (line 107) | def __init__(self, guild: Guild): method id (line 111) | def id(self) -> int: method __repr__ (line 115) | def __repr__(self) -> str: function _to_locale_dict (line 119) | def _to_locale_dict(data: Dict[str, str]) -> Dict[Locale, str]: class AppCommand (line 123) | class AppCommand(Hashable): method __init__ (line 204) | def __init__(self, *, data: ApplicationCommandPayload, state: Connecti... method _from_data (line 208) | def _from_data(self, data: ApplicationCommandPayload) -> None: method to_dict (line 248) | def to_dict(self) -> ApplicationCommandPayload: method __str__ (line 262) | def __str__(self) -> str: method __repr__ (line 265) | def __repr__(self) -> str: method mention (line 269) | def mention(self) -> str: method guild (line 274) | def guild(self) -> Optional[Guild]: method delete (line 280) | async def delete(self) -> None: method edit (line 312) | async def edit( method fetch_permissions (line 397) | async def fetch_permissions(self, guild: Snowflake) -> GuildAppCommand... class Choice (line 437) | class Choice(Generic[ChoiceT]): method __init__ (line 470) | def __init__(self, *, name: Union[str, locale_str], value: ChoiceT): method from_dict (line 478) | def from_dict(cls, data: ApplicationCommandOptionChoice) -> Choice[Cho... method __eq__ (line 485) | def __eq__(self, o: object) -> bool: method __hash__ (line 488) | def __hash__(self) -> int: method __repr__ (line 491) | def __repr__(self) -> str: method _option_type (line 495) | def _option_type(self) -> AppCommandOptionType: method get_translated_payload (line 507) | async def get_translated_payload(self, translator: Translator) -> Dict... method get_translated_payload_for_locale (line 522) | async def get_translated_payload_for_locale(self, translator: Translat... method to_dict (line 532) | def to_dict(self) -> Dict[str, Any]: class AppCommandChannel (line 542) | class AppCommandChannel(Hashable): method __init__ (line 589) | def __init__( method __str__ (line 603) | def __str__(self) -> str: method __repr__ (line 606) | def __repr__(self) -> str: method guild (line 610) | def guild(self) -> Optional[Guild]: method resolve (line 614) | def resolve(self) -> Optional[GuildChannel]: method fetch (line 628) | async def fetch(self) -> GuildChannel: method mention (line 651) | def mention(self) -> str: method created_at (line 656) | def created_at(self) -> datetime: class AppCommandThread (line 661) | class AppCommandThread(Hashable): method __init__ (line 732) | def __init__( method __str__ (line 748) | def __str__(self) -> str: method __repr__ (line 751) | def __repr__(self) -> str: method guild (line 755) | def guild(self) -> Optional[Guild]: method _unroll_metadata (line 759) | def _unroll_metadata(self, data: ThreadMetadata) -> None: method parent (line 769) | def parent(self) -> Optional[TextChannel]: method mention (line 774) | def mention(self) -> str: method created_at (line 779) | def created_at(self) -> Optional[datetime]: method resolve (line 788) | def resolve(self) -> Optional[Thread]: method fetch (line 802) | async def fetch(self) -> Thread: class Argument (line 825) | class Argument: method __init__ (line 880) | def __init__( method __repr__ (line 887) | def __repr__(self) -> str: method _from_data (line 890) | def _from_data(self, data: ApplicationCommandOption) -> None: method to_dict (line 905) | def to_dict(self) -> ApplicationCommandOption: class AppCommandGroup (line 924) | class AppCommandGroup: method __init__ (line 958) | def __init__( method __repr__ (line 965) | def __repr__(self) -> str: method qualified_name (line 969) | def qualified_name(self) -> str: method mention (line 986) | def mention(self) -> str: method _from_data (line 994) | def _from_data(self, data: ApplicationCommandOption) -> None: method to_dict (line 1004) | def to_dict(self) -> 'ApplicationCommandOption': class AppCommandPermissions (line 1015) | class AppCommandPermissions: method __init__ (line 1038) | def __init__(self, *, data: ApplicationCommandPermissions, guild: Guil... method to_dict (line 1066) | def to_dict(self) -> ApplicationCommandPermissions: class GuildAppCommandPermissions (line 1074) | class GuildAppCommandPermissions: method __init__ (line 1097) | def __init__(self, *, data: GuildApplicationCommandPermissions, state:... method to_dict (line 1109) | def to_dict(self) -> Dict[str, Any]: method guild (line 1113) | def guild(self) -> Guild: function app_command_option_factory (line 1118) | def app_command_option_factory( FILE: discord/app_commands/namespace.py class ResolveKey (line 43) | class ResolveKey(NamedTuple): method any_with (line 50) | def any_with(cls, id: str) -> ResolveKey: method __eq__ (line 53) | def __eq__(self, o: object) -> bool: method __hash__ (line 60) | def __hash__(self) -> int: class Namespace (line 66) | class Namespace: method __init__ (line 135) | def __init__( method _get_resolved_items (line 177) | def _get_resolved_items(cls, interaction: Interaction, resolved: Resol... method __repr__ (line 240) | def __repr__(self) -> str: method __eq__ (line 244) | def __eq__(self, other: object) -> bool: method __getitem__ (line 249) | def __getitem__(self, key: str) -> Any: method __contains__ (line 252) | def __contains__(self, key: str) -> Any: method __getattr__ (line 255) | def __getattr__(self, attr: str) -> Any: method __iter__ (line 258) | def __iter__(self) -> Iterator[Tuple[str, Any]]: method _update_with_defaults (line 261) | def _update_with_defaults(self, defaults: Iterable[Tuple[str, Any]]) -... FILE: discord/app_commands/transformers.py class CommandParameter (line 77) | class CommandParameter: method get_translated_payload (line 93) | async def get_translated_payload(self, translator: Translator, data: P... method to_dict (line 128) | def to_dict(self) -> Dict[str, Any]: method _convert_to_locale_strings (line 153) | def _convert_to_locale_strings(self) -> None: method is_choice_annotation (line 167) | def is_choice_annotation(self) -> bool: method transform (line 170) | async def transform(self, interaction: Interaction, value: Any, /) -> ... method display_name (line 189) | def display_name(self) -> str: class Transformer (line 194) | class Transformer: method __call__ (line 232) | def __call__(self) -> None: method __or__ (line 235) | def __or__(self, rhs: Any) -> Any: method type (line 239) | def type(self) -> AppCommandOptionType: method channel_types (line 249) | def channel_types(self) -> List[ChannelType]: method min_value (line 261) | def min_value(self) -> Optional[Union[int, float]]: method max_value (line 274) | def max_value(self) -> Optional[Union[int, float]]: method choices (line 287) | def choices(self) -> Optional[List[Choice[Union[int, float, str]]]]: method _error_display_name (line 300) | def _error_display_name(self) -> str: method transform (line 307) | async def transform(self, interaction: Interaction, value: Any, /) -> ... method autocomplete (line 326) | async def autocomplete( class IdentityTransformer (line 355) | class IdentityTransformer(Transformer): method __init__ (line 356) | def __init__(self, type: AppCommandOptionType) -> None: method type (line 360) | def type(self) -> AppCommandOptionType: method transform (line 363) | async def transform(self, interaction: Interaction, value: Any, /) -> ... class RangeTransformer (line 367) | class RangeTransformer(IdentityTransformer): method __init__ (line 368) | def __init__( method min_value (line 383) | def min_value(self) -> Optional[Union[int, float]]: method max_value (line 387) | def max_value(self) -> Optional[Union[int, float]]: class LiteralTransformer (line 391) | class LiteralTransformer(IdentityTransformer): method __init__ (line 392) | def __init__(self, values: Tuple[Any, ...]) -> None: method choices (line 407) | def choices(self): class ChoiceTransformer (line 411) | class ChoiceTransformer(IdentityTransformer): method __init__ (line 414) | def __init__(self, inner_type: Any) -> None: class EnumValueTransformer (line 427) | class EnumValueTransformer(Transformer): method __init__ (line 428) | def __init__(self, enum: Any) -> None: method _error_display_name (line 450) | def _error_display_name(self) -> str: method type (line 454) | def type(self) -> AppCommandOptionType: method choices (line 458) | def choices(self): method transform (line 461) | async def transform(self, interaction: Interaction, value: Any, /) -> ... class EnumNameTransformer (line 465) | class EnumNameTransformer(Transformer): method __init__ (line 466) | def __init__(self, enum: Any) -> None: method _error_display_name (line 477) | def _error_display_name(self) -> str: method type (line 481) | def type(self) -> AppCommandOptionType: method choices (line 485) | def choices(self): method transform (line 488) | async def transform(self, interaction: Interaction, value: Any, /) -> ... class InlineTransformer (line 492) | class InlineTransformer(Transformer): method __init__ (line 493) | def __init__(self, annotation: Any) -> None: method _error_display_name (line 498) | def _error_display_name(self) -> str: method type (line 502) | def type(self) -> AppCommandOptionType: method transform (line 505) | async def transform(self, interaction: Interaction, value: Any, /) -> ... class Transform (line 514) | class Transform: method __class_getitem__ (line 528) | def __class_getitem__(cls, items) -> Transformer: class Range (line 546) | class Range: method __class_getitem__ (line 573) | def __class_getitem__(cls, obj) -> RangeTransformer: class MemberTransformer (line 614) | class MemberTransformer(Transformer): method type (line 616) | def type(self) -> AppCommandOptionType: method transform (line 619) | async def transform(self, interaction: Interaction, value: Any, /) -> ... class BaseChannelTransformer (line 625) | class BaseChannelTransformer(Transformer): method __init__ (line 626) | def __init__(self, *channel_types: Type[Any]) -> None: method _error_display_name (line 646) | def _error_display_name(self) -> str: method type (line 650) | def type(self) -> AppCommandOptionType: method channel_types (line 654) | def channel_types(self) -> List[ChannelType]: method transform (line 657) | async def transform(self, interaction: Interaction, value: Any, /): class RawChannelTransformer (line 664) | class RawChannelTransformer(BaseChannelTransformer): method transform (line 665) | async def transform(self, interaction: Interaction, value: Any, /): class UnionChannelTransformer (line 671) | class UnionChannelTransformer(BaseChannelTransformer): method transform (line 672) | async def transform(self, interaction: Interaction, value: Any, /): function get_supported_annotation (line 736) | def get_supported_annotation( function annotation_to_parameter (line 825) | def annotation_to_parameter(annotation: Any, parameter: inspect.Paramete... FILE: discord/app_commands/translator.py class TranslationContextLocation (line 45) | class TranslationContextLocation(Enum): class TranslationContext (line 60) | class TranslationContext(Generic[_L, _D]): method __init__ (line 77) | def __init__( method __init__ (line 83) | def __init__( method __init__ (line 89) | def __init__( method __init__ (line 97) | def __init__( method __init__ (line 105) | def __init__(self, location: Literal[TranslationContextLocation.choice... method __init__ (line 109) | def __init__(self, location: Literal[TranslationContextLocation.other]... method __init__ (line 112) | def __init__(self, location: _L, data: _D) -> None: # type: ignore # ... class Translator (line 149) | class Translator: method load (line 169) | async def load(self) -> None: method unload (line 180) | async def unload(self) -> None: method _checked_translate (line 192) | async def _checked_translate( method translate (line 202) | async def translate(self, string: locale_str, locale: Locale, context:... class locale_str (line 230) | class locale_str: method __init__ (line 284) | def __init__(self, message: str, /, **kwargs: Any) -> None: method message (line 289) | def message(self) -> str: method __str__ (line 292) | def __str__(self) -> str: method __repr__ (line 295) | def __repr__(self) -> str: method __eq__ (line 301) | def __eq__(self, obj: object) -> bool: method __hash__ (line 304) | def __hash__(self) -> int: FILE: discord/app_commands/tree.py function _retrieve_guild_ids (line 85) | def _retrieve_guild_ids( class CommandTree (line 111) | class CommandTree(Generic[ClientT]): method __init__ (line 137) | def __init__( method fetch_command (line 164) | async def fetch_command(self, command_id: int, /, *, guild: Optional[S... method fetch_commands (line 203) | async def fetch_commands(self, *, guild: Optional[Snowflake] = None) -... method copy_global_to (line 243) | def copy_global_to(self, *, guild: Snowflake) -> None: method add_command (line 287) | def add_command( method remove_command (line 415) | def remove_command( method remove_command (line 426) | def remove_command( method remove_command (line 437) | def remove_command( method remove_command (line 447) | def remove_command( method clear_commands (line 493) | def clear_commands(self, *, guild: Optional[Snowflake], type: Optional... method get_command (line 535) | def get_command( method get_command (line 546) | def get_command( method get_command (line 557) | def get_command( method get_command (line 567) | def get_command( method get_commands (line 611) | def get_commands( method get_commands (line 620) | def get_commands( method get_commands (line 629) | def get_commands( method get_commands (line 638) | def get_commands( method get_commands (line 646) | def get_commands( method walk_commands (line 691) | def walk_commands( method walk_commands (line 700) | def walk_commands( method walk_commands (line 709) | def walk_commands( method walk_commands (line 717) | def walk_commands( method _get_all_commands (line 763) | def _get_all_commands( method _remove_with_module (line 782) | def _remove_with_module(self, name: str) -> None: method on_error (line 808) | async def on_error(self, interaction: Interaction[ClientT], error: App... method error (line 836) | def error(self, coro: ErrorFunc) -> ErrorFunc: method command (line 865) | def command( method context_menu (line 949) | def context_menu( method translator (line 1038) | def translator(self) -> Optional[Translator]: method set_translator (line 1045) | async def set_translator(self, translator: Optional[Translator]) -> None: method sync (line 1079) | async def sync(self, *, guild: Optional[Snowflake] = None) -> List[App... method _dispatch_error (line 1139) | async def _dispatch_error(self, interaction: Interaction[ClientT], err... method _from_interaction (line 1148) | def _from_interaction(self, interaction: Interaction[ClientT]) -> None: method _get_context_menu (line 1157) | def _get_context_menu(self, data: ApplicationCommandInteractionData) -... method _get_app_command_options (line 1166) | def _get_app_command_options( method _call_context_menu (line 1219) | async def _call_context_menu( method interaction_check (line 1260) | async def interaction_check(self, interaction: Interaction[ClientT], /... method _call (line 1271) | async def _call(self, interaction: Interaction[ClientT]) -> None: FILE: discord/appinfo.py class AppInfo (line 55) | class AppInfo: method __init__ (line 180) | def __init__(self, state: ConnectionState, data: AppInfoPayload): method __repr__ (line 216) | def __repr__(self) -> str: method icon (line 224) | def icon(self) -> Optional[Asset]: method cover_image (line 231) | def cover_image(self) -> Optional[Asset]: method guild (line 241) | def guild(self) -> Optional[Guild]: method flags (line 250) | def flags(self) -> ApplicationFlags: method edit (line 257) | async def edit( class PartialAppInfo (line 390) | class PartialAppInfo: method __init__ (line 450) | def __init__(self, *, state: ConnectionState, data: PartialAppInfoPayl... method __repr__ (line 467) | def __repr__(self) -> str: method icon (line 471) | def icon(self) -> Optional[Asset]: method cover_image (line 478) | def cover_image(self) -> Optional[Asset]: method flags (line 490) | def flags(self) -> ApplicationFlags: class AppInstallParams (line 498) | class AppInstallParams: method __init__ (line 514) | def __init__(self, data: InstallParamsPayload) -> None: FILE: discord/asset.py class AssetMixin (line 60) | class AssetMixin: method read (line 65) | async def read(self) -> bytes: method save (line 89) | async def save(self, fp: Union[str, bytes, os.PathLike[Any], io.Buffer... method to_file (line 129) | async def to_file( class Asset (line 177) | class Asset(AssetMixin): method __init__ (line 212) | def __init__(self, state: _State, *, url: str, key: str, animated: boo... method _from_default_avatar (line 219) | def _from_default_avatar(cls, state: _State, index: int) -> Self: method _from_avatar (line 228) | def _from_avatar(cls, state: _State, user_id: int, avatar: str) -> Self: method _from_guild_avatar (line 239) | def _from_guild_avatar(cls, state: _State, guild_id: int, member_id: i... method _from_guild_banner (line 250) | def _from_guild_banner(cls, state: _State, guild_id: int, member_id: i... method _from_avatar_decoration (line 261) | def _from_avatar_decoration(cls, state: _State, avatar_decoration: str... method _from_icon (line 270) | def _from_icon(cls, state: _State, object_id: int, icon_hash: str, pat... method _from_app_icon (line 279) | def _from_app_icon( method _from_cover_image (line 290) | def _from_cover_image(cls, state: _State, object_id: int, cover_image_... method _from_scheduled_event_cover_image (line 299) | def _from_scheduled_event_cover_image(cls, state: _State, scheduled_ev... method _from_guild_image (line 308) | def _from_guild_image(cls, state: _State, guild_id: int, image: str, p... method _from_guild_icon (line 319) | def _from_guild_icon(cls, state: _State, guild_id: int, icon_hash: str... method _from_sticker_banner (line 330) | def _from_sticker_banner(cls, state: _State, banner: int) -> Self: method _from_user_banner (line 339) | def _from_user_banner(cls, state: _State, user_id: int, banner_hash: s... method __str__ (line 349) | def __str__(self) -> str: method __len__ (line 352) | def __len__(self) -> int: method __repr__ (line 355) | def __repr__(self) -> str: method __eq__ (line 359) | def __eq__(self, other: object) -> bool: method __hash__ (line 362) | def __hash__(self) -> int: method url (line 366) | def url(self) -> str: method key (line 371) | def key(self) -> str: method is_animated (line 375) | def is_animated(self) -> bool: method replace (line 379) | def replace( method with_size (line 445) | def with_size(self, size: int, /) -> Self: method with_format (line 473) | def with_format(self, format: ValidAssetFormatTypes, /) -> Self: method with_static_format (line 508) | def with_static_format(self, format: ValidStaticFormatTypes, /) -> Self: FILE: discord/audit_logs.py function _transform_timestamp (line 101) | def _transform_timestamp(entry: AuditLogEntry, data: Optional[str]) -> O... function _transform_color (line 105) | def _transform_color(entry: AuditLogEntry, data: int) -> Colour: function _transform_snowflake (line 109) | def _transform_snowflake(entry: AuditLogEntry, data: Snowflake) -> int: function _transform_channel (line 113) | def _transform_channel(entry: AuditLogEntry, data: Optional[Snowflake]) ... function _transform_channels_or_threads (line 119) | def _transform_channels_or_threads( function _transform_member_id (line 125) | def _transform_member_id(entry: AuditLogEntry, data: Optional[Snowflake]... function _transform_guild_id (line 131) | def _transform_guild_id(entry: AuditLogEntry, data: Optional[Snowflake])... function _transform_roles (line 137) | def _transform_roles(entry: AuditLogEntry, data: List[Snowflake]) -> Lis... function _transform_applied_forum_tags (line 141) | def _transform_applied_forum_tags(entry: AuditLogEntry, data: List[Snowf... function _transform_overloaded_flags (line 148) | def _transform_overloaded_flags(entry: AuditLogEntry, data: int) -> Unio... function _transform_forum_tags (line 166) | def _transform_forum_tags(entry: AuditLogEntry, data: List[ForumTagPaylo... function _transform_default_reaction (line 170) | def _transform_default_reaction(entry: AuditLogEntry, data: DefaultReact... function _transform_overwrites (line 179) | def _transform_overwrites( function _transform_icon (line 204) | def _transform_icon(entry: AuditLogEntry, data: Optional[str]) -> Option... function _transform_avatar (line 213) | def _transform_avatar(entry: AuditLogEntry, data: Optional[str]) -> Opti... function _transform_cover_image (line 219) | def _transform_cover_image(entry: AuditLogEntry, data: Optional[str]) ->... function _guild_hash_transformer (line 225) | def _guild_hash_transformer(path: str) -> Callable[[AuditLogEntry, Optio... function _transform_automod_actions (line 234) | def _transform_automod_actions(entry: AuditLogEntry, data: List[AutoMode... function _enum_transformer (line 241) | def _enum_transformer(enum: Type[E]) -> Callable[[AuditLogEntry, int], E]: function _flag_transformer (line 251) | def _flag_transformer(cls: Type[F]) -> Callable[[AuditLogEntry, Union[in... function _transform_type (line 258) | def _transform_type( class AuditLogDiff (line 271) | class AuditLogDiff: method __len__ (line 272) | def __len__(self) -> int: method __iter__ (line 275) | def __iter__(self) -> Generator[Tuple[str, Any], None, None]: method __repr__ (line 278) | def __repr__(self) -> str: method __getattr__ (line 284) | def __getattr__(self, item: str) -> Any: method __setattr__ (line 287) | def __setattr__(self, key: str, value: Any) -> Any: class AuditLogChanges (line 294) | class AuditLogChanges: method __init__ (line 347) | def __init__(self, entry: AuditLogEntry, data: List[AuditLogChangePayl... method __repr__ (line 435) | def __repr__(self) -> str: method _handle_role (line 438) | def _handle_role(self, first: AuditLogDiff, second: AuditLogDiff, entr... method _handle_app_command_permissions (line 457) | def _handle_app_command_permissions( method _handle_trigger_metadata (line 473) | def _handle_trigger_metadata( method _handle_trigger_attr_update (line 518) | def _handle_trigger_attr_update( method _create_trigger (line 529) | def _create_trigger(self, diff: AuditLogDiff, entry: AuditLogEntry) ->... class _AuditLogProxy (line 544) | class _AuditLogProxy: method __init__ (line 545) | def __init__(self, **kwargs: Any) -> None: class _AuditLogProxyMemberPrune (line 550) | class _AuditLogProxyMemberPrune(_AuditLogProxy): class _AuditLogProxyMemberMoveOrMessageDelete (line 555) | class _AuditLogProxyMemberMoveOrMessageDelete(_AuditLogProxy): class _AuditLogProxyMemberDisconnect (line 560) | class _AuditLogProxyMemberDisconnect(_AuditLogProxy): class _AuditLogProxyPinAction (line 564) | class _AuditLogProxyPinAction(_AuditLogProxy): class _AuditLogProxyStageInstanceAction (line 569) | class _AuditLogProxyStageInstanceAction(_AuditLogProxy): class _AuditLogProxyMessageBulkDelete (line 573) | class _AuditLogProxyMessageBulkDelete(_AuditLogProxy): class _AuditLogProxyAutoModAction (line 577) | class _AuditLogProxyAutoModAction(_AuditLogProxy): class _AuditLogProxyMemberKickOrMemberRoleUpdate (line 583) | class _AuditLogProxyMemberKickOrMemberRoleUpdate(_AuditLogProxy): class AuditLogEntry (line 587) | class AuditLogEntry(Hashable): method __init__ (line 636) | def __init__( method _from_data (line 656) | def _from_data(self, data: AuditLogEntryPayload) -> None: method _get_member (line 761) | def _get_member(self, user_id: Optional[int]) -> Union[Member, User, N... method _get_integration (line 767) | def _get_integration(self, integration_id: Optional[int]) -> Optional[... method _get_integration_by_app_id (line 773) | def _get_integration_by_app_id(self, application_id: Optional[int]) ->... method _get_app_command (line 780) | def _get_app_command(self, app_command_id: Optional[int]) -> Optional[... method __repr__ (line 786) | def __repr__(self) -> str: method created_at (line 790) | def created_at(self) -> datetime.datetime: method target (line 795) | def target(self) -> TargetType: method category (line 809) | def category(self) -> Optional[enums.AuditLogActionCategory]: method changes (line 814) | def changes(self) -> AuditLogChanges: method before (line 821) | def before(self) -> AuditLogDiff: method after (line 826) | def after(self) -> AuditLogDiff: method _convert_target_guild (line 830) | def _convert_target_guild(self, target_id: int) -> Guild: method _convert_target_channel (line 833) | def _convert_target_channel(self, target_id: int) -> Union[abc.GuildCh... method _convert_target_user (line 836) | def _convert_target_user(self, target_id: Optional[int]) -> Optional[U... method _convert_target_role (line 844) | def _convert_target_role(self, target_id: int) -> Union[Role, Object]: method _convert_target_invite (line 847) | def _convert_target_invite(self, target_id: None) -> Invite: method _convert_target_emoji (line 868) | def _convert_target_emoji(self, target_id: int) -> Union[Emoji, Object]: method _convert_target_message (line 871) | def _convert_target_message(self, target_id: int) -> Union[Member, Use... method _convert_target_stage_instance (line 874) | def _convert_target_stage_instance(self, target_id: int) -> Union[Stag... method _convert_target_sticker (line 877) | def _convert_target_sticker(self, target_id: int) -> Union[GuildSticke... method _convert_target_thread (line 880) | def _convert_target_thread(self, target_id: int) -> Union[Thread, Obje... method _convert_target_guild_scheduled_event (line 883) | def _convert_target_guild_scheduled_event(self, target_id: int) -> Uni... method _convert_target_integration (line 886) | def _convert_target_integration(self, target_id: int) -> Union[Partial... method _convert_target_app_command (line 889) | def _convert_target_app_command(self, target_id: int) -> Union[AppComm... method _convert_target_integration_or_app_command (line 899) | def _convert_target_integration_or_app_command(self, target_id: int) -... method _convert_target_auto_moderation (line 919) | def _convert_target_auto_moderation(self, target_id: int) -> Union[Aut... method _convert_target_webhook (line 922) | def _convert_target_webhook(self, target_id: int) -> Union[Webhook, Ob... FILE: discord/automod.py class AutoModRuleAction (line 58) | class AutoModRuleAction: method __init__ (line 88) | def __init__(self, *, channel_id: int = ...) -> None: method __init__ (line 92) | def __init__(self, *, type: Literal[AutoModRuleActionType.send_alert_m... method __init__ (line 96) | def __init__(self, *, duration: datetime.timedelta = ...) -> None: method __init__ (line 100) | def __init__(self, *, type: Literal[AutoModRuleActionType.timeout], du... method __init__ (line 104) | def __init__(self, *, custom_message: str = ...) -> None: method __init__ (line 108) | def __init__(self, *, type: Literal[AutoModRuleActionType.block_messag... method __init__ (line 112) | def __init__(self, *, type: Literal[AutoModRuleActionType.block_messag... method __init__ (line 116) | def __init__( method __init__ (line 126) | def __init__( method __repr__ (line 164) | def __repr__(self) -> str: method from_data (line 168) | def from_data(cls, data: AutoModerationActionPayload) -> Self: method to_dict (line 181) | def to_dict(self) -> Dict[str, Any]: class AutoModTrigger (line 192) | class AutoModTrigger: method __init__ (line 257) | def __init__( method __repr__ (line 294) | def __repr__(self) -> str: method from_data (line 303) | def from_data(cls, type: int, data: Optional[AutoModerationTriggerMeta... method to_metadata_dict (line 327) | def to_metadata_dict(self) -> Optional[Dict[str, Any]]: class AutoModRule (line 343) | class AutoModRule: method __init__ (line 387) | def __init__(self, *, data: AutoModerationRulePayload, guild: Guild, s... method __repr__ (line 400) | def __repr__(self) -> str: method to_dict (line 403) | def to_dict(self) -> AutoModerationRulePayload: method creator (line 421) | def creator(self) -> Optional[Member]: method exempt_roles (line 426) | def exempt_roles(self) -> List[Role]: method exempt_channels (line 438) | def exempt_channels(self) -> List[Union[GuildChannel, Thread]]: method actions (line 444) | def actions(self) -> List[AutoModRuleAction]: method is_exempt (line 448) | def is_exempt(self, obj: Snowflake, /) -> bool: method edit (line 463) | async def edit( method delete (line 546) | async def delete(self, *, reason: str = MISSING) -> None: class AutoModAction (line 568) | class AutoModAction: method __init__ (line 617) | def __init__(self, *, data: AutoModerationActionExecutionPayload, stat... method __repr__ (line 631) | def __repr__(self) -> str: method guild (line 635) | def guild(self) -> Guild: method channel (line 640) | def channel(self) -> Optional[Union[GuildChannel, Thread]]: method member (line 647) | def member(self) -> Optional[Member]: method fetch_rule (line 651) | async def fetch_rule(self) -> AutoModRule: FILE: discord/backoff.py class ExponentialBackoff (line 41) | class ExponentialBackoff(Generic[T]): method __init__ (line 63) | def __init__(self, base: int = 1, *, integral: T = False): method delay (line 78) | def delay(self: ExponentialBackoff[Literal[False]]) -> float: method delay (line 82) | def delay(self: ExponentialBackoff[Literal[True]]) -> int: method delay (line 86) | def delay(self: ExponentialBackoff[bool]) -> Union[int, float]: method delay (line 89) | def delay(self) -> Union[int, float]: FILE: discord/channel.py class ThreadWithMessage (line 109) | class ThreadWithMessage(NamedTuple): class TextChannel (line 114) | class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Has... method __init__ (line 187) | def __init__(self, *, state: ConnectionState, guild: Guild, data: Unio... method __repr__ (line 193) | def __repr__(self) -> str: method _update (line 205) | def _update(self, guild: Guild, data: Union[TextChannelPayload, NewsCh... method _get_channel (line 220) | async def _get_channel(self) -> Self: method type (line 224) | def type(self) -> Literal[ChannelType.text, ChannelType.news]: method _sorting_bucket (line 231) | def _sorting_bucket(self) -> int: method _scheduled_event_entity_type (line 235) | def _scheduled_event_entity_type(self) -> Optional[EntityType]: method permissions_for (line 239) | def permissions_for(self, obj: Union[Member, Role], /) -> Permissions: method members (line 249) | def members(self) -> List[Member]: method threads (line 254) | def threads(self) -> List[Thread]: method is_nsfw (line 261) | def is_nsfw(self) -> bool: method is_news (line 265) | def is_news(self) -> bool: method last_message (line 270) | def last_message(self) -> Optional[Message]: method edit (line 291) | async def edit(self) -> Optional[TextChannel]: method edit (line 295) | async def edit(self, *, position: int, reason: Optional[str] = ...) ->... method edit (line 299) | async def edit( method edit (line 317) | async def edit(self, *, reason: Optional[str] = None, **options: Any) ... method clone (line 398) | async def clone(self, *, name: Optional[str] = None, reason: Optional[... method delete_messages (line 403) | async def delete_messages(self, messages: Iterable[Snowflake], *, reas... method purge (line 459) | async def purge( method webhooks (line 544) | async def webhooks(self) -> List[Webhook]: method create_webhook (line 567) | async def create_webhook(self, *, name: str, avatar: Optional[bytes] =... method follow (line 608) | async def follow(self, *, destination: TextChannel, reason: Optional[s... method get_partial_message (line 663) | def get_partial_message(self, message_id: int, /) -> PartialMessage: method get_thread (line 690) | def get_thread(self, thread_id: int, /) -> Optional[Thread]: method create_thread (line 712) | async def create_thread( method archived_threads (line 797) | async def archived_threads( class VocalGuildChannel (line 892) | class VocalGuildChannel(discord.abc.Messageable, discord.abc.Connectable... method __init__ (line 910) | def __init__(self, *, state: ConnectionState, guild: Guild, data: Unio... method _get_channel (line 915) | async def _get_channel(self) -> Self: method _get_voice_client_key (line 918) | def _get_voice_client_key(self) -> Tuple[int, str]: method _get_voice_state_pair (line 921) | def _get_voice_state_pair(self) -> Tuple[int, int]: method _update (line 924) | def _update(self, guild: Guild, data: Union[VoiceChannelPayload, Stage... method _sorting_bucket (line 939) | def _sorting_bucket(self) -> int: method is_nsfw (line 942) | def is_nsfw(self) -> bool: method members (line 950) | def members(self) -> List[Member]: method voice_states (line 961) | def voice_states(self) -> Dict[int, VoiceState]: method scheduled_events (line 985) | def scheduled_events(self) -> List[ScheduledEvent]: method permissions_for (line 993) | def permissions_for(self, obj: Union[Member, Role], /) -> Permissions: method last_message (line 1006) | def last_message(self) -> Optional[Message]: method get_partial_message (line 1028) | def get_partial_message(self, message_id: int, /) -> PartialMessage: method delete_messages (line 1051) | async def delete_messages(self, messages: Iterable[Snowflake], *, reas... method purge (line 1103) | async def purge( method webhooks (line 1187) | async def webhooks(self) -> List[Webhook]: method create_webhook (line 1212) | async def create_webhook(self, *, name: str, avatar: Optional[bytes] =... class VoiceChannel (line 1253) | class VoiceChannel(VocalGuildChannel): method __repr__ (line 1323) | def __repr__(self) -> str: method _scheduled_event_entity_type (line 1338) | def _scheduled_event_entity_type(self) -> Optional[EntityType]: method type (line 1342) | def type(self) -> Literal[ChannelType.voice]: method clone (line 1347) | async def clone(self, *, name: Optional[str] = None, reason: Optional[... method edit (line 1351) | async def edit(self) -> None: method edit (line 1355) | async def edit(self, *, position: int, reason: Optional[str] = ...) ->... method edit (line 1359) | async def edit( method edit (line 1378) | async def edit(self, *, reason: Optional[str] = None, **options: Any) ... class StageChannel (line 1460) | class StageChannel(VocalGuildChannel): method __repr__ (line 1529) | def __repr__(self) -> str: method _update (line 1544) | def _update(self, guild: Guild, data: StageChannelPayload) -> None: method _scheduled_event_entity_type (line 1549) | def _scheduled_event_entity_type(self) -> Optional[EntityType]: method requesting_to_speak (line 1553) | def requesting_to_speak(self) -> List[Member]: method speakers (line 1558) | def speakers(self) -> List[Member]: method listeners (line 1570) | def listeners(self) -> List[Member]: method moderators (line 1578) | def moderators(self) -> List[Member]: method type (line 1587) | def type(self) -> Literal[ChannelType.stage_voice]: method clone (line 1592) | async def clone(self, *, name: Optional[str] = None, reason: Optional[... method instance (line 1596) | def instance(self) -> Optional[StageInstance]: method create_instance (line 1603) | async def create_instance( method fetch_instance (line 1669) | async def fetch_instance(self) -> StageInstance: method edit (line 1692) | async def edit(self) -> None: method edit (line 1696) | async def edit(self, *, position: int, reason: Optional[str] = ...) ->... method edit (line 1700) | async def edit( method edit (line 1718) | async def edit(self, *, reason: Optional[str] = None, **options: Any) ... class CategoryChannel (line 1794) | class CategoryChannel(discord.abc.GuildChannel, Hashable): method __init__ (line 1838) | def __init__(self, *, state: ConnectionState, guild: Guild, data: Cate... method __repr__ (line 1843) | def __repr__(self) -> str: method _update (line 1846) | def _update(self, guild: Guild, data: CategoryChannelPayload) -> None: method _sorting_bucket (line 1855) | def _sorting_bucket(self) -> int: method _scheduled_event_entity_type (line 1859) | def _scheduled_event_entity_type(self) -> Optional[EntityType]: method type (line 1863) | def type(self) -> Literal[ChannelType.category]: method is_nsfw (line 1867) | def is_nsfw(self) -> bool: method clone (line 1872) | async def clone(self, *, name: Optional[str] = None, reason: Optional[... method edit (line 1876) | async def edit(self) -> None: method edit (line 1880) | async def edit(self, *, position: int, reason: Optional[str] = ...) ->... method edit (line 1884) | async def edit( method edit (line 1895) | async def edit(self, *, reason: Optional[str] = None, **options: Any) ... method move (line 1950) | async def move(self, **kwargs: Any) -> None: method channels (line 1955) | def channels(self) -> List[GuildChannelType]: method text_channels (line 1969) | def text_channels(self) -> List[TextChannel]: method voice_channels (line 1976) | def voice_channels(self) -> List[VoiceChannel]: method stage_channels (line 1983) | def stage_channels(self) -> List[StageChannel]: method forums (line 1993) | def forums(self) -> List[ForumChannel]: method create_text_channel (line 2002) | async def create_text_channel(self, name: str, **options: Any) -> Text... method create_voice_channel (line 2014) | async def create_voice_channel(self, name: str, **options: Any) -> Voi... method create_stage_channel (line 2026) | async def create_stage_channel(self, name: str, **options: Any) -> Sta... method create_forum (line 2040) | async def create_forum(self, name: str, **options: Any) -> ForumChannel: class ForumTag (line 2055) | class ForumTag(Hashable): method __init__ (line 2095) | def __init__(self, *, name: str, emoji: Optional[EmojiInputType] = Non... method from_data (line 2108) | def from_data(cls, *, state: ConnectionState, data: ForumTagPayload) -... method to_dict (line 2122) | def to_dict(self) -> Dict[str, Any]: method __repr__ (line 2137) | def __repr__(self) -> str: method __str__ (line 2140) | def __str__(self) -> str: class ForumChannel (line 2144) | class ForumChannel(discord.abc.GuildChannel, Hashable): method __init__ (line 2239) | def __init__(self, *, state: ConnectionState, guild: Guild, data: Unio... method __repr__ (line 2245) | def __repr__(self) -> str: method _update (line 2256) | def _update(self, guild: Guild, data: Union[ForumChannelPayload, Media... method type (line 2290) | def type(self) -> Literal[ChannelType.forum, ChannelType.media]: method _sorting_bucket (line 2297) | def _sorting_bucket(self) -> int: method _scheduled_event_entity_type (line 2301) | def _scheduled_event_entity_type(self) -> Optional[EntityType]: method permissions_for (line 2305) | def permissions_for(self, obj: Union[Member, Role], /) -> Permissions: method get_thread (line 2314) | def get_thread(self, thread_id: int, /) -> Optional[Thread]: method threads (line 2340) | def threads(self) -> List[Thread]: method flags (line 2345) | def flags(self) -> ChannelFlags: method available_tags (line 2353) | def available_tags(self) -> Sequence[ForumTag]: method get_tag (line 2360) | def get_tag(self, tag_id: int, /) -> Optional[ForumTag]: method is_nsfw (line 2377) | def is_nsfw(self) -> bool: method is_media (line 2381) | def is_media(self) -> bool: method clone (line 2389) | async def clone(self, *, name: Optional[str] = None, reason: Optional[... method edit (line 2395) | async def edit(self) -> None: method edit (line 2399) | async def edit(self, *, position: int, reason: Optional[str] = ...) ->... method edit (line 2403) | async def edit( method edit (line 2426) | async def edit(self, *, reason: Optional[str] = None, **options: Any) ... method create_tag (line 2566) | async def create_tag( method create_thread (line 2617) | async def create_thread( method webhooks (line 2766) | async def webhooks(self) -> List[Webhook]: method create_webhook (line 2789) | async def create_webhook(self, *, name: str, avatar: Optional[bytes] =... method archived_threads (line 2827) | async def archived_threads( class DMChannel (line 2895) | class DMChannel(discord.abc.Messageable, discord.abc.PrivateChannel, Has... method __init__ (line 2934) | def __init__(self, *, me: ClientUser, state: ConnectionState, data: DM... method _get_channel (line 2940) | async def _get_channel(self) -> Self: method __str__ (line 2943) | def __str__(self) -> str: method __repr__ (line 2948) | def __repr__(self) -> str: method _from_message (line 2952) | def _from_message(cls, state: ConnectionState, channel_id: int) -> Self: method recipient (line 2962) | def recipient(self) -> Optional[User]: method type (line 2968) | def type(self) -> Literal[ChannelType.private]: method guild (line 2973) | def guild(self) -> Optional[Guild]: method jump_url (line 2983) | def jump_url(self) -> str: method created_at (line 2991) | def created_at(self) -> datetime.datetime: method permissions_for (line 2995) | def permissions_for(self, obj: Any = None, /) -> Permissions: method get_partial_message (line 3032) | def get_partial_message(self, message_id: int, /) -> PartialMessage: class GroupChannel (line 3060) | class GroupChannel(discord.abc.Messageable, discord.abc.PrivateChannel, ... method __init__ (line 3101) | def __init__(self, *, me: ClientUser, state: ConnectionState, data: Gr... method _update_group (line 3107) | def _update_group(self, data: GroupChannelPayload) -> None: method _get_channel (line 3119) | async def _get_channel(self) -> Self: method __str__ (line 3122) | def __str__(self) -> str: method __repr__ (line 3131) | def __repr__(self) -> str: method type (line 3135) | def type(self) -> Literal[ChannelType.group]: method guild (line 3140) | def guild(self) -> Optional[Guild]: method icon (line 3150) | def icon(self) -> Optional[Asset]: method created_at (line 3157) | def created_at(self) -> datetime.datetime: method jump_url (line 3162) | def jump_url(self) -> str: method permissions_for (line 3169) | def permissions_for(self, obj: Snowflake, /) -> Permissions: method leave (line 3214) | async def leave(self) -> None: class PartialMessageable (line 3230) | class PartialMessageable(discord.abc.Messageable, Hashable): method __init__ (line 3264) | def __init__(self, state: ConnectionState, id: int, guild_id: Optional... method __repr__ (line 3270) | def __repr__(self) -> str: method _get_channel (line 3273) | async def _get_channel(self) -> PartialMessageable: method guild (line 3277) | def guild(self) -> Optional[Guild]: method jump_url (line 3282) | def jump_url(self) -> str: method created_at (line 3289) | def created_at(self) -> datetime.datetime: method permissions_for (line 3293) | def permissions_for(self, obj: Any = None, /) -> Permissions: method get_partial_message (line 3315) | def get_partial_message(self, message_id: int, /) -> PartialMessage: function _guild_channel_factory (line 3337) | def _guild_channel_factory(channel_type: int): function _channel_factory (line 3357) | def _channel_factory(channel_type: int): function _threaded_channel_factory (line 3367) | def _threaded_channel_factory(channel_type: int): function _threaded_guild_channel_factory (line 3374) | def _threaded_guild_channel_factory(channel_type: int): FILE: discord/client.py class _LoopSentinel (line 136) | class _LoopSentinel: method __getattr__ (line 139) | def __getattr__(self, attr: str) -> None: class Client (line 151) | class Client: method __init__ (line 259) | def __init__(self, *, intents: Intents, **options: Any) -> None: method __aenter__ (line 302) | async def __aenter__(self) -> Self: method __aexit__ (line 306) | async def __aexit__( method _get_websocket (line 320) | def _get_websocket(self, guild_id: Optional[int] = None, *, shard_id: ... method _get_state (line 323) | def _get_state(self, **options: Any) -> ConnectionState[Self]: method _handle_ready (line 326) | def _handle_ready(self) -> None: method latency (line 330) | def latency(self) -> float: method is_ws_ratelimited (line 338) | def is_ws_ratelimited(self) -> bool: method user (line 351) | def user(self) -> Optional[ClientUser]: method guilds (line 356) | def guilds(self) -> Sequence[Guild]: method emojis (line 361) | def emojis(self) -> Sequence[Emoji]: method stickers (line 366) | def stickers(self) -> Sequence[GuildSticker]: method cached_messages (line 374) | def cached_messages(self) -> Sequence[Message]: method private_channels (line 382) | def private_channels(self) -> Sequence[PrivateChannel]: method voice_clients (line 393) | def voice_clients(self) -> List[VoiceProtocol]: method application_id (line 401) | def application_id(self) -> Optional[int]: method application_flags (line 414) | def application_flags(self) -> ApplicationFlags: method application (line 422) | def application(self) -> Optional[AppInfo]: method is_ready (line 437) | def is_ready(self) -> bool: method _run_event (line 441) | async def _run_event( method _schedule_event (line 458) | def _schedule_event( method dispatch (line 469) | def dispatch(self, event: str, /, *args: Any, **kwargs: Any) -> None: method on_error (line 509) | async def on_error(self, event_method: str, /, *args: Any, **kwargs: A... method _call_before_identify_hook (line 527) | async def _call_before_identify_hook(self, shard_id: Optional[int], *,... method before_identify_hook (line 533) | async def before_identify_hook(self, shard_id: Optional[int], *, initi... method _async_setup_hook (line 555) | async def _async_setup_hook(self) -> None: method setup_hook (line 564) | async def setup_hook(self) -> None: method login (line 588) | async def login(self, token: str) -> None: method connect (line 631) | async def connect(self, *, reconnect: bool = True) -> None: method close (line 729) | async def close(self) -> None: method clear (line 753) | def clear(self) -> None: method start (line 765) | async def start(self, token: str, *, reconnect: bool = True) -> None: method run (line 789) | def run( method is_closed (line 878) | def is_closed(self) -> bool: method activity (line 883) | def activity(self) -> Optional[ActivityTypes]: method activity (line 890) | def activity(self, value: Optional[ActivityTypes]) -> None: method status (line 900) | def status(self) -> Status: method status (line 911) | def status(self, value: Status) -> None: method allowed_mentions (line 920) | def allowed_mentions(self) -> Optional[AllowedMentions]: method allowed_mentions (line 928) | def allowed_mentions(self, value: Optional[AllowedMentions]) -> None: method intents (line 935) | def intents(self) -> Intents: method users (line 945) | def users(self) -> List[User]: method get_channel (line 949) | def get_channel(self, id: int, /) -> Optional[Union[GuildChannel, Thre... method get_partial_messageable (line 968) | def get_partial_messageable( method get_stage_instance (line 998) | def get_stage_instance(self, id: int, /) -> Optional[StageInstance]: method get_guild (line 1020) | def get_guild(self, id: int, /) -> Optional[Guild]: method get_user (line 1039) | def get_user(self, id: int, /) -> Optional[User]: method get_emoji (line 1058) | def get_emoji(self, id: int, /) -> Optional[Emoji]: method get_sticker (line 1077) | def get_sticker(self, id: int, /) -> Optional[GuildSticker]: method get_all_channels (line 1094) | def get_all_channels(self) -> Generator[GuildChannel, None, None]: method get_all_members (line 1118) | def get_all_members(self) -> Generator[Member, None, None]: method wait_until_ready (line 1137) | async def wait_until_ready(self) -> None: method wait_for (line 1157) | async def wait_for( method wait_for (line 1168) | async def wait_for( method wait_for (line 1181) | async def wait_for( method wait_for (line 1192) | async def wait_for( method wait_for (line 1205) | async def wait_for( method wait_for (line 1216) | async def wait_for( method wait_for (line 1227) | async def wait_for( method wait_for (line 1238) | async def wait_for( method wait_for (line 1249) | async def wait_for( method wait_for (line 1265) | async def wait_for( method wait_for (line 1276) | async def wait_for( method wait_for (line 1289) | async def wait_for( method wait_for (line 1300) | async def wait_for( method wait_for (line 1311) | async def wait_for( method wait_for (line 1322) | async def wait_for( method wait_for (line 1335) | async def wait_for( method wait_for (line 1351) | async def wait_for( method wait_for (line 1362) | async def wait_for( method wait_for (line 1373) | async def wait_for( method wait_for (line 1384) | async def wait_for( method wait_for (line 1395) | async def wait_for( method wait_for (line 1408) | async def wait_for( method wait_for (line 1419) | async def wait_for( method wait_for (line 1430) | async def wait_for( method wait_for (line 1441) | async def wait_for( method wait_for (line 1454) | async def wait_for( method wait_for (line 1467) | async def wait_for( method wait_for (line 1478) | async def wait_for( method wait_for (line 1489) | async def wait_for( method wait_for (line 1500) | async def wait_for( method wait_for (line 1511) | async def wait_for( method wait_for (line 1522) | async def wait_for( method wait_for (line 1535) | async def wait_for( method wait_for (line 1546) | async def wait_for( method wait_for (line 1557) | async def wait_for( method wait_for (line 1568) | async def wait_for( method wait_for (line 1579) | async def wait_for( method wait_for (line 1590) | async def wait_for( method wait_for (line 1603) | async def wait_for( method wait_for (line 1614) | async def wait_for( method wait_for (line 1625) | async def wait_for( method wait_for (line 1636) | async def wait_for( method wait_for (line 1647) | async def wait_for( method wait_for (line 1658) | async def wait_for( method wait_for (line 1671) | async def wait_for( method wait_for (line 1682) | async def wait_for( method wait_for (line 1695) | async def wait_for( method wait_for (line 1706) | async def wait_for( method wait_for (line 1719) | async def wait_for( method wait_for (line 1730) | async def wait_for( method wait_for (line 1742) | async def wait_for( method wait_for (line 1753) | async def wait_for( method wait_for (line 1764) | async def wait_for( method wait_for (line 1775) | async def wait_for( method wait_for (line 1786) | async def wait_for( method wait_for (line 1797) | async def wait_for( method wait_for (line 1810) | async def wait_for( method wait_for (line 1823) | async def wait_for( method wait_for (line 1834) | async def wait_for( method wait_for (line 1847) | async def wait_for( method wait_for (line 1858) | async def wait_for( method wait_for (line 1869) | async def wait_for( method wait_for (line 1879) | def wait_for( method event (line 1992) | def event(self, coro: CoroT, /) -> CoroT: method change_presence (line 2025) | async def change_presence( method fetch_guilds (line 2089) | async def fetch_guilds( method fetch_template (line 2219) | async def fetch_template(self, code: Union[Template, str]) -> Template: method fetch_guild (line 2245) | async def fetch_guild(self, guild_id: int, /, *, with_counts: bool = T... method create_guild (line 2290) | async def create_guild( method fetch_stage_instance (line 2346) | async def fetch_stage_instance(self, channel_id: int, /) -> StageInsta... method fetch_invite (line 2377) | async def fetch_invite( method delete_invite (line 2448) | async def delete_invite(self, invite: Union[Invite, str], /) -> None: method fetch_widget (line 2480) | async def fetch_widget(self, guild_id: int, /) -> Widget: method application_info (line 2514) | async def application_info(self) -> AppInfo: method fetch_user (line 2532) | async def fetch_user(self, user_id: int, /) -> User: method fetch_channel (line 2567) | async def fetch_channel(self, channel_id: int, /) -> Union[GuildChanne... method fetch_webhook (line 2616) | async def fetch_webhook(self, webhook_id: int, /) -> Webhook: method fetch_sticker (line 2642) | async def fetch_sticker(self, sticker_id: int, /) -> Union[StandardSti... method fetch_skus (line 2666) | async def fetch_skus(self) -> List[SKU]: method fetch_entitlement (line 2692) | async def fetch_entitlement(self, entitlement_id: int, /) -> Entitlement: method entitlements (line 2725) | async def entitlements( method create_entitlement (line 2866) | async def create_entitlement( method fetch_premium_sticker_packs (line 2902) | async def fetch_premium_sticker_packs(self) -> List[StickerPack]: method create_dm (line 2922) | async def create_dm(self, user: Snowflake) -> DMChannel: method add_dynamic_items (line 2950) | def add_dynamic_items(self, *items: Type[DynamicItem[Item[Any]]]) -> N... method remove_dynamic_items (line 2974) | def remove_dynamic_items(self, *items: Type[DynamicItem[Item[Any]]]) -... method add_view (line 2998) | def add_view(self, view: View, *, message_id: Optional[int] = None) ->... method persistent_views (line 3036) | def persistent_views(self) -> Sequence[View]: FILE: discord/colour.py function parse_hex_number (line 43) | def parse_hex_number(argument: str) -> Colour: function parse_rgb_number (line 55) | def parse_rgb_number(number: str) -> int: function parse_rgb (line 68) | def parse_rgb(argument: str, *, regex: re.Pattern[str] = RGB_REGEX) -> C... class Colour (line 79) | class Colour: method __init__ (line 120) | def __init__(self, value: int): method _get_byte (line 126) | def _get_byte(self, byte: int) -> int: method __eq__ (line 129) | def __eq__(self, other: object) -> bool: method __ne__ (line 132) | def __ne__(self, other: object) -> bool: method __str__ (line 135) | def __str__(self) -> str: method __int__ (line 138) | def __int__(self) -> int: method __repr__ (line 141) | def __repr__(self) -> str: method __hash__ (line 144) | def __hash__(self) -> int: method r (line 148) | def r(self) -> int: method g (line 153) | def g(self) -> int: method b (line 158) | def b(self) -> int: method to_rgb (line 162) | def to_rgb(self) -> Tuple[int, int, int]: method from_rgb (line 167) | def from_rgb(cls, r: int, g: int, b: int) -> Self: method from_hsv (line 172) | def from_hsv(cls, h: float, s: float, v: float) -> Self: method from_str (line 178) | def from_str(cls, value: str) -> Colour: method default (line 219) | def default(cls) -> Self: method random (line 227) | def random(cls, *, seed: Optional[Union[int, str, float, bytes, bytear... method teal (line 248) | def teal(cls) -> Self: method dark_teal (line 256) | def dark_teal(cls) -> Self: method brand_green (line 264) | def brand_green(cls) -> Self: method green (line 275) | def green(cls) -> Self: method dark_green (line 283) | def dark_green(cls) -> Self: method blue (line 291) | def blue(cls) -> Self: method dark_blue (line 299) | def dark_blue(cls) -> Self: method purple (line 307) | def purple(cls) -> Self: method dark_purple (line 315) | def dark_purple(cls) -> Self: method magenta (line 323) | def magenta(cls) -> Self: method dark_magenta (line 331) | def dark_magenta(cls) -> Self: method gold (line 339) | def gold(cls) -> Self: method dark_gold (line 347) | def dark_gold(cls) -> Self: method orange (line 355) | def orange(cls) -> Self: method dark_orange (line 363) | def dark_orange(cls) -> Self: method brand_red (line 371) | def brand_red(cls) -> Self: method red (line 381) | def red(cls) -> Self: method dark_red (line 389) | def dark_red(cls) -> Self: method lighter_grey (line 397) | def lighter_grey(cls) -> Self: method dark_grey (line 407) | def dark_grey(cls) -> Self: method light_grey (line 417) | def light_grey(cls) -> Self: method darker_grey (line 427) | def darker_grey(cls) -> Self: method og_blurple (line 437) | def og_blurple(cls) -> Self: method blurple (line 445) | def blurple(cls) -> Self: method greyple (line 453) | def greyple(cls) -> Self: method dark_theme (line 461) | def dark_theme(cls) -> Self: method fuchsia (line 476) | def fuchsia(cls) -> Self: method yellow (line 486) | def yellow(cls) -> Self: method dark_embed (line 496) | def dark_embed(cls) -> Self: method light_embed (line 506) | def light_embed(cls) -> Self: method pink (line 516) | def pink(cls) -> Self: FILE: discord/components.py class Component (line 62) | class Component: method __repr__ (line 81) | def __repr__(self) -> str: method type (line 86) | def type(self) -> ComponentType: method _raw_construct (line 91) | def _raw_construct(cls, **kwargs) -> Self: method to_dict (line 102) | def to_dict(self) -> ComponentPayload: class ActionRow (line 106) | class ActionRow(Component): method __init__ (line 125) | def __init__(self, data: ActionRowPayload, /) -> None: method type (line 135) | def type(self) -> Literal[ComponentType.action_row]: method to_dict (line 139) | def to_dict(self) -> ActionRowPayload: class Button (line 146) | class Button(Component): method __init__ (line 191) | def __init__(self, data: ButtonComponentPayload, /) -> None: method type (line 209) | def type(self) -> Literal[ComponentType.button]: method to_dict (line 213) | def to_dict(self) -> ButtonComponentPayload: class SelectMenu (line 238) | class SelectMenu(Component): method __init__ (line 287) | def __init__(self, data: SelectMenuPayload, /) -> None: method to_dict (line 300) | def to_dict(self) -> SelectMenuPayload: class SelectOption (line 320) | class SelectOption: method __init__ (line 366) | def __init__( method __repr__ (line 382) | def __repr__(self) -> str: method __str__ (line 388) | def __str__(self) -> str: method emoji (line 399) | def emoji(self) -> Optional[PartialEmoji]: method emoji (line 404) | def emoji(self, value: Optional[Union[str, Emoji, PartialEmoji]]) -> N... method from_dict (line 416) | def from_dict(cls, data: SelectOptionPayload) -> SelectOption: method to_dict (line 430) | def to_dict(self) -> SelectOptionPayload: class TextInput (line 446) | class TextInput(Component): method __init__ (line 488) | def __init__(self, data: TextInputPayload, /) -> None: method type (line 499) | def type(self) -> Literal[ComponentType.text_input]: method to_dict (line 503) | def to_dict(self) -> TextInputPayload: method default (line 527) | def default(self) -> Optional[str]: class SelectDefaultValue (line 535) | class SelectDefaultValue: method __init__ (line 550) | def __init__( method type (line 560) | def type(self) -> SelectDefaultValueType: method type (line 565) | def type(self, value: SelectDefaultValueType) -> None: method __repr__ (line 571) | def __repr__(self) -> str: method from_dict (line 575) | def from_dict(cls, data: SelectDefaultValuesPayload) -> SelectDefaultV... method to_dict (line 581) | def to_dict(self) -> SelectDefaultValuesPayload: method from_channel (line 588) | def from_channel(cls, channel: Snowflake, /) -> Self: method from_role (line 607) | def from_role(cls, role: Snowflake, /) -> Self: method from_user (line 626) | def from_user(cls, user: Snowflake, /) -> Self: function _component_factory (line 646) | def _component_factory(data: ActionRowChildComponentPayload) -> Optional... function _component_factory (line 651) | def _component_factory(data: ComponentPayload) -> Optional[Union[ActionR... function _component_factory (line 655) | def _component_factory(data: ComponentPayload) -> Optional[Union[ActionR... FILE: discord/context_managers.py function _typing_done_callback (line 44) | def _typing_done_callback(fut: asyncio.Future) -> None: class Typing (line 52) | class Typing: method __init__ (line 53) | def __init__(self, messageable: Messageable) -> None: method _get_channel (line 58) | async def _get_channel(self) -> MessageableChannel: method wrapped_typer (line 65) | async def wrapped_typer(self) -> None: method __await__ (line 69) | def __await__(self) -> Generator[None, None, None]: method do_typing (line 72) | async def do_typing(self) -> None: method __aenter__ (line 80) | async def __aenter__(self) -> None: method __aexit__ (line 86) | async def __aexit__( FILE: discord/embeds.py class EmbedProxy (line 40) | class EmbedProxy: method __init__ (line 41) | def __init__(self, layer: Dict[str, Any]): method __len__ (line 44) | def __len__(self) -> int: method __repr__ (line 47) | def __repr__(self) -> str: method __getattr__ (line 51) | def __getattr__(self, attr: str) -> None: method __eq__ (line 54) | def __eq__(self, other: object) -> bool: class _EmbedFooterProxy (line 65) | class _EmbedFooterProxy(Protocol): class _EmbedFieldProxy (line 69) | class _EmbedFieldProxy(Protocol): class _EmbedMediaProxy (line 74) | class _EmbedMediaProxy(Protocol): class _EmbedVideoProxy (line 80) | class _EmbedVideoProxy(Protocol): class _EmbedProviderProxy (line 85) | class _EmbedProviderProxy(Protocol): class _EmbedAuthorProxy (line 89) | class _EmbedAuthorProxy(Protocol): class Embed (line 96) | class Embed: method __init__ (line 167) | def __init__( method from_dict (line 198) | def from_dict(cls, data: Mapping[str, Any]) -> Self: method copy (line 250) | def copy(self) -> Self: method __len__ (line 254) | def __len__(self) -> int: method __bool__ (line 275) | def __bool__(self) -> bool: method __eq__ (line 293) | def __eq__(self, other: Embed) -> bool: method colour (line 311) | def colour(self) -> Optional[Colour]: method colour (line 315) | def colour(self, value: Optional[Union[int, Colour]]) -> None: method timestamp (line 328) | def timestamp(self) -> Optional[datetime.datetime]: method timestamp (line 332) | def timestamp(self, value: Optional[datetime.datetime]) -> None: method footer (line 343) | def footer(self) -> _EmbedFooterProxy: method set_footer (line 353) | def set_footer(self, *, text: Optional[Any] = None, icon_url: Optional... method remove_footer (line 377) | def remove_footer(self) -> Self: method image (line 393) | def image(self) -> _EmbedMediaProxy: method set_image (line 408) | def set_image(self, *, url: Optional[Any]) -> Self: method thumbnail (line 434) | def thumbnail(self) -> _EmbedMediaProxy: method set_thumbnail (line 449) | def set_thumbnail(self, *, url: Optional[Any]) -> Self: method video (line 478) | def video(self) -> _EmbedVideoProxy: method provider (line 493) | def provider(self) -> _EmbedProviderProxy: method author (line 504) | def author(self) -> _EmbedAuthorProxy: method set_author (line 514) | def set_author(self, *, name: Any, url: Optional[Any] = None, icon_url... method remove_author (line 543) | def remove_author(self) -> Self: method fields (line 559) | def fields(self) -> List[_EmbedFieldProxy]: method add_field (line 569) | def add_field(self, *, name: Any, value: Any, inline: bool = True) -> ... method insert_field_at (line 598) | def insert_field_at(self, index: int, *, name: Any, value: Any, inline... method clear_fields (line 631) | def clear_fields(self) -> Self: method remove_field (line 647) | def remove_field(self, index: int) -> Self: method set_field_at (line 676) | def set_field_at(self, index: int, *, name: Any, value: Any, inline: b... method to_dict (line 711) | def to_dict(self) -> EmbedData: FILE: discord/emoji.py class Emoji (line 48) | class Emoji(_EmojiTag, AssetMixin): method __init__ (line 111) | def __init__(self, *, guild: Guild, state: ConnectionState, data: Emoj... method _from_data (line 116) | def _from_data(self, emoji: EmojiPayload) -> None: method _to_partial (line 127) | def _to_partial(self) -> PartialEmoji: method __iter__ (line 130) | def __iter__(self) -> Iterator[Tuple[str, Any]]: method __str__ (line 137) | def __str__(self) -> str: method __repr__ (line 142) | def __repr__(self) -> str: method __eq__ (line 145) | def __eq__(self, other: object) -> bool: method __ne__ (line 148) | def __ne__(self, other: object) -> bool: method __hash__ (line 151) | def __hash__(self) -> int: method created_at (line 155) | def created_at(self) -> datetime: method url (line 160) | def url(self) -> str: method roles (line 166) | def roles(self) -> List[Role]: method guild (line 178) | def guild(self) -> Optional[Guild]: method is_usable (line 182) | def is_usable(self) -> bool: method delete (line 194) | async def delete(self, *, reason: Optional[str] = None) -> None: method edit (line 216) | async def edit( FILE: discord/enums.py function _create_value_cls (line 80) | def _create_value_cls(name: str, comparable: bool): function _is_descriptor (line 94) | def _is_descriptor(obj): class EnumMeta (line 98) | class EnumMeta(type): method __new__ (line 105) | def __new__( method __iter__ (line 150) | def __iter__(cls) -> Iterator[Any]: method __reversed__ (line 153) | def __reversed__(cls) -> Iterator[Any]: method __len__ (line 156) | def __len__(cls) -> int: method __repr__ (line 159) | def __repr__(cls) -> str: method __members__ (line 163) | def __members__(cls) -> Mapping[str, Any]: method __call__ (line 166) | def __call__(cls, value: str) -> Any: method __getitem__ (line 172) | def __getitem__(cls, key: str) -> Any: method __setattr__ (line 175) | def __setattr__(cls, name: str, value: Any) -> None: method __delattr__ (line 178) | def __delattr__(cls, attr: str) -> None: method __instancecheck__ (line 181) | def __instancecheck__(self, instance: Any) -> bool: class Enum (line 194) | class Enum(metaclass=EnumMeta): method try_value (line 196) | def try_value(cls, value): class ChannelType (line 203) | class ChannelType(Enum): method __str__ (line 217) | def __str__(self) -> str: class MessageType (line 221) | class MessageType(Enum): class SpeakingState (line 261) | class SpeakingState(Enum): method __str__ (line 267) | def __str__(self) -> str: method __int__ (line 270) | def __int__(self) -> int: class VerificationLevel (line 274) | class VerificationLevel(Enum, comparable=True): method __str__ (line 281) | def __str__(self) -> str: class ContentFilter (line 285) | class ContentFilter(Enum, comparable=True): method __str__ (line 290) | def __str__(self) -> str: class Status (line 294) | class Status(Enum): method __str__ (line 302) | def __str__(self) -> str: class DefaultAvatar (line 306) | class DefaultAvatar(Enum): method __str__ (line 315) | def __str__(self) -> str: class NotificationLevel (line 319) | class NotificationLevel(Enum, comparable=True): class AuditLogActionCategory (line 324) | class AuditLogActionCategory(Enum): class AuditLogAction (line 330) | class AuditLogAction(Enum): method category (line 391) | def category(self) -> Optional[AuditLogActionCategory]: method target_type (line 455) | def target_type(self) -> Optional[str]: class UserFlags (line 497) | class UserFlags(Enum): class ActivityType (line 520) | class ActivityType(Enum): method __int__ (line 529) | def __int__(self) -> int: class TeamMembershipState (line 533) | class TeamMembershipState(Enum): class TeamMemberRole (line 538) | class TeamMemberRole(Enum): class WebhookType (line 544) | class WebhookType(Enum): class ExpireBehaviour (line 550) | class ExpireBehaviour(Enum): class StickerType (line 558) | class StickerType(Enum): class StickerFormatType (line 563) | class StickerFormatType(Enum): method file_extension (line 570) | def file_extension(self) -> str: class InviteTarget (line 582) | class InviteTarget(Enum): class InteractionType (line 588) | class InteractionType(Enum): class InteractionResponseType (line 596) | class InteractionResponseType(Enum): class VideoQualityMode (line 609) | class VideoQualityMode(Enum): method __int__ (line 613) | def __int__(self) -> int: class ComponentType (line 617) | class ComponentType(Enum): method __int__ (line 628) | def __int__(self) -> int: class ButtonStyle (line 632) | class ButtonStyle(Enum): method __int__ (line 648) | def __int__(self) -> int: class TextStyle (line 652) | class TextStyle(Enum): method __int__ (line 659) | def __int__(self) -> int: class PrivacyLevel (line 663) | class PrivacyLevel(Enum): class NSFWLevel (line 667) | class NSFWLevel(Enum, comparable=True): class MFALevel (line 674) | class MFALevel(Enum, comparable=True): class Locale (line 679) | class Locale(Enum): method __str__ (line 713) | def __str__(self) -> str: class EntityType (line 720) | class EntityType(Enum): class EventStatus (line 726) | class EventStatus(Enum): class AppCommandOptionType (line 736) | class AppCommandOptionType(Enum): class AppCommandType (line 750) | class AppCommandType(Enum): class AppCommandPermissionType (line 756) | class AppCommandPermissionType(Enum): class AutoModRuleTriggerType (line 762) | class AutoModRuleTriggerType(Enum): class AutoModRuleEventType (line 771) | class AutoModRuleEventType(Enum): class AutoModRuleActionType (line 776) | class AutoModRuleActionType(Enum): class ForumLayoutType (line 783) | class ForumLayoutType(Enum): class ForumOrderType (line 789) | class ForumOrderType(Enum): class SelectDefaultValueType (line 794) | class SelectDefaultValueType(Enum): class SKUType (line 800) | class SKUType(Enum): class EntitlementType (line 807) | class EntitlementType(Enum): class EntitlementOwnerType (line 818) | class EntitlementOwnerType(Enum): class PollLayoutType (line 823) | class PollLayoutType(Enum): class InviteType (line 827) | class InviteType(Enum): class ReactionType (line 833) | class ReactionType(Enum): function create_unknown_value (line 838) | def create_unknown_value(cls: Type[E], val: Any) -> E: function try_enum (line 844) | def try_enum(cls: Type[E], val: Any) -> E: FILE: discord/errors.py class DiscordException (line 53) | class DiscordException(Exception): class ClientException (line 62) | class ClientException(DiscordException): class GatewayNotFound (line 71) | class GatewayNotFound(DiscordException): method __init__ (line 74) | def __init__(self): function _flatten_error_dict (line 79) | def _flatten_error_dict(d: Dict[str, Any], key: str = '') -> Dict[str, s... class HTTPException (line 97) | class HTTPException(DiscordException): method __init__ (line 115) | def __init__(self, response: _ResponseType, message: Optional[Union[st... class RateLimited (line 142) | class RateLimited(DiscordException): method __init__ (line 161) | def __init__(self, retry_after: float): class Forbidden (line 166) | class Forbidden(HTTPException): class NotFound (line 175) | class NotFound(HTTPException): class DiscordServerError (line 184) | class DiscordServerError(HTTPException): class InvalidData (line 195) | class InvalidData(ClientException): class LoginFailure (line 203) | class LoginFailure(ClientException): class ConnectionClosed (line 212) | class ConnectionClosed(ClientException): method __init__ (line 226) | def __init__(self, socket: ClientWebSocketResponse, *, shard_id: Optio... class PrivilegedIntentsRequired (line 236) | class PrivilegedIntentsRequired(ClientException): method __init__ (line 253) | def __init__(self, shard_id: Optional[int]): class InteractionResponded (line 264) | class InteractionResponded(ClientException): method __init__ (line 278) | def __init__(self, interaction: Interaction): FILE: discord/ext/commands/_types.py class Check (line 62) | class Check(Protocol[ContextT_co]): # type: ignore # TypeVar is expecte... method __call__ (line 66) | def __call__(self, coro_or_commands: T) -> T: class _BaseCommand (line 72) | class _BaseCommand: FILE: discord/ext/commands/bot.py function when_mentioned (line 102) | def when_mentioned(bot: _Bot, msg: Message, /) -> List[str]: function when_mentioned_or (line 115) | def when_mentioned_or(*prefixes: str) -> Callable[[_Bot, Message], List[... class _DefaultRepr (line 153) | class _DefaultRepr: method __repr__ (line 154) | def __repr__(self): class BotBase (line 161) | class BotBase(GroupMixin[None]): method __init__ (line 162) | def __init__( method _async_setup_hook (line 209) | async def _async_setup_hook(self) -> None: method dispatch (line 226) | def dispatch(self, event_name: str, /, *args: Any, **kwargs: Any) -> N... method close (line 234) | async def close(self) -> None: method add_command (line 252) | def add_command(self, command: Command[Any, ..., Any], /) -> None: method remove_command (line 263) | def remove_command(self, name: str, /) -> Optional[Command[Any, ..., A... method hybrid_command (line 279) | def hybrid_command( method hybrid_group (line 303) | def hybrid_group( method on_command_error (line 329) | async def on_command_error(self, context: Context[BotT], exception: er... method check (line 359) | def check(self, func: T, /) -> T: method add_check (line 391) | def add_check(self, func: UserCheck[ContextT], /, *, call_once: bool =... method remove_check (line 417) | def remove_check(self, func: UserCheck[ContextT], /, *, call_once: boo... method check_once (line 442) | def check_once(self, func: CFT, /) -> CFT: method can_run (line 484) | async def can_run(self, ctx: Context[BotT], /, *, call_once: bool = Fa... method is_owner (line 492) | async def is_owner(self, user: User, /) -> bool: method before_invoke (line 543) | def before_invoke(self, coro: CFT, /) -> CFT: method after_invoke (line 579) | def after_invoke(self, coro: CFT, /) -> CFT: method add_listener (line 618) | def add_listener(self, func: CoroFunc, /, name: str = MISSING) -> None: method remove_listener (line 654) | def remove_listener(self, func: CoroFunc, /, name: str = MISSING) -> N... method listen (line 678) | def listen(self, name: str = MISSING) -> Callable[[CFT], CFT]: method add_cog (line 716) | async def add_cog( method get_cog (line 802) | def get_cog(self, name: str, /) -> Optional[Cog]: method remove_cog (line 825) | async def remove_cog( method cogs (line 895) | def cogs(self) -> Mapping[str, Cog]: method _remove_module_references (line 901) | async def _remove_module_references(self, name: str) -> None: method _call_module_finalizers (line 928) | async def _call_module_finalizers(self, lib: types.ModuleType, key: st... method _load_from_module_spec (line 946) | async def _load_from_module_spec(self, spec: importlib.machinery.Modul... method _resolve_name (line 972) | def _resolve_name(self, name: str, package: Optional[str]) -> str: method load_extension (line 978) | async def load_extension(self, name: str, *, package: Optional[str] = ... method unload_extension (line 1031) | async def unload_extension(self, name: str, *, package: Optional[str] ... method reload_extension (line 1078) | async def reload_extension(self, name: str, *, package: Optional[str] ... method extensions (line 1146) | def extensions(self) -> Mapping[str, types.ModuleType]: method help_command (line 1153) | def help_command(self) -> Optional[HelpCommand]: method help_command (line 1157) | def help_command(self, value: Optional[HelpCommand]) -> None: method tree (line 1177) | def tree(self) -> app_commands.CommandTree[Self]: # type: ignore method get_prefix (line 1187) | async def get_prefix(self, message: Message, /) -> Union[List[str], str]: method get_context (line 1231) | async def get_context( method get_context (line 1239) | async def get_context( method get_context (line 1248) | async def get_context( method invoke (line 1347) | async def invoke(self, ctx: Context[BotT], /) -> None: method process_commands (line 1377) | async def process_commands(self, message: Message, /) -> None: method on_message (line 1410) | async def on_message(self, message: Message, /) -> None: class Bot (line 1414) | class Bot(BotBase, discord.Client): class AutoShardedBot (line 1517) | class AutoShardedBot(BotBase, discord.AutoShardedClient): FILE: discord/ext/commands/cog.py class CogMeta (line 72) | class CogMeta(type): method __new__ (line 172) | def __new__(cls, *args: Any, **kwargs: Any) -> CogMeta: method __init__ (line 257) | def __init__(self, *args: Any, **kwargs: Any) -> None: method qualified_name (line 261) | def qualified_name(cls) -> str: function _cog_special_method (line 265) | def _cog_special_method(func: FuncT) -> FuncT: class Cog (line 270) | class Cog(metaclass=CogMeta): method __new__ (line 295) | def __new__(cls, *args: Any, **kwargs: Any) -> Self: method get_commands (line 406) | def get_commands(self) -> List[Command[Self, ..., Any]]: method get_app_commands (line 420) | def get_app_commands(self) -> List[Union[app_commands.Command[Self, ..... method qualified_name (line 432) | def qualified_name(self) -> str: method description (line 437) | def description(self) -> str: method description (line 442) | def description(self, description: str) -> None: method walk_commands (line 445) | def walk_commands(self) -> Generator[Command[Self, ..., Any], None, No... method walk_app_commands (line 461) | def walk_app_commands(self) -> Generator[Union[app_commands.Command[Se... method app_command (line 475) | def app_command(self) -> Optional[app_commands.Group]: method get_listeners (line 482) | def get_listeners(self) -> List[Tuple[str, Callable[..., Any]]]: method _get_overridden_method (line 493) | def _get_overridden_method(cls, method: FuncT) -> Optional[FuncT]: method listener (line 498) | def listener(cls, name: str = MISSING) -> Callable[[FuncT], FuncT]: method has_error_handler (line 539) | def has_error_handler(self) -> bool: method has_app_command_error_handler (line 546) | def has_app_command_error_handler(self) -> bool: method cog_load (line 554) | async def cog_load(self) -> None: method cog_unload (line 568) | async def cog_unload(self) -> None: method bot_check_once (line 584) | def bot_check_once(self, ctx: Context[BotT]) -> bool: method bot_check (line 594) | def bot_check(self, ctx: Context[BotT]) -> bool: method cog_check (line 604) | def cog_check(self, ctx: Context[BotT]) -> bool: method interaction_check (line 614) | def interaction_check(self, interaction: discord.Interaction[ClientT],... method cog_command_error (line 626) | async def cog_command_error(self, ctx: Context[BotT], error: Exception... method cog_app_command_error (line 647) | async def cog_app_command_error(self, interaction: discord.Interaction... method cog_before_invoke (line 668) | async def cog_before_invoke(self, ctx: Context[BotT]) -> None: method cog_after_invoke (line 685) | async def cog_after_invoke(self, ctx: Context[BotT]) -> None: method _inject (line 701) | async def _inject(self, bot: BotBase, override: bool, guild: Optional[... method _eject (line 749) | async def _eject(self, bot: BotBase, guild_ids: Optional[Iterable[int]... class GroupCog (line 781) | class GroupCog(Cog): FILE: discord/ext/commands/context.py function is_cog (line 81) | def is_cog(obj: Any) -> TypeGuard[Cog]: class DeferTyping (line 85) | class DeferTyping: method __init__ (line 86) | def __init__(self, ctx: Context[BotT], *, ephemeral: bool): method __await__ (line 90) | def __await__(self) -> Generator[Any, None, None]: method __aenter__ (line 93) | async def __aenter__(self) -> None: method __aexit__ (line 96) | async def __aexit__( class Context (line 105) | class Context(discord.abc.Messageable, Generic[BotT]): method __init__ (line 177) | def __init__( method from_interaction (line 214) | async def from_interaction(cls, interaction: Interaction[BotT], /) -> ... method invoke (line 302) | async def invoke(self, command: Command[CogT, P, T], /, *args: P.args,... method reinvoke (line 339) | async def reinvoke(self, *, call_hooks: bool = False, restart: bool = ... method valid (line 402) | def valid(self) -> bool: method _get_channel (line 406) | async def _get_channel(self) -> discord.abc.Messageable: method clean_prefix (line 410) | def clean_prefix(self) -> str: method cog (line 427) | def cog(self) -> Optional[Cog]: method filesize_limit (line 435) | def filesize_limit(self) -> int: method guild (line 443) | def guild(self) -> Optional[Guild]: method channel (line 448) | def channel(self) -> MessageableChannel: method author (line 455) | def author(self) -> Union[User, Member]: method me (line 462) | def me(self) -> Union[Member, ClientUser]: method permissions (line 470) | def permissions(self) -> Permissions: method bot_permissions (line 496) | def bot_permissions(self) -> Permissions: method voice_client (line 540) | def voice_client(self) -> Optional[VoiceProtocol]: method send_help (line 545) | async def send_help(self, *args: Any) -> Any: method reply (line 628) | async def reply( method reply (line 650) | async def reply( method reply (line 672) | async def reply( method reply (line 694) | async def reply( method reply (line 715) | async def reply(self, content: Optional[str] = None, **kwargs: Any) ->... method typing (line 750) | def typing(self, *, ephemeral: bool = False) -> Union[Typing, DeferTyp... method defer (line 790) | async def defer(self, *, ephemeral: bool = False) -> None: method send (line 817) | async def send( method send (line 839) | async def send( method send (line 861) | async def send( method send (line 883) | async def send( method send (line 904) | async def send( FILE: discord/ext/commands/converter.py function _get_from_guilds (line 92) | def _get_from_guilds(bot: _Bot, getter: str, argument: Any) -> Any: class Converter (line 109) | class Converter(Protocol[T_co]): method convert (line 120) | async def convert(self, ctx: Context[BotT], argument: str) -> T_co: class IDConverter (line 153) | class IDConverter(Converter[T_co]): method _get_id_match (line 155) | def _get_id_match(argument): class ObjectConverter (line 159) | class ObjectConverter(IDConverter[discord.Object]): method convert (line 172) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class MemberConverter (line 183) | class MemberConverter(IDConverter[discord.Member]): method query_member_named (line 211) | async def query_member_named(self, guild: discord.Guild, argument: str... method query_member_by_id (line 229) | async def query_member_by_id(self, bot: _Bot, guild: discord.Guild, us... method convert (line 250) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class UserConverter (line 285) | class UserConverter(IDConverter[discord.User]): method convert (line 311) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class PartialMessageConverter (line 345) | class PartialMessageConverter(Converter[discord.PartialMessage]): method _get_id_matches (line 358) | def _get_id_matches(ctx: Context[BotT], argument: str) -> Tuple[Option... method _resolve_channel (line 381) | def _resolve_channel( method convert (line 396) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class MessageConverter (line 404) | class MessageConverter(IDConverter[discord.Message]): method convert (line 419) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class GuildChannelConverter (line 435) | class GuildChannelConverter(IDConverter[discord.abc.GuildChannel]): method convert (line 454) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... method _parse_from_url (line 458) | def _parse_from_url(argument: str) -> Optional[re.Match[str]]: method _resolve_channel (line 467) | def _resolve_channel(ctx: Context[BotT], argument: str, attribute: str... method _resolve_thread (line 503) | def _resolve_thread(ctx: Context[BotT], argument: str, attribute: str,... class TextChannelConverter (line 528) | class TextChannelConverter(IDConverter[discord.TextChannel]): method convert (line 548) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class VoiceChannelConverter (line 552) | class VoiceChannelConverter(IDConverter[discord.VoiceChannel]): method convert (line 572) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class StageChannelConverter (line 576) | class StageChannelConverter(IDConverter[discord.StageChannel]): method convert (line 595) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class CategoryChannelConverter (line 599) | class CategoryChannelConverter(IDConverter[discord.CategoryChannel]): method convert (line 619) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class ThreadConverter (line 623) | class ThreadConverter(IDConverter[discord.Thread]): method convert (line 641) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class ForumChannelConverter (line 645) | class ForumChannelConverter(IDConverter[discord.ForumChannel]): method convert (line 664) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class ColourConverter (line 668) | class ColourConverter(Converter[discord.Colour]): method convert (line 694) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class RoleConverter (line 708) | class RoleConverter(IDConverter[discord.Role]): method convert (line 724) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class GameConverter (line 740) | class GameConverter(Converter[discord.Game]): method convert (line 743) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class InviteConverter (line 747) | class InviteConverter(Converter[discord.Invite]): method convert (line 756) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class GuildConverter (line 764) | class GuildConverter(IDConverter[discord.Guild]): method convert (line 775) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class EmojiConverter (line 791) | class EmojiConverter(IDConverter[discord.Emoji]): method convert (line 807) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class PartialEmojiConverter (line 832) | class PartialEmojiConverter(Converter[discord.PartialEmoji]): method convert (line 841) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class GuildStickerConverter (line 856) | class GuildStickerConverter(IDConverter[discord.GuildSticker]): method convert (line 870) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class ScheduledEventConverter (line 895) | class ScheduledEventConverter(IDConverter[discord.ScheduledEvent]): method convert (line 910) | async def convert(self, ctx: Context[BotT], argument: str) -> discord.... class clean_content (line 954) | class clean_content(Converter[str]): method __init__ (line 974) | def __init__( method convert (line 987) | async def convert(self, ctx: Context[BotT], argument: str) -> str: class Greedy (line 1043) | class Greedy(List[T]): method __init__ (line 1073) | def __init__(self, *, converter: T) -> None: method __repr__ (line 1076) | def __repr__(self) -> str: method __class_getitem__ (line 1080) | def __class_getitem__(cls, params: Union[Tuple[T], T]) -> Greedy[T]: method constructed_converter (line 1105) | def constructed_converter(self) -> Any: class Range (line 1120) | class Range: method __init__ (line 1153) | def __init__( method convert (line 1167) | async def convert(self, ctx: Context[BotT], value: str) -> Union[int, ... method __call__ (line 1183) | def __call__(self) -> None: method __or__ (line 1187) | def __or__(self, rhs) -> Any: method __repr__ (line 1190) | def __repr__(self) -> str: method __class_getitem__ (line 1193) | def __class_getitem__(cls, obj) -> Range: function _convert_to_bool (line 1227) | def _convert_to_bool(argument: str) -> bool: function is_generic_type (line 1240) | def is_generic_type(tp: Any, *, _GenericAlias: type = _GenericAlias) -> ... function _actual_conversion (line 1269) | async def _actual_conversion(ctx: Context[BotT], converter: Any, argumen... function run_converters (line 1308) | async def run_converters( function run_converters (line 1315) | async def run_converters(ctx: Context[BotT], converter: Any, argument: s... function run_converters (line 1319) | async def run_converters(ctx: Context[BotT], converter: Any, argument: s... FILE: discord/ext/commands/cooldowns.py class BucketType (line 55) | class BucketType(Enum): method get_key (line 64) | def get_key(self, msg: Union[Message, Context[Any]]) -> Any: method __call__ (line 82) | def __call__(self, msg: Union[Message, Context[Any]]) -> Any: class CooldownMapping (line 86) | class CooldownMapping(Generic[T_contra]): method __init__ (line 87) | def __init__( method copy (line 99) | def copy(self) -> CooldownMapping[T_contra]: method valid (line 105) | def valid(self) -> bool: method type (line 109) | def type(self) -> Callable[[T_contra], Any]: method from_cooldown (line 113) | def from_cooldown(cls, rate: float, per: float, type: Callable[[T_cont... method _bucket_key (line 116) | def _bucket_key(self, msg: T_contra) -> Any: method _verify_cache_integrity (line 119) | def _verify_cache_integrity(self, current: Optional[float] = None) -> ... method create_bucket (line 128) | def create_bucket(self, message: T_contra) -> Cooldown: method get_bucket (line 131) | def get_bucket(self, message: T_contra, current: Optional[float] = Non... method update_rate_limit (line 146) | def update_rate_limit(self, message: T_contra, current: Optional[float... class DynamicCooldownMapping (line 153) | class DynamicCooldownMapping(CooldownMapping[T_contra]): method __init__ (line 154) | def __init__( method copy (line 162) | def copy(self) -> DynamicCooldownMapping[T_contra]: method valid (line 168) | def valid(self) -> bool: method create_bucket (line 171) | def create_bucket(self, message: T_contra) -> Optional[Cooldown]: class _Semaphore (line 175) | class _Semaphore: method __init__ (line 190) | def __init__(self, number: int) -> None: method __repr__ (line 195) | def __repr__(self) -> str: method locked (line 198) | def locked(self) -> bool: method is_active (line 201) | def is_active(self) -> bool: method wake_up (line 204) | def wake_up(self) -> None: method acquire (line 211) | async def acquire(self, *, wait: bool = False) -> bool: method release (line 230) | def release(self) -> None: class MaxConcurrency (line 235) | class MaxConcurrency: method __init__ (line 238) | def __init__(self, number: int, *, per: BucketType, wait: bool) -> None: method copy (line 250) | def copy(self) -> Self: method __repr__ (line 253) | def __repr__(self) -> str: method get_key (line 256) | def get_key(self, message: Union[Message, Context[Any]]) -> Any: method acquire (line 259) | async def acquire(self, message: Union[Message, Context[Any]]) -> None: method release (line 271) | async def release(self, message: Union[Message, Context[Any]]) -> None: FILE: discord/ext/commands/core.py function unwrap_function (line 106) | def unwrap_function(function: Callable[..., Any], /) -> Callable[..., Any]: function get_signature_parameters (line 117) | def get_signature_parameters( function _fold_text (line 174) | def _fold_text(input: str) -> str: function extract_descriptions_from_docstring (line 185) | def extract_descriptions_from_docstring(function: Callable[..., Any], pa... function wrap_callback (line 213) | def wrap_callback(coro: Callable[P, Coro[T]], /) -> Callable[P, Coro[Opt... function hooked_wrapped_callback (line 229) | def hooked_wrapped_callback( class _CaseInsensitiveDict (line 255) | class _CaseInsensitiveDict(dict): method __contains__ (line 256) | def __contains__(self, k): method __delitem__ (line 259) | def __delitem__(self, k): method __getitem__ (line 262) | def __getitem__(self, k): method get (line 265) | def get(self, k, default=None): method pop (line 268) | def pop(self, k, default=None): method __setitem__ (line 271) | def __setitem__(self, k, v): class _AttachmentIterator (line 275) | class _AttachmentIterator: method __init__ (line 276) | def __init__(self, data: List[discord.Attachment]): method __iter__ (line 280) | def __iter__(self) -> Self: method __next__ (line 283) | def __next__(self) -> discord.Attachment: method is_empty (line 292) | def is_empty(self) -> bool: class Command (line 296) | class Command(_BaseCommand, Generic[CogT, P, T]): method __new__ (line 373) | def __new__(cls, *args: Any, **kwargs: Any) -> Self: method __init__ (line 389) | def __init__( method cog (line 483) | def cog(self) -> CogT: method cog (line 487) | def cog(self, value: CogT) -> None: method callback (line 491) | def callback( method callback (line 497) | def callback( method add_check (line 515) | def add_check(self, func: UserCheck[Context[Any]], /) -> None: method remove_check (line 536) | def remove_check(self, func: UserCheck[Context[Any]], /) -> None: method update (line 559) | def update(self, **kwargs: Any) -> None: method __call__ (line 570) | async def __call__(self, context: Context[BotT], /, *args: P.args, **k... method _ensure_assignment_on_copy (line 592) | def _ensure_assignment_on_copy(self, other: Self) -> Self: method copy (line 609) | def copy(self) -> Self: method _update_copy (line 620) | def _update_copy(self, kwargs: Dict[str, Any]) -> Self: method dispatch_error (line 629) | async def dispatch_error(self, ctx: Context[BotT], error: CommandError... method transform (line 652) | async def transform(self, ctx: Context[BotT], param: Parameter, attach... method _transform_greedy_pos (line 717) | async def _transform_greedy_pos(self, ctx: Context[BotT], param: Param... method _transform_greedy_var_pos (line 738) | async def _transform_greedy_var_pos(self, ctx: Context[BotT], param: P... method clean_params (line 751) | def clean_params(self) -> Dict[str, Parameter]: method cooldown (line 760) | def cooldown(self) -> Optional[Cooldown]: method full_parent_name (line 769) | def full_parent_name(self) -> str: method parents (line 785) | def parents(self) -> List[Group[Any, ..., Any]]: method root_parent (line 803) | def root_parent(self) -> Optional[Group[Any, ..., Any]]: method qualified_name (line 815) | def qualified_name(self) -> str: method __str__ (line 829) | def __str__(self) -> str: method _parse_arguments (line 832) | async def _parse_arguments(self, ctx: Context[BotT]) -> None: method call_before_hooks (line 868) | async def call_before_hooks(self, ctx: Context[BotT], /) -> None: method call_after_hooks (line 893) | async def call_after_hooks(self, ctx: Context[BotT], /) -> None: method _prepare_cooldowns (line 912) | def _prepare_cooldowns(self, ctx: Context[BotT]) -> None: method prepare (line 922) | async def prepare(self, ctx: Context[BotT], /) -> None: method is_on_cooldown (line 946) | def is_on_cooldown(self, ctx: Context[BotT], /) -> bool: method reset_cooldown (line 973) | def reset_cooldown(self, ctx: Context[BotT], /) -> None: method get_cooldown_retry_after (line 990) | def get_cooldown_retry_after(self, ctx: Context[BotT], /) -> float: method invoke (line 1020) | async def invoke(self, ctx: Context[BotT], /) -> None: method reinvoke (line 1031) | async def reinvoke(self, ctx: Context[BotT], /, *, call_hooks: bool = ... method error (line 1048) | def error(self, coro: Error[CogT, ContextT], /) -> Error[CogT, ContextT]: method has_error_handler (line 1076) | def has_error_handler(self) -> bool: method before_invoke (line 1083) | def before_invoke(self, coro: Hook[CogT, ContextT], /) -> Hook[CogT, C... method after_invoke (line 1114) | def after_invoke(self, coro: Hook[CogT, ContextT], /) -> Hook[CogT, Co... method cog_name (line 1146) | def cog_name(self) -> Optional[str]: method short_doc (line 1151) | def short_doc(self) -> str: method _is_typing_optional (line 1164) | def _is_typing_optional(self, annotation: Union[T, Optional[T]]) -> bool: method signature (line 1168) | def signature(self) -> str: method can_run (line 1234) | async def can_run(self, ctx: Context[BotT], /) -> bool: class GroupMixin (line 1293) | class GroupMixin(Generic[CogT]): method __init__ (line 1306) | def __init__(self, *args: Any, **kwargs: Any) -> None: method commands (line 1313) | def commands(self) -> Set[Command[CogT, ..., Any]]: method recursively_remove_all_commands (line 1317) | def recursively_remove_all_commands(self) -> None: method add_command (line 1323) | def add_command(self, command: Command[CogT, ..., Any], /) -> None: method remove_command (line 1365) | def remove_command(self, name: str, /) -> Optional[Command[CogT, ..., ... method walk_commands (line 1406) | def walk_commands(self) -> Generator[Command[CogT, ..., Any], None, No... method get_command (line 1422) | def get_command(self, name: str, /) -> Optional[Command[CogT, ..., Any]]: method command (line 1467) | def command( method command (line 1484) | def command( method command (line 1501) | def command( method group (line 1527) | def group( method group (line 1544) | def group( method group (line 1561) | def group( class Group (line 1586) | class Group(GroupMixin[CogT], Command[CogT, P, T]): method __init__ (line 1609) | def __init__(self, *args: Any, **attrs: Any) -> None: method copy (line 1613) | def copy(self) -> Self: method invoke (line 1626) | async def invoke(self, ctx: Context[BotT], /) -> None: method reinvoke (line 1657) | async def reinvoke(self, ctx: Context[BotT], /, *, call_hooks: bool = ... class _CommandDecorator (line 1703) | class _CommandDecorator: method __call__ (line 1705) | def __call__(self, func: Callable[Concatenate[CogT, ContextT, P], Coro... method __call__ (line 1709) | def __call__(self, func: Callable[Concatenate[ContextT, P], Coro[T]], ... method __call__ (line 1712) | def __call__(self, func: Callable[..., Coro[T]], /) -> Any: class _GroupDecorator (line 1715) | class _GroupDecorator: method __call__ (line 1717) | def __call__(self, func: Callable[Concatenate[CogT, ContextT, P], Coro... method __call__ (line 1721) | def __call__(self, func: Callable[Concatenate[ContextT, P], Coro[T]], ... method __call__ (line 1724) | def __call__(self, func: Callable[..., Coro[T]], /) -> Any: function command (line 1729) | def command( function command (line 1737) | def command( function command (line 1753) | def command( function group (line 1799) | def group( function group (line 1807) | def group( function group (line 1823) | def group( function check (line 1842) | def check(predicate: UserCheck[ContextT], /) -> Check[ContextT]: function check_any (line 1941) | def check_any(*checks: Check[ContextT]) -> Check[ContextT]: function has_role (line 2010) | def has_role(item: Union[int, str], /) -> Check[Any]: function has_any_role (line 2057) | def has_any_role(*items: Union[int, str]) -> Callable[[T], T]: function bot_has_role (line 2106) | def bot_has_role(item: int, /) -> Callable[[T], T]: function bot_has_any_role (line 2139) | def bot_has_any_role(*items: int) -> Callable[[T], T]: function has_permissions (line 2168) | def has_permissions(**perms: bool) -> Check[Any]: function bot_has_permissions (line 2215) | def bot_has_permissions(**perms: bool) -> Check[Any]: function has_guild_permissions (line 2240) | def has_guild_permissions(**perms: bool) -> Check[Any]: function bot_has_guild_permissions (line 2269) | def bot_has_guild_permissions(**perms: bool) -> Check[Any]: function dm_only (line 2295) | def dm_only() -> Check[Any]: function guild_only (line 2314) | def guild_only() -> Check[Any]: function is_owner (line 2365) | def is_owner() -> Check[Any]: function is_nsfw (line 2383) | def is_nsfw() -> Check[Any]: function cooldown (line 2440) | def cooldown( function dynamic_cooldown (line 2485) | def dynamic_cooldown( function max_concurrency (line 2533) | def max_concurrency(number: int, per: BucketType = BucketType.default, *... function before_invoke (line 2568) | def before_invoke(coro: Hook[CogT, ContextT], /) -> Callable[[T], T]: function after_invoke (line 2620) | def after_invoke(coro: Hook[CogT, ContextT], /) -> Callable[[T], T]: FILE: discord/ext/commands/errors.py class CommandError (line 111) | class CommandError(DiscordException): method __init__ (line 121) | def __init__(self, message: Optional[str] = None, *args: Any) -> None: class ConversionError (line 130) | class ConversionError(CommandError): method __init__ (line 144) | def __init__(self, converter: Converter[Any], original: Exception) -> ... class UserInputError (line 149) | class UserInputError(CommandError): class CommandNotFound (line 159) | class CommandNotFound(CommandError): class MissingRequiredArgument (line 172) | class MissingRequiredArgument(UserInputError): method __init__ (line 184) | def __init__(self, param: Parameter) -> None: class MissingRequiredAttachment (line 189) | class MissingRequiredAttachment(UserInputError): method __init__ (line 203) | def __init__(self, param: Parameter) -> None: class TooManyArguments (line 208) | class TooManyArguments(UserInputError): class BadArgument (line 218) | class BadArgument(UserInputError): class CheckFailure (line 228) | class CheckFailure(CommandError): class CheckAnyFailure (line 237) | class CheckAnyFailure(CheckFailure): method __init__ (line 252) | def __init__(self, checks: List[Callable[[Context[BotT]], bool]], erro... class PrivateMessageOnly (line 258) | class PrivateMessageOnly(CheckFailure): method __init__ (line 265) | def __init__(self, message: Optional[str] = None) -> None: class NoPrivateMessage (line 269) | class NoPrivateMessage(CheckFailure): method __init__ (line 276) | def __init__(self, message: Optional[str] = None) -> None: class NotOwner (line 280) | class NotOwner(CheckFailure): class ObjectNotFound (line 289) | class ObjectNotFound(BadArgument): method __init__ (line 303) | def __init__(self, argument: str) -> None: class MemberNotFound (line 308) | class MemberNotFound(BadArgument): method __init__ (line 322) | def __init__(self, argument: str) -> None: class GuildNotFound (line 327) | class GuildNotFound(BadArgument): method __init__ (line 340) | def __init__(self, argument: str) -> None: class UserNotFound (line 345) | class UserNotFound(BadArgument): method __init__ (line 359) | def __init__(self, argument: str) -> None: class MessageNotFound (line 364) | class MessageNotFound(BadArgument): method __init__ (line 377) | def __init__(self, argument: str) -> None: class ChannelNotReadable (line 382) | class ChannelNotReadable(BadArgument): method __init__ (line 396) | def __init__(self, argument: Union[GuildChannel, Thread]) -> None: class ChannelNotFound (line 401) | class ChannelNotFound(BadArgument): method __init__ (line 414) | def __init__(self, argument: Union[int, str]) -> None: class ThreadNotFound (line 419) | class ThreadNotFound(BadArgument): method __init__ (line 432) | def __init__(self, argument: str) -> None: class BadColourArgument (line 437) | class BadColourArgument(BadArgument): method __init__ (line 450) | def __init__(self, argument: str) -> None: class RoleNotFound (line 458) | class RoleNotFound(BadArgument): method __init__ (line 471) | def __init__(self, argument: str) -> None: class BadInviteArgument (line 476) | class BadInviteArgument(BadArgument): method __init__ (line 489) | def __init__(self, argument: str) -> None: class EmojiNotFound (line 494) | class EmojiNotFound(BadArgument): method __init__ (line 507) | def __init__(self, argument: str) -> None: class PartialEmojiConversionFailure (line 512) | class PartialEmojiConversionFailure(BadArgument): method __init__ (line 526) | def __init__(self, argument: str) -> None: class GuildStickerNotFound (line 531) | class GuildStickerNotFound(BadArgument): method __init__ (line 544) | def __init__(self, argument: str) -> None: class ScheduledEventNotFound (line 549) | class ScheduledEventNotFound(BadArgument): method __init__ (line 562) | def __init__(self, argument: str) -> None: class BadBoolArgument (line 567) | class BadBoolArgument(BadArgument): method __init__ (line 580) | def __init__(self, argument: str) -> None: class RangeError (line 585) | class RangeError(BadArgument): method __init__ (line 602) | def __init__( class DisabledCommand (line 631) | class DisabledCommand(CommandError): class CommandInvokeError (line 640) | class CommandInvokeError(CommandError): method __init__ (line 652) | def __init__(self, e: Exception) -> None: class CommandOnCooldown (line 657) | class CommandOnCooldown(CommandError): method __init__ (line 673) | def __init__(self, cooldown: Cooldown, retry_after: float, type: Bucke... class MaxConcurrencyReached (line 680) | class MaxConcurrencyReached(CommandError): method __init__ (line 693) | def __init__(self, number: int, per: BucketType) -> None: class MissingRole (line 703) | class MissingRole(CheckFailure): method __init__ (line 717) | def __init__(self, missing_role: Snowflake) -> None: class BotMissingRole (line 723) | class BotMissingRole(CheckFailure): method __init__ (line 737) | def __init__(self, missing_role: Snowflake) -> None: class MissingAnyRole (line 743) | class MissingAnyRole(CheckFailure): method __init__ (line 758) | def __init__(self, missing_roles: SnowflakeList) -> None: class BotMissingAnyRole (line 767) | class BotMissingAnyRole(CheckFailure): method __init__ (line 783) | def __init__(self, missing_roles: SnowflakeList) -> None: class NSFWChannelRequired (line 792) | class NSFWChannelRequired(CheckFailure): method __init__ (line 805) | def __init__(self, channel: Union[GuildChannel, Thread]) -> None: class MissingPermissions (line 810) | class MissingPermissions(CheckFailure): method __init__ (line 822) | def __init__(self, missing_permissions: List[str], *args: Any) -> None: class BotMissingPermissions (line 831) | class BotMissingPermissions(CheckFailure): method __init__ (line 843) | def __init__(self, missing_permissions: List[str], *args: Any) -> None: class BadUnionArgument (line 852) | class BadUnionArgument(UserInputError): method __init__ (line 868) | def __init__(self, param: Parameter, converters: Tuple[type, ...], err... class BadLiteralArgument (line 886) | class BadLiteralArgument(UserInputError): method __init__ (line 908) | def __init__(self, param: Parameter, literals: Tuple[Any, ...], errors... class ArgumentParsingError (line 919) | class ArgumentParsingError(UserInputError): class UnexpectedQuoteError (line 931) | class UnexpectedQuoteError(ArgumentParsingError): method __init__ (line 942) | def __init__(self, quote: str) -> None: class InvalidEndOfQuotedStringError (line 947) | class InvalidEndOfQuotedStringError(ArgumentParsingError): method __init__ (line 959) | def __init__(self, char: str) -> None: class ExpectedClosingQuoteError (line 964) | class ExpectedClosingQuoteError(ArgumentParsingError): method __init__ (line 975) | def __init__(self, close_quote: str) -> None: class ExtensionError (line 980) | class ExtensionError(DiscordException): method __init__ (line 991) | def __init__(self, message: Optional[str] = None, *args: Any, name: st... class ExtensionAlreadyLoaded (line 999) | class ExtensionAlreadyLoaded(ExtensionError): method __init__ (line 1005) | def __init__(self, name: str) -> None: class ExtensionNotLoaded (line 1009) | class ExtensionNotLoaded(ExtensionError): method __init__ (line 1015) | def __init__(self, name: str) -> None: class NoEntryPointError (line 1019) | class NoEntryPointError(ExtensionError): method __init__ (line 1025) | def __init__(self, name: str) -> None: class ExtensionFailed (line 1029) | class ExtensionFailed(ExtensionError): method __init__ (line 1043) | def __init__(self, name: str, original: Exception) -> None: class ExtensionNotFound (line 1049) | class ExtensionNotFound(ExtensionError): method __init__ (line 1063) | def __init__(self, name: str) -> None: class CommandRegistrationError (line 1068) | class CommandRegistrationError(ClientException): method __init__ (line 1084) | def __init__(self, name: str, *, alias_conflict: bool = False) -> None: class FlagError (line 1091) | class FlagError(BadArgument): class TooManyFlags (line 1102) | class TooManyFlags(FlagError): method __init__ (line 1117) | def __init__(self, flag: Flag, values: List[str]) -> None: class BadFlagArgument (line 1123) | class BadFlagArgument(FlagError): method __init__ (line 1141) | def __init__(self, flag: Flag, argument: str, original: Exception) -> ... class MissingRequiredFlag (line 1154) | class MissingRequiredFlag(FlagError): method __init__ (line 1167) | def __init__(self, flag: Flag) -> None: class MissingFlagArgument (line 1172) | class MissingFlagArgument(FlagError): method __init__ (line 1185) | def __init__(self, flag: Flag) -> None: class HybridCommandError (line 1190) | class HybridCommandError(CommandError): method __init__ (line 1204) | def __init__(self, original: AppCommandError) -> None: FILE: discord/ext/commands/flags.py class Flag (line 55) | class Flag: method required (line 100) | def required(self) -> bool: function flag (line 108) | def flag( function is_flag (line 162) | def is_flag(obj: Any) -> TypeGuard[Type[FlagConverter]]: function validate_flag_name (line 166) | def validate_flag_name(name: str, forbidden: Set[str]) -> None: function get_flags (line 179) | def get_flags(namespace: Dict[str, Any], globals: Dict[str, Any], locals... class FlagsMeta (line 281) | class FlagsMeta(type): method __new__ (line 292) | def __new__( function tuple_convert_all (line 378) | async def tuple_convert_all(ctx: Context[BotT], argument: str, flag: Fla... function tuple_convert_flag (line 401) | async def tuple_convert_flag(ctx: Context[BotT], argument: str, flag: Fl... function convert_flag (line 427) | async def convert_flag(ctx: Context[BotT], argument: str, flag: Flag, an... class FlagConverter (line 458) | class FlagConverter(metaclass=FlagsMeta): method get_flags (line 491) | def get_flags(cls) -> Dict[str, Flag]: method _can_be_constructible (line 496) | def _can_be_constructible(cls) -> bool: method __iter__ (line 499) | def __iter__(self) -> Iterator[Tuple[str, Any]]: method _construct_default (line 504) | async def _construct_default(cls, ctx: Context[BotT]) -> Self: method __repr__ (line 516) | def __repr__(self) -> str: method parse_flags (line 521) | def parse_flags(cls, argument: str, *, ignore_extra: bool = True) -> D... method convert (line 595) | async def convert(cls, ctx: Context[BotT], argument: str) -> Self: FILE: discord/ext/commands/help.py class Paginator (line 101) | class Paginator: method __init__ (line 123) | def __init__( method clear (line 132) | def clear(self) -> None: method _prefix_len (line 143) | def _prefix_len(self) -> int: method _suffix_len (line 147) | def _suffix_len(self) -> int: method _linesep_len (line 151) | def _linesep_len(self) -> int: method add_line (line 154) | def add_line(self, line: str = '', *, empty: bool = False) -> None: method close_page (line 186) | def close_page(self) -> None: method __len__ (line 199) | def __len__(self) -> int: method pages (line 204) | def pages(self) -> List[str]: method __repr__ (line 216) | def __repr__(self) -> str: function _not_overridden (line 221) | def _not_overridden(f: FuncT) -> FuncT: class _HelpCommandImpl (line 226) | class _HelpCommandImpl(Command): method __init__ (line 227) | def __init__(self, inject: HelpCommand, *args: Any, **kwargs: Any) -> ... method prepare (line 233) | async def prepare(self, ctx: Context[Any]) -> None: method _parse_arguments (line 248) | async def _parse_arguments(self, ctx: Context[BotT]) -> None: method _on_error_cog_implementation (line 258) | async def _on_error_cog_implementation(self, _, ctx: Context[BotT], er... method _inject_into_cog (line 261) | def _inject_into_cog(self, cog: Cog) -> None: method _eject_cog (line 287) | def _eject_cog(self) -> None: method update (line 300) | def update(self, **kwargs: Any) -> None: class HelpCommand (line 306) | class HelpCommand: method __new__ (line 353) | def __new__(cls, *args: Any, **kwargs: Any) -> Self: method __init__ (line 369) | def __init__(self, **options: Any) -> None: method copy (line 379) | def copy(self) -> Self: method _add_to_bot (line 384) | def _add_to_bot(self, bot: BotBase) -> None: method _remove_from_bot (line 388) | def _remove_from_bot(self, bot: BotBase) -> None: method add_check (line 392) | def add_check(self, func: UserCheck[Context[Any]], /) -> None: method remove_check (line 412) | def remove_check(self, func: UserCheck[Context[Any]], /) -> None: method get_bot_mapping (line 433) | def get_bot_mapping(self) -> Dict[Optional[Cog], List[Command[Any, ...... method invoked_with (line 441) | def invoked_with(self) -> Optional[str]: method get_command_signature (line 461) | def get_command_signature(self, command: Command[Any, ..., Any], /) ->... method remove_mentions (line 499) | def remove_mentions(self, string: str, /) -> str: method cog (line 520) | def cog(self) -> Optional[Cog]: method cog (line 537) | def cog(self, cog: Optional[Cog]) -> None: method command_not_found (line 545) | def command_not_found(self, string: str, /) -> str: method subcommand_not_found (line 570) | def subcommand_not_found(self, command: Command[Any, ..., Any], string... method filter_commands (line 604) | async def filter_commands( method get_max_size (line 671) | def get_max_size(self, commands: Sequence[Command[Any, ..., Any]], /) ... method get_destination (line 692) | def get_destination(self) -> discord.abc.MessageableChannel: method send_error_message (line 706) | async def send_error_message(self, error: str, /) -> None: method on_help_command_error (line 735) | async def on_help_command_error(self, ctx: Context[BotT], error: Comma... method send_bot_help (line 759) | async def send_bot_help(self, mapping: Mapping[Optional[Cog], List[Com... method send_cog_help (line 792) | async def send_cog_help(self, cog: Cog, /) -> None: method send_group_help (line 824) | async def send_group_help(self, group: Group[Any, ..., Any], /) -> None: method send_command_help (line 856) | async def send_command_help(self, command: Command[Any, ..., Any], /) ... method prepare_help_command (line 898) | async def prepare_help_command(self, ctx: Context[BotT], command: Opti... method command_callback (line 926) | async def command_callback(self, ctx: Context[BotT], /, *, command: Op... class DefaultHelpCommand (line 992) | class DefaultHelpCommand(HelpCommand): method __init__ (line 1044) | def __init__(self, **options: Any) -> None: method shorten_text (line 1062) | def shorten_text(self, text: str, /) -> str: method get_ending_note (line 1073) | def get_ending_note(self) -> str: method get_command_signature (line 1081) | def get_command_signature(self, command: Command[Any, ..., Any], /) ->... method add_indented_commands (line 1109) | def add_indented_commands( method add_command_arguments (line 1150) | def add_command_arguments(self, command: Command[Any, ..., Any], /) ->... method send_pages (line 1186) | async def send_pages(self) -> None: method add_command_formatting (line 1195) | def add_command_formatting(self, command: Command[Any, ..., Any], /) -... method get_destination (line 1228) | def get_destination(self) -> discord.abc.Messageable: method prepare_help_command (line 1237) | async def prepare_help_command(self, ctx: Context[BotT], command: Opti... method send_bot_help (line 1241) | async def send_bot_help(self, mapping: Mapping[Optional[Cog], List[Com... method send_command_help (line 1271) | async def send_command_help(self, command: Command[Any, ..., Any], /) ... method send_group_help (line 1276) | async def send_group_help(self, group: Group[Any, ..., Any], /) -> None: method send_cog_help (line 1290) | async def send_cog_help(self, cog: Cog, /) -> None: class MinimalHelpCommand (line 1305) | class MinimalHelpCommand(HelpCommand): method __init__ (line 1337) | def __init__(self, **options: Any) -> None: method send_pages (line 1351) | async def send_pages(self) -> None: method get_opening_note (line 1360) | def get_opening_note(self) -> str: method get_command_signature (line 1379) | def get_command_signature(self, command: Command[Any, ..., Any], /) ->... method get_ending_note (line 1382) | def get_ending_note(self) -> str: method add_bot_commands_formatting (line 1394) | def add_bot_commands_formatting(self, commands: Sequence[Command[Any, ... method add_subcommand_formatting (line 1419) | def add_subcommand_formatting(self, command: Command[Any, ..., Any], /... method add_aliases_formatting (line 1439) | def add_aliases_formatting(self, aliases: Sequence[str], /) -> None: method add_command_formatting (line 1460) | def add_command_formatting(self, command: Command[Any, ..., Any], /) -... method get_destination (line 1491) | def get_destination(self) -> discord.abc.Messageable: method prepare_help_command (line 1500) | async def prepare_help_command(self, ctx: Context[BotT], command: Opti... method send_bot_help (line 1504) | async def send_bot_help(self, mapping: Mapping[Optional[Cog], List[Com... method send_cog_help (line 1535) | async def send_cog_help(self, cog: Cog, /) -> None: method send_group_help (line 1560) | async def send_group_help(self, group: Group[Any, ..., Any], /) -> None: method send_command_help (line 1580) | async def send_command_help(self, command: Command[Any, ..., Any], /) ... FILE: discord/ext/commands/hybrid.py class _CallableDefault (line 93) | class _CallableDefault: method __init__ (line 96) | def __init__(self, func: Callable[[Context], Any]) -> None: method __class__ (line 100) | def __class__(self) -> Any: function is_converter (line 104) | def is_converter(converter: Any) -> bool: function is_transformer (line 108) | def is_transformer(converter: Any) -> bool: function required_pos_arguments (line 114) | def required_pos_arguments(func: Callable[..., Any]) -> int: class ConverterTransformer (line 119) | class ConverterTransformer(app_commands.Transformer): method __init__ (line 120) | def __init__(self, converter: Any, parameter: Parameter) -> None: method transform (line 133) | async def transform(self, interaction: discord.Interaction, value: str... class CallableTransformer (line 152) | class CallableTransformer(app_commands.Transformer): method __init__ (line 153) | def __init__(self, func: Callable[[str], Any]) -> None: method transform (line 157) | async def transform(self, interaction: discord.Interaction, value: str... class GreedyTransformer (line 166) | class GreedyTransformer(app_commands.Transformer): method __init__ (line 167) | def __init__(self, converter: Any, parameter: Parameter) -> None: method transform (line 172) | async def transform(self, interaction: discord.Interaction, value: str... function replace_parameter (line 192) | def replace_parameter( function replace_parameters (line 269) | def replace_parameters( class HybridAppCommand (line 299) | class HybridAppCommand(discord.app_commands.Command[CogT, P, T]): method __init__ (line 302) | def __init__( method _copy_with (line 329) | def _copy_with(self, **kwargs) -> Self: method copy (line 335) | def copy(self) -> Self: method _transform_arguments (line 341) | async def _transform_arguments( method _check_can_run (line 376) | async def _check_can_run(self, interaction: discord.Interaction) -> bool: method _invoke_with_namespace (line 429) | async def _invoke_with_namespace(self, interaction: discord.Interactio... class HybridCommand (line 475) | class HybridCommand(Command[CogT, P, T]): method __init__ (line 491) | def __init__( method cog (line 519) | def cog(self) -> CogT: method cog (line 523) | def cog(self, value: CogT) -> None: method can_run (line 528) | async def can_run(self, ctx: Context[BotT], /) -> bool: method _parse_arguments (line 534) | async def _parse_arguments(self, ctx: Context[BotT]) -> None: method _ensure_assignment_on_copy (line 541) | def _ensure_assignment_on_copy(self, other: Self) -> Self: method autocomplete (line 550) | def autocomplete( class HybridGroup (line 581) | class HybridGroup(Group[CogT, P, T]): method __init__ (line 609) | def __init__( method _fallback_command (line 678) | def _fallback_command(self) -> Optional[HybridAppCommand[CogT, ..., T]]: method cog (line 684) | def cog(self) -> CogT: method cog (line 688) | def cog(self, value: CogT) -> None: method can_run (line 694) | async def can_run(self, ctx: Context[BotT], /) -> bool: method _parse_arguments (line 701) | async def _parse_arguments(self, ctx: Context[BotT]) -> None: method _ensure_assignment_on_copy (line 709) | def _ensure_assignment_on_copy(self, other: Self) -> Self: method _update_copy (line 714) | def _update_copy(self, kwargs: Dict[str, Any]) -> Self: method autocomplete (line 732) | def autocomplete( method add_command (line 768) | def add_command(self, command: Union[HybridGroup[CogT, ..., Any], Hybr... method remove_command (line 808) | def remove_command(self, name: str, /) -> Optional[Command[CogT, ..., ... method command (line 814) | def command( method group (line 838) | def group( function hybrid_command (line 863) | def hybrid_command( function hybrid_group (line 914) | def hybrid_group( FILE: discord/ext/commands/parameters.py function _gen_property (line 73) | def _gen_property(name: str) -> property: class Parameter (line 82) | class Parameter(inspect.Parameter): method __init__ (line 92) | def __init__( method replace (line 112) | def replace( method required (line 155) | def required(self) -> bool: method converter (line 160) | def converter(self) -> Any: method description (line 168) | def description(self) -> Optional[str]: method displayed_default (line 173) | def displayed_default(self) -> Optional[str]: method displayed_name (line 187) | def displayed_name(self) -> Optional[str]: method get_default (line 194) | async def get_default(self, ctx: Context[Any]) -> Any: function parameter (line 210) | def parameter( class ParameterAlias (line 261) | class ParameterAlias(Protocol): method __call__ (line 262) | def __call__( function default_guild (line 298) | def default_guild(ctx: Context[Any]) -> Guild: class Signature (line 312) | class Signature(inspect.Signature): FILE: discord/ext/commands/view.py class StringView (line 54) | class StringView: method __init__ (line 55) | def __init__(self, buffer: str) -> None: method current (line 62) | def current(self) -> Optional[str]: method eof (line 66) | def eof(self) -> bool: method undo (line 69) | def undo(self) -> None: method skip_ws (line 72) | def skip_ws(self) -> bool: method skip_string (line 87) | def skip_string(self, string: str) -> bool: method read_rest (line 95) | def read_rest(self) -> str: method read (line 101) | def read(self, n: int) -> str: method get (line 107) | def get(self) -> Optional[str]: method get_word (line 117) | def get_word(self) -> str: method get_quoted_word (line 132) | def get_quoted_word(self) -> Optional[str]: method __repr__ (line 195) | def __repr__(self) -> str: FILE: discord/ext/tasks/__init__.py function is_ambiguous (line 65) | def is_ambiguous(dt: datetime.datetime) -> bool: function is_imaginary (line 78) | def is_imaginary(dt: datetime.datetime) -> bool: function resolve_datetime (line 89) | def resolve_datetime(dt: datetime.datetime) -> datetime.datetime: class SleepHandle (line 107) | class SleepHandle: method __init__ (line 110) | def __init__(self, dt: datetime.datetime, *, loop: asyncio.AbstractEve... method recalculate (line 116) | def recalculate(self, dt: datetime.datetime) -> None: method wait (line 121) | def wait(self) -> asyncio.Future[Any]: method done (line 124) | def done(self) -> bool: method cancel (line 127) | def cancel(self) -> None: class Loop (line 132) | class Loop(Generic[LF]): method __init__ (line 138) | def __init__( method _call_loop_function (line 182) | async def _call_loop_function(self, name: str, *args: Any, **kwargs: A... method _try_sleep_until (line 192) | def _try_sleep_until(self, dt: datetime.datetime): method _is_relative_time (line 196) | def _is_relative_time(self) -> bool: method _is_explicit_time (line 199) | def _is_explicit_time(self) -> bool: method _loop (line 202) | async def _loop(self, *args: Any, **kwargs: Any) -> None: method __get__ (line 275) | def __get__(self, obj: T, objtype: Type[T]) -> Loop[LF]: method seconds (line 297) | def seconds(self) -> Optional[float]: method minutes (line 307) | def minutes(self) -> Optional[float]: method hours (line 317) | def hours(self) -> Optional[float]: method time (line 327) | def time(self) -> Optional[List[datetime.time]]: method current_loop (line 337) | def current_loop(self) -> int: method next_iteration (line 342) | def next_iteration(self) -> Optional[datetime.datetime]: method __call__ (line 353) | async def __call__(self, *args: Any, **kwargs: Any) -> Any: method start (line 373) | def start(self, *args: Any, **kwargs: Any) -> asyncio.Task[None]: method stop (line 404) | def stop(self) -> None: method _can_be_cancelled (line 428) | def _can_be_cancelled(self) -> bool: method cancel (line 431) | def cancel(self) -> None: method restart (line 436) | def restart(self, *args: Any, **kwargs: Any) -> None: method add_exception_type (line 461) | def add_exception_type(self, *exceptions: Type[BaseException]) -> None: method clear_exception_types (line 490) | def clear_exception_types(self) -> None: method remove_exception_type (line 499) | def remove_exception_type(self, *exceptions: Type[BaseException]) -> b... method get_task (line 516) | def get_task(self) -> Optional[asyncio.Task[None]]: method is_being_cancelled (line 520) | def is_being_cancelled(self) -> bool: method failed (line 524) | def failed(self) -> bool: method is_running (line 531) | def is_running(self) -> bool: method _error (line 538) | async def _error(self, *args: Any) -> None: method before_loop (line 542) | def before_loop(self, coro: FT) -> FT: method after_loop (line 570) | def after_loop(self, coro: FT) -> FT: method error (line 598) | def error(self, coro: ET) -> ET: method _get_next_sleep_time (line 628) | def _get_next_sleep_time(self, now: datetime.datetime = MISSING) -> da... method _start_time_relative_to (line 648) | def _start_time_relative_to(self, now: datetime.datetime) -> Optional[... method _get_time_parameter (line 673) | def _get_time_parameter( method change_interval (line 701) | def change_interval( function loop (line 768) | def loop( FILE: discord/file.py function _strip_spoiler (line 40) | def _strip_spoiler(filename: str) -> Tuple[str, bool]: class File (line 48) | class File: method __init__ (line 82) | def __init__( method filename (line 122) | def filename(self) -> str: method filename (line 130) | def filename(self, value: str) -> None: method reset (line 133) | def reset(self, *, seek: Union[int, bool] = True) -> None: method close (line 145) | def close(self) -> None: method to_dict (line 150) | def to_dict(self, index: int) -> Dict[str, Any]: FILE: discord/flags.py class flag_value (line 71) | class flag_value: method __init__ (line 72) | def __init__(self, func: Callable[[Any], int]): method __get__ (line 77) | def __get__(self, instance: None, owner: Type[BF]) -> Self: method __get__ (line 81) | def __get__(self, instance: BF, owner: Type[BF]) -> bool: method __get__ (line 84) | def __get__(self, instance: Optional[BF], owner: Type[BF]) -> Any: method __set__ (line 89) | def __set__(self, instance: BaseFlags, value: bool) -> None: method __repr__ (line 92) | def __repr__(self) -> str: class alias_flag_value (line 96) | class alias_flag_value(flag_value): function fill_with_flags (line 100) | def fill_with_flags(*, inverted: bool = False) -> Callable[[Type[BF]], T... class BaseFlags (line 122) | class BaseFlags: method __init__ (line 130) | def __init__(self, **kwargs: bool): method _from_value (line 138) | def _from_value(cls, value): method __or__ (line 143) | def __or__(self, other: Self) -> Self: method __and__ (line 146) | def __and__(self, other: Self) -> Self: method __xor__ (line 149) | def __xor__(self, other: Self) -> Self: method __ior__ (line 152) | def __ior__(self, other: Self) -> Self: method __iand__ (line 156) | def __iand__(self, other: Self) -> Self: method __ixor__ (line 160) | def __ixor__(self, other: Self) -> Self: method __invert__ (line 164) | def __invert__(self) -> Self: method __bool__ (line 169) | def __bool__(self) -> bool: method __eq__ (line 172) | def __eq__(self, other: object) -> bool: method __ne__ (line 175) | def __ne__(self, other: object) -> bool: method __hash__ (line 178) | def __hash__(self) -> int: method __repr__ (line 181) | def __repr__(self) -> str: method __iter__ (line 184) | def __iter__(self) -> Iterator[Tuple[str, bool]]: method _has_flag (line 192) | def _has_flag(self, o: int) -> bool: method _set_flag (line 195) | def _set_flag(self, o: int, toggle: bool) -> None: class SystemChannelFlags (line 205) | class SystemChannelFlags(BaseFlags): method _has_flag (line 282) | def _has_flag(self, o: int) -> bool: method _set_flag (line 285) | def _set_flag(self, o: int, toggle: bool) -> None: method join_notifications (line 294) | def join_notifications(self): method premium_subscriptions (line 299) | def premium_subscriptions(self): method guild_reminder_notifications (line 304) | def guild_reminder_notifications(self): method join_notification_replies (line 312) | def join_notification_replies(self): method role_subscription_purchase_notifications (line 321) | def role_subscription_purchase_notifications(self): method role_subscription_purchase_notification_replies (line 330) | def role_subscription_purchase_notification_replies(self): class MessageFlags (line 340) | class MessageFlags(BaseFlags): method crossposted (line 408) | def crossposted(self): method is_crossposted (line 413) | def is_crossposted(self): method suppress_embeds (line 418) | def suppress_embeds(self): method source_message_deleted (line 423) | def source_message_deleted(self): method urgent (line 428) | def urgent(self): method has_thread (line 436) | def has_thread(self): method ephemeral (line 444) | def ephemeral(self): method loading (line 452) | def loading(self): method failed_to_mention_some_roles_in_thread (line 461) | def failed_to_mention_some_roles_in_thread(self): method suppress_notifications (line 470) | def suppress_notifications(self): method silent (line 478) | def silent(self): method voice (line 486) | def voice(self): class PublicUserFlags (line 495) | class PublicUserFlags(BaseFlags): method staff (line 562) | def staff(self): method partner (line 567) | def partner(self): method hypesquad (line 572) | def hypesquad(self): method bug_hunter (line 577) | def bug_hunter(self): method hypesquad_bravery (line 582) | def hypesquad_bravery(self): method hypesquad_brilliance (line 587) | def hypesquad_brilliance(self): method hypesquad_balance (line 592) | def hypesquad_balance(self): method early_supporter (line 597) | def early_supporter(self): method team_user (line 602) | def team_user(self): method system (line 607) | def system(self): method bug_hunter_level_2 (line 612) | def bug_hunter_level_2(self): method verified_bot (line 617) | def verified_bot(self): method verified_bot_developer (line 622) | def verified_bot_developer(self): method early_verified_bot_developer (line 627) | def early_verified_bot_developer(self): method discord_certified_moderator (line 635) | def discord_certified_moderator(self): method bot_http_interactions (line 643) | def bot_http_interactions(self): method spammer (line 652) | def spammer(self): method active_developer (line 660) | def active_developer(self): method all (line 667) | def all(self) -> List[UserFlags]: class Intents (line 673) | class Intents(BaseFlags): method __init__ (line 748) | def __init__(self, value: int = 0, **kwargs: bool) -> None: method all (line 756) | def all(cls: Type[Intents]) -> Intents: method none (line 764) | def none(cls: Type[Intents]) -> Intents: method default (line 771) | def default(cls: Type[Intents]) -> Intents: method guilds (line 782) | def guilds(self): method members (line 812) | def members(self): method moderation (line 850) | def moderation(self): method bans (line 864) | def bans(self): method emojis (line 873) | def emojis(self): method emojis_and_stickers (line 882) | def emojis_and_stickers(self): method integrations (line 906) | def integrations(self): method webhooks (line 921) | def webhooks(self): method invites (line 933) | def invites(self): method voice_states (line 946) | def voice_states(self): method presences (line 966) | def presences(self): method messages (line 989) | def messages(self): method guild_messages (line 1016) | def guild_messages(self): method dm_messages (line 1043) | def dm_messages(self): method reactions (line 1070) | def reactions(self): method guild_reactions (line 1091) | def guild_reactions(self): method dm_reactions (line 1112) | def dm_reactions(self): method typing (line 1133) | def typing(self): method guild_typing (line 1147) | def guild_typing(self): method dm_typing (line 1161) | def dm_typing(self): method message_content (line 1175) | def message_content(self): method guild_scheduled_events (line 1202) | def guild_scheduled_events(self): method auto_moderation (line 1218) | def auto_moderation(self): method auto_moderation_configuration (line 1236) | def auto_moderation_configuration(self): method auto_moderation_execution (line 1250) | def auto_moderation_execution(self): method polls (line 1261) | def polls(self): method guild_polls (line 1278) | def guild_polls(self): method dm_polls (line 1295) | def dm_polls(self): class MemberCacheFlags (line 1313) | class MemberCacheFlags(BaseFlags): method __init__ (line 1391) | def __init__(self, **kwargs: bool): method all (line 1400) | def all(cls: Type[MemberCacheFlags]) -> MemberCacheFlags: method none (line 1409) | def none(cls: Type[MemberCacheFlags]) -> MemberCacheFlags: method _empty (line 1416) | def _empty(self): method voice (line 1420) | def voice(self): method joined (line 1430) | def joined(self): method from_intents (line 1441) | def from_intents(cls: Type[MemberCacheFlags], intents: Intents) -> Mem... method _verify_intents (line 1464) | def _verify_intents(self, intents: Intents): method _voice_only (line 1472) | def _voice_only(self): class ApplicationFlags (line 1477) | class ApplicationFlags(BaseFlags): method auto_mod_badge (line 1539) | def auto_mod_badge(self): method gateway_presence (line 1548) | def gateway_presence(self): method gateway_presence_limited (line 1555) | def gateway_presence_limited(self): method gateway_guild_members (line 1562) | def gateway_guild_members(self): method gateway_guild_members_limited (line 1569) | def gateway_guild_members_limited(self): method verification_pending_guild_limit (line 1576) | def verification_pending_guild_limit(self): method embedded (line 1583) | def embedded(self): method gateway_message_content (line 1588) | def gateway_message_content(self): method gateway_message_content_limited (line 1594) | def gateway_message_content_limited(self): method app_commands_badge (line 1600) | def app_commands_badge(self): method active (line 1606) | def active(self): class ChannelFlags (line 1616) | class ChannelFlags(BaseFlags): method pinned (line 1678) | def pinned(self): method require_tag (line 1683) | def require_tag(self): method hide_media_download_options (line 1692) | def hide_media_download_options(self): class ArrayFlags (line 1701) | class ArrayFlags(BaseFlags): method _from_value (line 1703) | def _from_value(cls: Type[Self], value: Sequence[int]) -> Self: method to_array (line 1716) | def to_array(self, *, offset: int = 0) -> List[int]: method all (line 1720) | def all(cls: Type[Self]) -> Self: method none (line 1729) | def none(cls: Type[Self]) -> Self: class AutoModPresets (line 1737) | class AutoModPresets(ArrayFlags): method to_array (line 1800) | def to_array(self) -> List[int]: method profanity (line 1804) | def profanity(self): method sexual_content (line 1809) | def sexual_content(self): method slurs (line 1814) | def slurs(self): class AppCommandContext (line 1820) | class AppCommandContext(ArrayFlags): method guild (line 1877) | def guild(self): method dm_channel (line 1882) | def dm_channel(self): method private_channel (line 1887) | def private_channel(self): class AppInstallationType (line 1893) | class AppInstallationType(ArrayFlags): method guild (line 1948) | def guild(self): method user (line 1953) | def user(self): class MemberFlags (line 1959) | class MemberFlags(BaseFlags): method did_rejoin (line 2016) | def did_rejoin(self): method completed_onboarding (line 2021) | def completed_onboarding(self): method bypasses_verification (line 2026) | def bypasses_verification(self): method started_onboarding (line 2031) | def started_onboarding(self): class AttachmentFlags (line 2037) | class AttachmentFlags(BaseFlags): method clip (line 2094) | def clip(self): method thumbnail (line 2099) | def thumbnail(self): method remix (line 2104) | def remix(self): class RoleFlags (line 2110) | class RoleFlags(BaseFlags): method in_prompt (line 2167) | def in_prompt(self): class SKUFlags (line 2173) | class SKUFlags(BaseFlags): method available (line 2230) | def available(self): method guild_subscription (line 2235) | def guild_subscription(self): method user_subscription (line 2240) | def user_subscription(self): FILE: discord/gateway.py class ReconnectWebSocket (line 65) | class ReconnectWebSocket(Exception): method __init__ (line 68) | def __init__(self, shard_id: Optional[int], *, resume: bool = True) ->... class WebSocketClosure (line 74) | class WebSocketClosure(Exception): class EventListener (line 80) | class EventListener(NamedTuple): class GatewayRatelimiter (line 87) | class GatewayRatelimiter: method __init__ (line 88) | def __init__(self, count: int = 110, per: float = 60.0) -> None: method is_ratelimited (line 97) | def is_ratelimited(self) -> bool: method get_delay (line 103) | def get_delay(self) -> float: method block (line 118) | async def block(self) -> None: class KeepAliveHandler (line 126) | class KeepAliveHandler(threading.Thread): method __init__ (line 127) | def __init__( method run (line 152) | def run(self) -> None: method get_payload (line 194) | def get_payload(self) -> Dict[str, Any]: method stop (line 200) | def stop(self) -> None: method tick (line 203) | def tick(self) -> None: method ack (line 206) | def ack(self) -> None: class VoiceKeepAliveHandler (line 214) | class VoiceKeepAliveHandler(KeepAliveHandler): method __init__ (line 215) | def __init__(self, *args: Any, **kwargs: Any) -> None: method get_payload (line 223) | def get_payload(self) -> Dict[str, Any]: method ack (line 229) | def ack(self) -> None: class DiscordClientWebSocketResponse (line 237) | class DiscordClientWebSocketResponse(aiohttp.ClientWebSocketResponse): method close (line 238) | async def close(self, *, code: int = 4000, message: bytes = b'') -> bool: class DiscordWebSocket (line 245) | class DiscordWebSocket: method __init__ (line 313) | def __init__(self, socket: aiohttp.ClientWebSocketResponse, *, loop: a... method open (line 334) | def open(self) -> bool: method is_ratelimited (line 337) | def is_ratelimited(self) -> bool: method debug_log_receive (line 340) | def debug_log_receive(self, data: Dict[str, Any], /) -> None: method log_receive (line 343) | def log_receive(self, _: Dict[str, Any], /) -> None: method from_client (line 347) | async def from_client( method wait_for (line 410) | def wait_for( method identify (line 440) | async def identify(self) -> None: method resume (line 475) | async def resume(self) -> None: method received_message (line 489) | async def received_message(self, msg: Any, /) -> None: method latency (line 603) | def latency(self) -> float: method _can_handle_close (line 608) | def _can_handle_close(self) -> bool: method poll_event (line 612) | async def poll_event(self) -> None: method debug_send (line 650) | async def debug_send(self, data: str, /) -> None: method send (line 655) | async def send(self, data: str, /) -> None: method send_as_json (line 659) | async def send_as_json(self, data: Any) -> None: method send_heartbeat (line 666) | async def send_heartbeat(self, data: Any) -> None: method change_presence (line 674) | async def change_presence( method request_chunks (line 705) | async def request_chunks( method voice_state (line 735) | async def voice_state( method close (line 755) | async def close(self, code: int = 4000) -> None: class DiscordVoiceWebSocket (line 767) | class DiscordVoiceWebSocket: method __init__ (line 819) | def __init__( method _hook (line 834) | async def _hook(self, *args: Any) -> None: method send_as_json (line 837) | async def send_as_json(self, data: Any) -> None: method resume (line 843) | async def resume(self) -> None: method identify (line 855) | async def identify(self) -> None: method from_connection_state (line 869) | async def from_connection_state( method select_protocol (line 894) | async def select_protocol(self, ip: str, port: int, mode: int) -> None: method client_connect (line 909) | async def client_connect(self) -> None: method speak (line 919) | async def speak(self, state: SpeakingState = SpeakingState.voice) -> N... method received_message (line 931) | async def received_message(self, msg: Dict[str, Any]) -> None: method initial_connection (line 953) | async def initial_connection(self, data: Dict[str, Any]) -> None: method discover_ip (line 971) | async def discover_ip(self) -> Tuple[str, int]: method latency (line 1004) | def latency(self) -> float: method average_latency (line 1010) | def average_latency(self) -> float: method load_secret_key (line 1018) | async def load_secret_key(self, data: Dict[str, Any]) -> None: method poll_event (line 1027) | async def poll_event(self) -> None: method close (line 1039) | async def close(self, code: int = 1000) -> None: FILE: discord/guild.py class BanEntry (line 145) | class BanEntry(NamedTuple): class BulkBanResult (line 150) | class BulkBanResult(NamedTuple): class _GuildLimit (line 155) | class _GuildLimit(NamedTuple): class Guild (line 162) | class Guild(Hashable): method __init__ (line 341) | def __init__(self, *, data: GuildPayload, state: ConnectionState) -> N... method _add_channel (line 352) | def _add_channel(self, channel: GuildChannel, /) -> None: method _remove_channel (line 355) | def _remove_channel(self, channel: Snowflake, /) -> None: method _voice_state_for (line 358) | def _voice_state_for(self, user_id: int, /) -> Optional[VoiceState]: method _add_member (line 361) | def _add_member(self, member: Member, /) -> None: method _store_thread (line 364) | def _store_thread(self, payload: ThreadPayload, /) -> Thread: method _remove_member (line 369) | def _remove_member(self, member: Snowflake, /) -> None: method _add_thread (line 372) | def _add_thread(self, thread: Thread, /) -> None: method _remove_thread (line 375) | def _remove_thread(self, thread: Snowflake, /) -> None: method _clear_threads (line 378) | def _clear_threads(self) -> None: method _remove_threads_by_channel (line 381) | def _remove_threads_by_channel(self, channel_id: int) -> List[Thread]: method _filter_threads (line 387) | def _filter_threads(self, channel_ids: Set[int]) -> Dict[int, Thread]: method __str__ (line 393) | def __str__(self) -> str: method __repr__ (line 396) | def __repr__(self) -> str: method _update_voice_state (line 407) | def _update_voice_state(self, data: GuildVoiceState, channel_id: int) ... method _add_role (line 434) | def _add_role(self, role: Role, /) -> None: method _remove_role (line 437) | def _remove_role(self, role_id: int, /) -> Role: method _create_unavailable (line 442) | def _create_unavailable(cls, *, state: ConnectionState, guild_id: int,... method _from_data (line 448) | def _from_data(self, guild: GuildPayload) -> None: method channels (line 551) | def channels(self) -> Sequence[GuildChannel]: method threads (line 556) | def threads(self) -> Sequence[Thread]: method large (line 564) | def large(self) -> bool: method voice_channels (line 577) | def voice_channels(self) -> List[VoiceChannel]: method stage_channels (line 587) | def stage_channels(self) -> List[StageChannel]: method me (line 599) | def me(self) -> Member: method voice_client (line 608) | def voice_client(self) -> Optional[VoiceProtocol]: method text_channels (line 613) | def text_channels(self) -> List[TextChannel]: method categories (line 623) | def categories(self) -> List[CategoryChannel]: method forums (line 633) | def forums(self) -> List[ForumChannel]: method by_category (line 642) | def by_category(self) -> List[ByCategoryItem]: method _resolve_channel (line 677) | def _resolve_channel(self, id: Optional[int], /) -> Optional[Union[Gui... method get_channel_or_thread (line 683) | def get_channel_or_thread(self, channel_id: int, /) -> Optional[Union[... method get_channel (line 700) | def get_channel(self, channel_id: int, /) -> Optional[GuildChannel]: method get_thread (line 723) | def get_thread(self, thread_id: int, /) -> Optional[Thread]: method get_emoji (line 745) | def get_emoji(self, emoji_id: int, /) -> Optional[Emoji]: method afk_channel (line 766) | def afk_channel(self) -> Optional[VocalGuildChannel]: method system_channel (line 774) | def system_channel(self) -> Optional[TextChannel]: method system_channel_flags (line 783) | def system_channel_flags(self) -> SystemChannelFlags: method rules_channel (line 788) | def rules_channel(self) -> Optional[TextChannel]: method public_updates_channel (line 800) | def public_updates_channel(self) -> Optional[TextChannel]: method safety_alerts_channel (line 813) | def safety_alerts_channel(self) -> Optional[TextChannel]: method widget_channel (line 824) | def widget_channel(self) -> Optional[Union[TextChannel, ForumChannel, ... method emoji_limit (line 836) | def emoji_limit(self) -> int: method sticker_limit (line 842) | def sticker_limit(self) -> int: method bitrate_limit (line 851) | def bitrate_limit(self) -> float: method filesize_limit (line 857) | def filesize_limit(self) -> int: method members (line 862) | def members(self) -> Sequence[Member]: method get_member (line 866) | def get_member(self, user_id: int, /) -> Optional[Member]: method premium_subscribers (line 886) | def premium_subscribers(self) -> List[Member]: method roles (line 891) | def roles(self) -> Sequence[Role]: method get_role (line 899) | def get_role(self, role_id: int, /) -> Optional[Role]: method default_role (line 919) | def default_role(self) -> Role: method premium_subscriber_role (line 925) | def premium_subscriber_role(self) -> Optional[Role]: method self_role (line 936) | def self_role(self) -> Optional[Role]: method stage_instances (line 949) | def stage_instances(self) -> Sequence[StageInstance]: method get_stage_instance (line 957) | def get_stage_instance(self, stage_instance_id: int, /) -> Optional[St... method scheduled_events (line 975) | def scheduled_events(self) -> Sequence[ScheduledEvent]: method get_scheduled_event (line 982) | def get_scheduled_event(self, scheduled_event_id: int, /) -> Optional[... method owner (line 1000) | def owner(self) -> Optional[Member]: method icon (line 1005) | def icon(self) -> Optional[Asset]: method banner (line 1012) | def banner(self) -> Optional[Asset]: method splash (line 1019) | def splash(self) -> Optional[Asset]: method discovery_splash (line 1026) | def discovery_splash(self) -> Optional[Asset]: method member_count (line 1033) | def member_count(self) -> Optional[int]: method chunked (line 1048) | def chunked(self) -> bool: method shard_id (line 1063) | def shard_id(self) -> int: method created_at (line 1071) | def created_at(self) -> datetime.datetime: method get_member_named (line 1075) | def get_member_named(self, name: str, /) -> Optional[Member]: method _create_channel (line 1125) | def _create_channel( method _create_channel (line 1136) | def _create_channel( method _create_channel (line 1147) | def _create_channel( method _create_channel (line 1158) | def _create_channel( method _create_channel (line 1169) | def _create_channel( method _create_channel (line 1180) | def _create_channel( method _create_channel (line 1191) | def _create_channel( method _create_channel (line 1202) | def _create_channel( method _create_channel (line 1212) | def _create_channel( method create_text_channel (line 1245) | async def create_text_channel( method create_voice_channel (line 1387) | async def create_voice_channel( method create_stage_channel (line 1480) | async def create_stage_channel( method create_category (line 1580) | async def create_category( method create_forum (line 1630) | async def create_forum( method leave (line 1779) | async def leave(self) -> None: method delete (line 1796) | async def delete(self) -> None: method edit (line 1812) | async def edit( method fetch_channels (line 2198) | async def fetch_channels(self) -> Sequence[GuildChannel]: method active_threads (line 2233) | async def active_threads(self) -> List[Thread]: method fetch_members (line 2262) | async def fetch_members(self, *, limit: Optional[int] = 1000, after: S... method fetch_member (line 2333) | async def fetch_member(self, member_id: int, /) -> Member: method fetch_ban (line 2368) | async def fetch_ban(self, user: Snowflake) -> BanEntry: method fetch_channel (line 2397) | async def fetch_channel(self, channel_id: int, /) -> Union[GuildChanne... method bans (line 2442) | async def bans( method prune_members (line 2547) | async def prune_members( method templates (line 2620) | async def templates(self) -> List[Template]: method webhooks (line 2644) | async def webhooks(self) -> List[Webhook]: method estimate_pruned_members (line 2667) | async def estimate_pruned_members(self, *, days: int, roles: Collectio... method invites (line 2717) | async def invites(self) -> List[Invite]: method create_template (line 2745) | async def create_template(self, *, name: str, description: str = MISSI... method create_integration (line 2772) | async def create_integration(self, *, type: IntegrationType, id: int) ... method integrations (line 2797) | async def integrations(self) -> List[Integration]: method fetch_stickers (line 2828) | async def fetch_stickers(self) -> List[GuildSticker]: method fetch_sticker (line 2852) | async def fetch_sticker(self, sticker_id: int, /) -> GuildSticker: method create_sticker (line 2884) | async def create_sticker( method delete_sticker (line 2947) | async def delete_sticker(self, sticker: Snowflake, /, *, reason: Optio... method fetch_scheduled_events (line 2972) | async def fetch_scheduled_events(self, *, with_counts: bool = True) ->... method fetch_scheduled_event (line 2998) | async def fetch_scheduled_event(self, scheduled_event_id: int, /, *, w... method create_scheduled_event (line 3029) | async def create_scheduled_event( method create_scheduled_event (line 3045) | async def create_scheduled_event( method create_scheduled_event (line 3061) | async def create_scheduled_event( method create_scheduled_event (line 3076) | async def create_scheduled_event( method create_scheduled_event (line 3090) | async def create_scheduled_event( method fetch_emojis (line 3249) | async def fetch_emojis(self) -> List[Emoji]: method fetch_emoji (line 3271) | async def fetch_emoji(self, emoji_id: int, /) -> Emoji: method create_custom_emoji (line 3305) | async def create_custom_emoji( method delete_emoji (line 3359) | async def delete_emoji(self, emoji: Snowflake, /, *, reason: Optional[... method fetch_roles (line 3387) | async def fetch_roles(self) -> List[Role]: method create_role (line 3412) | async def create_role( method create_role (line 3426) | async def create_role( method create_role (line 3439) | async def create_role( method edit_role_positions (line 3538) | async def edit_role_positions(self, positions: Mapping[Snowflake, int]... method welcome_screen (line 3604) | async def welcome_screen(self) -> WelcomeScreen: method edit_welcome_screen (line 3630) | async def edit_welcome_screen( method kick (line 3673) | async def kick(self, user: Snowflake, *, reason: Optional[str] = None)... method ban (line 3698) | async def ban( method unban (line 3759) | async def unban(self, user: Snowflake, *, reason: Optional[str] = None... method bulk_ban (line 3786) | async def bulk_ban( method vanity_url (line 3839) | def vanity_url(self) -> Optional[str]: method vanity_invite (line 3848) | async def vanity_invite(self) -> Optional[Invite]: method audit_logs (line 3888) | async def audit_logs( method widget (line 4068) | async def widget(self) -> Widget: method edit_widget (line 4093) | async def edit_widget( method chunk (line 4133) | async def chunk(self, *, cache: bool = True) -> List[Member]: method query_members (line 4167) | async def query_members( method change_voice_state (line 4240) | async def change_voice_state( method fetch_automod_rule (line 4262) | async def fetch_automod_rule(self, automod_rule_id: int, /) -> AutoMod... method fetch_automod_rules (line 4291) | async def fetch_automod_rules(self) -> List[AutoModRule]: method create_automod_rule (line 4316) | async def create_automod_rule( method invites_paused_until (line 4384) | def invites_paused_until(self) -> Optional[datetime.datetime]: method dms_paused_until (line 4396) | def dms_paused_until(self) -> Optional[datetime.datetime]: method invites_paused (line 4407) | def invites_paused(self) -> bool: method dms_paused (line 4417) | def dms_paused(self) -> bool: FILE: discord/http.py function json_or_text (line 106) | async def json_or_text(response: aiohttp.ClientResponse) -> Union[Dict[s... class MultipartParameters (line 118) | class MultipartParameters(NamedTuple): method __enter__ (line 123) | def __enter__(self) -> Self: method __exit__ (line 126) | def __exit__( function handle_message_parameters (line 137) | def handle_message_parameters( function _set_api_version (line 285) | def _set_api_version(value: int): class Route (line 298) | class Route: method __init__ (line 301) | def __init__(self, method: str, path: str, *, metadata: Optional[str] ... method key (line 319) | def key(self) -> str: method major_parameters (line 326) | def major_parameters(self) -> str: class Ratelimit (line 336) | class Ratelimit: method __init__ (line 359) | def __init__(self, max_ratelimit_timeout: Optional[float]) -> None: method __repr__ (line 375) | def __repr__(self) -> str: method reset (line 380) | def reset(self): method update (line 386) | def update(self, response: aiohttp.ClientResponse, *, use_clock: bool ... method _wake_next (line 407) | def _wake_next(self) -> None: method _wake (line 414) | def _wake(self, count: int = 1, *, exception: Optional[RateLimited] = ... method _refresh (line 428) | async def _refresh(self) -> None: method is_expired (line 438) | def is_expired(self) -> bool: method is_inactive (line 441) | def is_inactive(self) -> bool: method acquire (line 445) | async def acquire(self) -> None: method __aenter__ (line 470) | async def __aenter__(self) -> Self: method __aexit__ (line 474) | async def __aexit__(self, type: Type[BE], value: BE, traceback: Traceb... class HTTPClient (line 496) | class HTTPClient: method __init__ (line 499) | def __init__( method clear (line 533) | def clear(self) -> None: method ws_connect (line 537) | async def ws_connect(self, url: str, *, compress: int = 0) -> aiohttp.... method _try_clear_expired_ratelimits (line 552) | def _try_clear_expired_ratelimits(self) -> None: method get_ratelimit (line 560) | def get_ratelimit(self, key: str) -> Ratelimit: method request (line 568) | async def request( method get_from_cdn (line 777) | async def get_from_cdn(self, url: str) -> bytes: method close (line 792) | async def close(self) -> None: method static_login (line 798) | async def static_login(self, token: str) -> user.User: method logout (line 825) | def logout(self) -> Response[None]: method start_group (line 830) | def start_group(self, user_id: Snowflake, recipients: List[int]) -> Re... method leave_group (line 837) | def leave_group(self, channel_id: Snowflake) -> Response[None]: method start_private_message (line 842) | def start_private_message(self, user_id: Snowflake) -> Response[channe... method send_message (line 849) | def send_message( method send_typing (line 861) | def send_typing(self, channel_id: Snowflake) -> Response[None]: method delete_message (line 864) | def delete_message( method delete_messages (line 885) | def delete_messages( method edit_message (line 895) | def edit_message( method add_reaction (line 904) | def add_reaction(self, channel_id: Snowflake, message_id: Snowflake, e... method remove_reaction (line 914) | def remove_reaction( method remove_own_reaction (line 927) | def remove_own_reaction(self, channel_id: Snowflake, message_id: Snowf... method get_reaction_users (line 937) | def get_reaction_users( method clear_reactions (line 965) | def clear_reactions(self, channel_id: Snowflake, message_id: Snowflake... method clear_single_reaction (line 975) | def clear_single_reaction(self, channel_id: Snowflake, message_id: Sno... method get_message (line 985) | def get_message(self, channel_id: Snowflake, message_id: Snowflake) ->... method get_channel (line 989) | def get_channel(self, channel_id: Snowflake) -> Response[channel.Chann... method logs_from (line 993) | def logs_from( method publish_message (line 1014) | def publish_message(self, channel_id: Snowflake, message_id: Snowflake... method pin_message (line 1024) | def pin_message(self, channel_id: Snowflake, message_id: Snowflake, re... method unpin_message (line 1033) | def unpin_message(self, channel_id: Snowflake, message_id: Snowflake, ... method pins_from (line 1042) | def pins_from(self, channel_id: Snowflake) -> Response[List[message.Me... method kick (line 1047) | def kick(self, user_id: Snowflake, guild_id: Snowflake, reason: Option... method ban (line 1051) | def ban( method unban (line 1065) | def unban(self, user_id: Snowflake, guild_id: Snowflake, *, reason: Op... method bulk_ban (line 1069) | def bulk_ban( method guild_voice_state (line 1083) | def guild_voice_state( method edit_profile (line 1102) | def edit_profile(self, payload: Dict[str, Any]) -> Response[user.User]: method change_my_nickname (line 1105) | def change_my_nickname( method change_nickname (line 1118) | def change_nickname( method edit_my_voice_state (line 1132) | def edit_my_voice_state(self, guild_id: Snowflake, payload: Dict[str, ... method edit_voice_state (line 1136) | def edit_voice_state(self, guild_id: Snowflake, user_id: Snowflake, pa... method edit_member (line 1140) | def edit_member( method edit_channel (line 1153) | def edit_channel( method edit_voice_channel_status (line 1191) | def edit_voice_channel_status( method bulk_channel_update (line 1198) | def bulk_channel_update( method create_channel (line 1208) | def create_channel( method delete_channel (line 1243) | def delete_channel( method start_thread_with_message (line 1253) | def start_thread_with_message( method start_thread_without_message (line 1274) | def start_thread_without_message( method start_thread_in_forum (line 1296) | def start_thread_in_forum( method join_thread (line 1310) | def join_thread(self, channel_id: Snowflake) -> Response[None]: method add_user_to_thread (line 1313) | def add_user_to_thread(self, channel_id: Snowflake, user_id: Snowflake... method leave_thread (line 1318) | def leave_thread(self, channel_id: Snowflake) -> Response[None]: method remove_user_from_thread (line 1321) | def remove_user_from_thread(self, channel_id: Snowflake, user_id: Snow... method get_public_archived_threads (line 1325) | def get_public_archived_threads( method get_private_archived_threads (line 1336) | def get_private_archived_threads( method get_joined_private_archived_threads (line 1347) | def get_joined_private_archived_threads( method get_active_threads (line 1357) | def get_active_threads(self, guild_id: Snowflake) -> Response[threads.... method get_thread_member (line 1361) | def get_thread_member(self, channel_id: Snowflake, user_id: Snowflake)... method get_thread_members (line 1365) | def get_thread_members(self, channel_id: Snowflake) -> Response[List[t... method create_webhook (line 1371) | def create_webhook( method channel_webhooks (line 1388) | def channel_webhooks(self, channel_id: Snowflake) -> Response[List[web... method guild_webhooks (line 1391) | def guild_webhooks(self, guild_id: Snowflake) -> Response[List[webhook... method get_webhook (line 1394) | def get_webhook(self, webhook_id: Snowflake) -> Response[webhook.Webho... method follow_webhook (line 1397) | def follow_webhook( method get_guilds (line 1412) | def get_guilds( method leave_guild (line 1431) | def leave_guild(self, guild_id: Snowflake) -> Response[None]: method get_guild (line 1434) | def get_guild(self, guild_id: Snowflake, *, with_counts: bool = True) ... method delete_guild (line 1438) | def delete_guild(self, guild_id: Snowflake) -> Response[None]: method create_guild (line 1441) | def create_guild(self, name: str, icon: Optional[str]) -> Response[gui... method edit_guild (line 1450) | def edit_guild(self, guild_id: Snowflake, *, reason: Optional[str] = N... method edit_guild_mfa_level (line 1479) | def edit_guild_mfa_level( method get_template (line 1485) | def get_template(self, code: str) -> Response[template.Template]: method guild_templates (line 1488) | def guild_templates(self, guild_id: Snowflake) -> Response[List[templa... method create_template (line 1491) | def create_template(self, guild_id: Snowflake, payload: Dict[str, Any]... method sync_template (line 1494) | def sync_template(self, guild_id: Snowflake, code: str) -> Response[te... method edit_template (line 1497) | def edit_template(self, guild_id: Snowflake, code: str, payload: Dict[... method delete_template (line 1507) | def delete_template(self, guild_id: Snowflake, code: str) -> Response[... method create_from_template (line 1510) | def create_from_template(self, code: str, name: str, icon: Optional[st... method get_bans (line 1518) | def get_bans( method get_welcome_screen (line 1535) | def get_welcome_screen(self, guild_id: Snowflake) -> Response[welcome_... method edit_welcome_screen (line 1538) | def edit_welcome_screen( method get_ban (line 1551) | def get_ban(self, user_id: Snowflake, guild_id: Snowflake) -> Response... method get_vanity_code (line 1554) | def get_vanity_code(self, guild_id: Snowflake) -> Response[invite.Vani... method change_vanity_code (line 1557) | def change_vanity_code(self, guild_id: Snowflake, code: str, *, reason... method get_all_guild_channels (line 1561) | def get_all_guild_channels(self, guild_id: Snowflake) -> Response[List... method get_members (line 1564) | def get_members( method get_member (line 1576) | def get_member(self, guild_id: Snowflake, member_id: Snowflake) -> Res... method prune_members (line 1579) | def prune_members( method estimate_pruned_members (line 1597) | def estimate_pruned_members( method get_sticker (line 1611) | def get_sticker(self, sticker_id: Snowflake) -> Response[sticker.Stick... method list_premium_sticker_packs (line 1614) | def list_premium_sticker_packs(self) -> Response[sticker.ListPremiumSt... method get_all_guild_stickers (line 1617) | def get_all_guild_stickers(self, guild_id: Snowflake) -> Response[List... method get_guild_sticker (line 1620) | def get_guild_sticker(self, guild_id: Snowflake, sticker_id: Snowflake... method create_guild_sticker (line 1625) | def create_guild_sticker( method modify_guild_sticker (line 1661) | def modify_guild_sticker( method delete_guild_sticker (line 1674) | def delete_guild_sticker(self, guild_id: Snowflake, sticker_id: Snowfl... method get_all_custom_emojis (line 1680) | def get_all_custom_emojis(self, guild_id: Snowflake) -> Response[List[... method get_custom_emoji (line 1683) | def get_custom_emoji(self, guild_id: Snowflake, emoji_id: Snowflake) -... method create_custom_emoji (line 1686) | def create_custom_emoji( method delete_custom_emoji (line 1704) | def delete_custom_emoji( method edit_custom_emoji (line 1714) | def edit_custom_emoji( method get_all_integrations (line 1725) | def get_all_integrations(self, guild_id: Snowflake) -> Response[List[i... method create_integration (line 1730) | def create_integration(self, guild_id: Snowflake, type: integration.In... method edit_integration (line 1739) | def edit_integration(self, guild_id: Snowflake, integration_id: Snowfl... method sync_integration (line 1746) | def sync_integration(self, guild_id: Snowflake, integration_id: Snowfl... method delete_integration (line 1753) | def delete_integration( method get_audit_logs (line 1762) | def get_audit_logs( method get_widget (line 1784) | def get_widget(self, guild_id: Snowflake) -> Response[widget.Widget]: method edit_widget (line 1787) | def edit_widget( method edit_incident_actions (line 1792) | def edit_incident_actions(self, guild_id: Snowflake, payload: guild.In... method create_invite (line 1797) | def create_invite( method get_invite (line 1829) | def get_invite( method invites_from (line 1847) | def invites_from(self, guild_id: Snowflake) -> Response[List[invite.In... method invites_from_channel (line 1850) | def invites_from_channel(self, channel_id: Snowflake) -> Response[List... method delete_invite (line 1853) | def delete_invite(self, invite_id: str, *, reason: Optional[str] = Non... method get_roles (line 1858) | def get_roles(self, guild_id: Snowflake) -> Response[List[role.Role]]: method edit_role (line 1861) | def edit_role( method delete_role (line 1869) | def delete_role(self, guild_id: Snowflake, role_id: Snowflake, *, reas... method replace_roles (line 1873) | def replace_roles( method create_role (line 1883) | def create_role(self, guild_id: Snowflake, *, reason: Optional[str] = ... method move_role_position (line 1887) | def move_role_position( method add_role (line 1897) | def add_role( method remove_role (line 1909) | def remove_role( method edit_channel_permissions (line 1921) | def edit_channel_permissions( method delete_channel_permissions (line 1935) | def delete_channel_permissions( method move_member (line 1943) | def move_member( method get_stage_instance (line 1955) | def get_stage_instance(self, channel_id: Snowflake) -> Response[channe... method create_stage_instance (line 1958) | def create_stage_instance(self, *, reason: Optional[str], **payload: A... method edit_stage_instance (line 1970) | def edit_stage_instance(self, channel_id: Snowflake, *, reason: Option... method delete_stage_instance (line 1981) | def delete_stage_instance(self, channel_id: Snowflake, *, reason: Opti... method get_scheduled_events (line 1987) | def get_scheduled_events( method get_scheduled_events (line 1993) | def get_scheduled_events( method get_scheduled_events (line 1999) | def get_scheduled_events( method get_scheduled_events (line 2006) | def get_scheduled_events(self, guild_id: Snowflake, with_user_count: b... method create_guild_scheduled_event (line 2010) | def create_guild_scheduled_event( method get_scheduled_event (line 2031) | def get_scheduled_event( method get_scheduled_event (line 2037) | def get_scheduled_event( method get_scheduled_event (line 2043) | def get_scheduled_event( method get_scheduled_event (line 2048) | def get_scheduled_event( method edit_scheduled_event (line 2062) | def edit_scheduled_event( method delete_scheduled_event (line 2090) | def delete_scheduled_event( method get_scheduled_event_users (line 2108) | def get_scheduled_event_users( method get_scheduled_event_users (line 2120) | def get_scheduled_event_users( method get_scheduled_event_users (line 2132) | def get_scheduled_event_users( method get_scheduled_event_users (line 2143) | def get_scheduled_event_users( method get_global_commands (line 2174) | def get_global_commands(self, application_id: Snowflake) -> Response[L... method get_global_command (line 2177) | def get_global_command(self, application_id: Snowflake, command_id: Sn... method upsert_global_command (line 2186) | def upsert_global_command( method edit_global_command (line 2192) | def edit_global_command( method delete_global_command (line 2212) | def delete_global_command(self, application_id: Snowflake, command_id:... method bulk_upsert_global_commands (line 2221) | def bulk_upsert_global_commands( method get_guild_commands (line 2229) | def get_guild_commands( method get_guild_command (line 2240) | def get_guild_command( method upsert_guild_command (line 2255) | def upsert_guild_command( method edit_guild_command (line 2269) | def edit_guild_command( method delete_guild_command (line 2291) | def delete_guild_command( method bulk_upsert_guild_commands (line 2306) | def bulk_upsert_guild_commands( method get_guild_application_command_permissions (line 2320) | def get_guild_application_command_permissions( method get_application_command_permissions (line 2333) | def get_application_command_permissions( method edit_application_command_permissions (line 2348) | def edit_application_command_permissions( method get_auto_moderation_rules (line 2364) | def get_auto_moderation_rules(self, guild_id: Snowflake) -> Response[L... method get_auto_moderation_rule (line 2367) | def get_auto_moderation_rule(self, guild_id: Snowflake, rule_id: Snowf... method create_auto_moderation_rule (line 2372) | def create_auto_moderation_rule( method edit_auto_moderation_rule (line 2392) | def edit_auto_moderation_rule( method delete_auto_moderation_rule (line 2413) | def delete_auto_moderation_rule( method get_skus (line 2423) | def get_skus(self, application_id: Snowflake) -> Response[List[sku.SKU]]: method get_entitlements (line 2426) | def get_entitlements( method get_entitlement (line 2458) | def get_entitlement(self, application_id: Snowflake, entitlement_id: S... method consume_entitlement (line 2468) | def consume_entitlement(self, application_id: Snowflake, entitlement_i... method create_entitlement (line 2478) | def create_entitlement( method delete_entitlement (line 2496) | def delete_entitlement(self, application_id: Snowflake, entitlement_id... method application_info (line 2508) | def application_info(self) -> Response[appinfo.AppInfo]: method edit_application_info (line 2511) | def edit_application_info(self, *, reason: Optional[str], payload: Any... method get_poll_answer_voters (line 2527) | def get_poll_answer_voters( method end_poll (line 2554) | def end_poll(self, channel_id: Snowflake, message_id: Snowflake) -> Re... method get_gateway (line 2564) | async def get_gateway(self, *, encoding: str = 'json', zlib: bool = Tr... method get_bot_gateway (line 2575) | async def get_bot_gateway(self, *, encoding: str = 'json', zlib: bool ... method get_user (line 2587) | def get_user(self, user_id: Snowflake) -> Response[user.User]: FILE: discord/integrations.py class IntegrationAccount (line 57) | class IntegrationAccount: method __init__ (line 72) | def __init__(self, data: IntegrationAccountPayload) -> None: method __repr__ (line 76) | def __repr__(self) -> str: class Integration (line 80) | class Integration: method __init__ (line 114) | def __init__(self, *, data: IntegrationPayload, guild: Guild) -> None: method __repr__ (line 119) | def __repr__(self) -> str: method _from_data (line 122) | def _from_data(self, data: IntegrationPayload) -> None: method delete (line 132) | async def delete(self, *, reason: Optional[str] = None) -> None: class StreamIntegration (line 156) | class StreamIntegration(Integration): method _from_data (line 200) | def _from_data(self, data: StreamIntegrationPayload) -> None: method expire_behavior (line 212) | def expire_behavior(self) -> ExpireBehaviour: method role (line 217) | def role(self) -> Optional[Role]: method edit (line 222) | async def edit( method sync (line 274) | async def sync(self) -> None: class IntegrationApplication (line 292) | class IntegrationApplication: method __init__ (line 322) | def __init__(self, *, data: IntegrationApplicationPayload, state: Conn... class BotIntegration (line 332) | class BotIntegration(Integration): method _from_data (line 359) | def _from_data(self, data: BotIntegrationPayload) -> None: class PartialIntegration (line 364) | class PartialIntegration: method __init__ (line 395) | def __init__(self, *, data: PartialIntegrationPayload, guild: Guild): method __repr__ (line 400) | def __repr__(self) -> str: method _from_data (line 403) | def _from_data(self, data: PartialIntegrationPayload) -> None: function _integration_factory (line 411) | def _integration_factory(value: str) -> Tuple[Type[Integration], str]: FILE: discord/interactions.py class Interaction (line 97) | class Interaction(Generic[ClientT]): method __init__ (line 183) | def __init__(self, *, data: InteractionPayload, state: ConnectionState... method _from_data (line 195) | def _from_data(self, data: InteractionPayload): method client (line 275) | def client(self) -> ClientT: method guild (line 284) | def guild(self) -> Optional[Guild]: method channel_id (line 292) | def channel_id(self) -> Optional[int]: method permissions (line 297) | def permissions(self) -> Permissions: method app_permissions (line 305) | def app_permissions(self) -> Permissions: method namespace (line 310) | def namespace(self) -> Namespace: method command (line 334) | def command(self) -> Optional[Union[Command[Any, ..., Any], ContextMen... method response (line 362) | def response(self) -> InteractionResponse[ClientT]: method followup (line 371) | def followup(self) -> Webhook: method created_at (line 381) | def created_at(self) -> datetime.datetime: method expires_at (line 386) | def expires_at(self) -> datetime.datetime: method is_expired (line 390) | def is_expired(self) -> bool: method is_guild_integration (line 394) | def is_guild_integration(self) -> bool: method is_user_integration (line 403) | def is_user_integration(self) -> bool: method original_response (line 410) | async def original_response(self) -> InteractionMessage: method edit_original_response (line 460) | async def edit_original_response( method delete_original_response (line 553) | async def delete_original_response(self) -> None: method translate (line 580) | async def translate( class InteractionResponse (line 624) | class InteractionResponse(Generic[ClientT]): method __init__ (line 637) | def __init__(self, parent: Interaction[ClientT]): method is_done (line 641) | def is_done(self) -> bool: method type (line 649) | def type(self) -> Optional[InteractionResponseType]: method defer (line 653) | async def defer(self, *, ephemeral: bool = False, thinking: bool = Fal... method pong (line 719) | async def pong(self) -> None: method send_message (line 751) | async def send_message( method edit_message (line 886) | async def edit_message( method send_modal (line 1015) | async def send_modal(self, modal: Modal, /) -> None: method autocomplete (line 1053) | async def autocomplete(self, choices: Sequence[Choice[ChoiceT]]) -> None: class _InteractionMessageState (line 1105) | class _InteractionMessageState: method __init__ (line 1108) | def __init__(self, interaction: Interaction, parent: ConnectionState): method _get_guild (line 1112) | def _get_guild(self, guild_id): method store_user (line 1115) | def store_user(self, data, *, cache: bool = True): method create_user (line 1118) | def create_user(self, data): method http (line 1122) | def http(self): method __getattr__ (line 1125) | def __getattr__(self, attr): class InteractionMessage (line 1129) | class InteractionMessage(Message): method edit (line 1144) | async def edit( method add_files (line 1217) | async def add_files(self, *files: File) -> InteractionMessage: method remove_attachments (line 1243) | async def remove_attachments(self, *attachments: Attachment) -> Intera... method delete (line 1269) | async def delete(self, *, delay: Optional[float] = None) -> None: FILE: discord/invite.py class PartialInviteChannel (line 66) | class PartialInviteChannel: method __init__ (line 102) | def __init__(self, data: InviteChannelPayload): method __str__ (line 107) | def __str__(self) -> str: method __repr__ (line 110) | def __repr__(self) -> str: method mention (line 114) | def mention(self) -> str: method created_at (line 119) | def created_at(self) -> datetime.datetime: class PartialInviteGuild (line 124) | class PartialInviteGuild: method __init__ (line 189) | def __init__(self, state: ConnectionState, data: InviteGuildPayload, i... method __str__ (line 203) | def __str__(self) -> str: method __repr__ (line 206) | def __repr__(self) -> str: method created_at (line 213) | def created_at(self) -> datetime.datetime: method vanity_url (line 218) | def vanity_url(self) -> Optional[str]: method icon (line 228) | def icon(self) -> Optional[Asset]: method banner (line 235) | def banner(self) -> Optional[Asset]: method splash (line 242) | def splash(self) -> Optional[Asset]: class Invite (line 249) | class Invite(Hashable): method __init__ (line 386) | def __init__( method from_incomplete (line 437) | def from_incomplete(cls, *, state: ConnectionState, data: InvitePayloa... method from_gateway (line 461) | def from_gateway(cls, *, state: ConnectionState, data: GatewayInvitePa... method _resolve_guild (line 473) | def _resolve_guild( method _resolve_channel (line 487) | def _resolve_channel( method __str__ (line 500) | def __str__(self) -> str: method __repr__ (line 503) | def __repr__(self) -> str: method __hash__ (line 510) | def __hash__(self) -> int: method id (line 514) | def id(self) -> str: method url (line 519) | def url(self) -> str: method set_scheduled_event (line 526) | def set_scheduled_event(self, scheduled_event: Snowflake, /) -> Self: method delete (line 549) | async def delete(self, *, reason: Optional[str] = None) -> None: FILE: discord/member.py class VoiceState (line 83) | class VoiceState: method __init__ (line 140) | def __init__( method _update (line 146) | def _update(self, data: Union[VoiceStatePayload, GuildVoiceStatePayloa... method __repr__ (line 158) | def __repr__(self) -> str: class _ClientStatus (line 171) | class _ClientStatus: method __init__ (line 174) | def __init__(self): method __repr__ (line 181) | def __repr__(self) -> str: method _update (line 191) | def _update(self, status: str, data: ClientStatusPayload, /) -> None: method _copy (line 199) | def _copy(cls, client_status: Self, /) -> Self: function flatten_user (line 211) | def flatten_user(cls: T) -> T: class Member (line 254) | class Member(discord.abc.Messageable, _UserTag): method __init__ (line 350) | def __init__(self, *, data: MemberWithUserPayload, guild: Guild, state... method __str__ (line 373) | def __str__(self) -> str: method __repr__ (line 376) | def __repr__(self) -> str: method __eq__ (line 382) | def __eq__(self, other: object) -> bool: method __ne__ (line 385) | def __ne__(self, other: object) -> bool: method __hash__ (line 388) | def __hash__(self) -> int: method _from_message (line 392) | def _from_message(cls, *, message: Message, data: MemberPayload) -> Self: method _from_client_user (line 398) | def _from_client_user(cls, *, user: ClientUser, guild: Guild, state: C... method _update_from_message (line 406) | def _update_from_message(self, data: MemberPayload) -> None: method _try_upgrade (line 416) | def _try_upgrade(cls, *, data: UserWithMemberPayload, guild: Guild, st... method _copy (line 427) | def _copy(cls, member: Self) -> Self: method _get_channel (line 451) | async def _get_channel(self) -> DMChannel: method _update (line 455) | def _update(self, data: GuildMemberUpdateEvent) -> None: method _presence_update (line 476) | def _presence_update(self, data: PartialPresenceUpdate, user: UserPayl... method _update_inner_user (line 484) | def _update_inner_user(self, user: UserPayload) -> Optional[Tuple[User... method status (line 519) | def status(self) -> Status: method raw_status (line 524) | def raw_status(self) -> str: method status (line 532) | def status(self, value: Status) -> None: method mobile_status (line 537) | def mobile_status(self) -> Status: method desktop_status (line 542) | def desktop_status(self) -> Status: method web_status (line 547) | def web_status(self) -> Status: method is_on_mobile (line 551) | def is_on_mobile(self) -> bool: method colour (line 556) | def colour(self) -> Colour: method color (line 575) | def color(self) -> Colour: method roles (line 585) | def roles(self) -> List[Role]: method display_icon (line 603) | def display_icon(self) -> Optional[Union[str, Asset]]: method mention (line 619) | def mention(self) -> str: method display_name (line 624) | def display_name(self) -> str: method display_avatar (line 634) | def display_avatar(self) -> Asset: method guild_avatar (line 646) | def guild_avatar(self) -> Optional[Asset]: method display_banner (line 657) | def display_banner(self) -> Optional[Asset]: method guild_banner (line 668) | def guild_banner(self) -> Optional[Asset]: method activity (line 679) | def activity(self) -> Optional[ActivityTypes]: method mentioned_in (line 696) | def mentioned_in(self, message: Message) -> bool: method top_role (line 718) | def top_role(self) -> Role: method guild_permissions (line 731) | def guild_permissions(self) -> Permissions: method resolved_permissions (line 762) | def resolved_permissions(self) -> Optional[Permissions]: method voice (line 778) | def voice(self) -> Optional[VoiceState]: method flags (line 783) | def flags(self) -> MemberFlags: method ban (line 790) | async def ban( method unban (line 808) | async def unban(self, *, reason: Optional[str] = None) -> None: method kick (line 815) | async def kick(self, *, reason: Optional[str] = None) -> None: method edit (line 822) | async def edit( method request_to_speak (line 974) | async def request_to_speak(self) -> None: method move_to (line 1011) | async def move_to(self, channel: Optional[VocalGuildChannel], *, reaso... method timeout (line 1033) | async def timeout( method add_roles (line 1072) | async def add_roles(self, *roles: Snowflake, reason: Optional[str] = N... method remove_roles (line 1111) | async def remove_roles(self, *roles: Snowflake, reason: Optional[str] ... method get_role (line 1156) | def get_role(self, role_id: int, /) -> Optional[Role]: method is_timed_out (line 1173) | def is_timed_out(self) -> bool: FILE: discord/mentions.py class _FakeBool (line 41) | class _FakeBool: method __repr__ (line 42) | def __repr__(self): method __eq__ (line 45) | def __eq__(self, other): method __bool__ (line 48) | def __bool__(self): class AllowedMentions (line 55) | class AllowedMentions: method __init__ (line 87) | def __init__( method all (line 101) | def all(cls) -> Self: method none (line 109) | def none(cls) -> Self: method to_dict (line 116) | def to_dict(self) -> AllowedMentionsPayload: method merge (line 139) | def merge(self, other: AllowedMentions) -> AllowedMentions: method __repr__ (line 149) | def __repr__(self) -> str: FILE: discord/message.py function convert_emoji_reaction (line 118) | def convert_emoji_reaction(emoji: Union[EmojiInputType, Reaction]) -> str: class Attachment (line 134) | class Attachment(Hashable): method __init__ (line 216) | def __init__(self, *, data: AttachmentPayload, state: ConnectionState): method flags (line 236) | def flags(self) -> AttachmentFlags: method is_spoiler (line 240) | def is_spoiler(self) -> bool: method is_voice_message (line 244) | def is_voice_message(self) -> bool: method __repr__ (line 248) | def __repr__(self) -> str: method __str__ (line 251) | def __str__(self) -> str: method save (line 254) | async def save( method read (line 304) | async def read(self, *, use_cached: bool = False) -> bytes: method to_file (line 339) | async def to_file( method to_dict (line 400) | def to_dict(self) -> AttachmentPayload: class DeletedReferencedMessage (line 420) | class DeletedReferencedMessage: method __init__ (line 432) | def __init__(self, parent: MessageReference): method __repr__ (line 435) | def __repr__(self) -> str: method id (line 439) | def id(self) -> int: method channel_id (line 445) | def channel_id(self) -> int: method guild_id (line 450) | def guild_id(self) -> Optional[int]: class MessageReference (line 455) | class MessageReference: method __init__ (line 491) | def __init__(self, *, message_id: int, channel_id: int, guild_id: Opti... method with_state (line 500) | def with_state(cls, state: ConnectionState, data: MessageReferencePayl... method from_message (line 511) | def from_message(cls, message: PartialMessage, *, fail_if_not_exists: ... method cached_message (line 541) | def cached_message(self) -> Optional[Message]: method jump_url (line 546) | def jump_url(self) -> str: method __repr__ (line 554) | def __repr__(self) -> str: method to_dict (line 557) | def to_dict(self) -> MessageReferencePayload: class MessageInteraction (line 569) | class MessageInteraction(Hashable): method __init__ (line 602) | def __init__(self, *, state: ConnectionState, guild: Optional[Guild], ... method __repr__ (line 621) | def __repr__(self) -> str: method created_at (line 625) | def created_at(self) -> datetime.datetime: class MessageInteractionMetadata (line 630) | class MessageInteractionMetadata(Hashable): method __init__ (line 678) | def __init__(self, *, state: ConnectionState, guild: Optional[Guild], ... method __repr__ (line 709) | def __repr__(self) -> str: method created_at (line 713) | def created_at(self) -> datetime.datetime: method original_response_message (line 718) | def original_response_message(self) -> Optional[Message]: method interacted_message (line 727) | def interacted_message(self) -> Optional[Message]: method is_guild_integration (line 735) | def is_guild_integration(self) -> bool: method is_user_integration (line 742) | def is_user_integration(self) -> bool: function flatten_handlers (line 747) | def flatten_handlers(cls: Type[Message]) -> Type[Message]: class MessageApplication (line 762) | class MessageApplication: method __init__ (line 779) | def __init__(self, *, state: ConnectionState, data: MessageApplication... method __repr__ (line 787) | def __repr__(self) -> str: method icon (line 791) | def icon(self) -> Optional[Asset]: method cover (line 798) | def cover(self) -> Optional[Asset]: class RoleSubscriptionInfo (line 807) | class RoleSubscriptionInfo: method __init__ (line 833) | def __init__(self, data: RoleSubscriptionDataPayload) -> None: class PartialMessage (line 840) | class PartialMessage(Hashable): method __init__ (line 883) | def __init__(self, *, channel: MessageableChannel, id: int) -> None: method _update (line 904) | def _update(self, data: MessageUpdateEvent) -> None: method __repr__ (line 913) | def __repr__(self) -> str: method created_at (line 917) | def created_at(self) -> datetime.datetime: method jump_url (line 922) | def jump_url(self) -> str: method thread (line 928) | def thread(self) -> Optional[Thread]: method fetch (line 941) | async def fetch(self) -> Message: method delete (line 964) | async def delete(self, *, delay: Optional[float] = None) -> None: method edit (line 1004) | async def edit( method edit (line 1017) | async def edit( method edit (line 1029) | async def edit( method publish (line 1140) | async def publish(self) -> None: method pin (line 1162) | async def pin(self, *, reason: Optional[str] = None) -> None: method unpin (line 1192) | async def unpin(self, *, reason: Optional[str] = None) -> None: method add_reaction (line 1221) | async def add_reaction(self, emoji: Union[EmojiInputType, Reaction], /... method remove_reaction (line 1260) | async def remove_reaction(self, emoji: Union[EmojiInputType, Reaction]... method clear_reaction (line 1303) | async def clear_reaction(self, emoji: Union[EmojiInputType, Reaction])... method clear_reactions (line 1338) | async def clear_reactions(self) -> None: method create_thread (line 1354) | async def create_thread( method fetch_thread (line 1417) | async def fetch_thread(self) -> Thread: method reply (line 1452) | async def reply( method reply (line 1473) | async def reply( method reply (line 1494) | async def reply( method reply (line 1515) | async def reply( method reply (line 1535) | async def reply(self, content: Optional[str] = None, **kwargs: Any) ->... method end_poll (line 1566) | async def end_poll(self) -> Message: method to_reference (line 1590) | def to_reference(self, *, fail_if_not_exists: bool = True) -> MessageR... method to_message_reference_dict (line 1611) | def to_message_reference_dict(self) -> MessageReferencePayload: class Message (line 1624) | class Message(PartialMessage, Hashable): method __init__ (line 1813) | def __init__( method __repr__ (line 1934) | def __repr__(self) -> str: method _try_patch (line 1940) | def _try_patch(self, data, key, transform=None) -> None: method _add_reaction (line 1951) | def _add_reaction(self, data, emoji, user_id) -> Reaction: method _remove_reaction (line 1965) | def _remove_reaction(self, data: MessageReactionRemoveEvent, emoji: Em... method _clear_emoji (line 1984) | def _clear_emoji(self, emoji: PartialEmoji) -> Optional[Reaction]: method _update (line 1996) | def _update(self, data: MessageUpdateEvent) -> None: method _handle_edited_timestamp (line 2016) | def _handle_edited_timestamp(self, value: str) -> None: method _handle_pinned (line 2019) | def _handle_pinned(self, value: bool) -> None: method _handle_flags (line 2022) | def _handle_flags(self, value: int) -> None: method _handle_application (line 2025) | def _handle_application(self, value: MessageApplicationPayload) -> None: method _handle_activity (line 2029) | def _handle_activity(self, value: MessageActivityPayload) -> None: method _handle_mention_everyone (line 2032) | def _handle_mention_everyone(self, value: bool) -> None: method _handle_tts (line 2035) | def _handle_tts(self, value: bool) -> None: method _handle_type (line 2038) | def _handle_type(self, value: int) -> None: method _handle_content (line 2041) | def _handle_content(self, value: str) -> None: method _handle_attachments (line 2044) | def _handle_attachments(self, value: List[AttachmentPayload]) -> None: method _handle_embeds (line 2047) | def _handle_embeds(self, value: List[EmbedPayload]) -> None: method _handle_nonce (line 2050) | def _handle_nonce(self, value: Union[str, int]) -> None: method _handle_author (line 2053) | def _handle_author(self, author: UserPayload) -> None: method _handle_member (line 2060) | def _handle_member(self, member: MemberPayload) -> None: method _handle_mentions (line 2075) | def _handle_mentions(self, mentions: List[UserWithMemberPayload]) -> N... method _handle_mention_roles (line 2091) | def _handle_mention_roles(self, role_mentions: List[int]) -> None: method _handle_components (line 2099) | def _handle_components(self, data: List[ComponentPayload]) -> None: method _handle_interaction (line 2108) | def _handle_interaction(self, data: MessageInteractionPayload): method _handle_interaction_metadata (line 2111) | def _handle_interaction_metadata(self, data: MessageInteractionMetadat... method _rebind_cached_references (line 2114) | def _rebind_cached_references( method raw_mentions (line 2123) | def raw_mentions(self) -> List[int]: method raw_channel_mentions (line 2133) | def raw_channel_mentions(self) -> List[int]: method raw_role_mentions (line 2140) | def raw_role_mentions(self) -> List[int]: method channel_mentions (line 2147) | def channel_mentions(self) -> List[Union[GuildChannel, Thread]]: method clean_content (line 2154) | def clean_content(self) -> str: method created_at (line 2214) | def created_at(self) -> datetime.datetime: method edited_at (line 2219) | def edited_at(self) -> Optional[datetime.datetime]: method thread (line 2224) | def thread(self) -> Optional[Thread]: method interaction (line 2240) | def interaction(self) -> Optional[MessageInteraction]: method is_system (line 2249) | def is_system(self) -> bool: method system_content (line 2266) | def system_content(self) -> str: method edit (line 2422) | async def edit( method edit (line 2436) | async def edit( method edit (line 2449) | async def edit( method add_files (line 2572) | async def add_files(self, *files: File) -> Message: method remove_attachments (line 2598) | async def remove_attachments(self, *attachments: Attachment) -> Message: FILE: discord/mixins.py class EqualityComparable (line 31) | class EqualityComparable: method __eq__ (line 36) | def __eq__(self, other: object) -> bool: class Hashable (line 42) | class Hashable(EqualityComparable): method __hash__ (line 45) | def __hash__(self) -> int: FILE: discord/object.py class Object (line 50) | class Object(Hashable): method __init__ (line 93) | def __init__(self, id: SupportsIntCast, *, type: Type[abc.Snowflake] =... method __repr__ (line 101) | def __repr__(self) -> str: method __eq__ (line 104) | def __eq__(self, other: object) -> bool: method created_at (line 112) | def created_at(self) -> datetime.datetime: FILE: discord/oggparse.py class OggError (line 40) | class OggError(DiscordException): class OggPage (line 50) | class OggPage: method __init__ (line 60) | def __init__(self, stream: IO[bytes]) -> None: method iter_packets (line 72) | def iter_packets(self) -> Generator[Tuple[bytes, bool], None, None]: class OggStream (line 91) | class OggStream: method __init__ (line 92) | def __init__(self, stream: IO[bytes]) -> None: method _next_page (line 95) | def _next_page(self) -> Optional[OggPage]: method _iter_pages (line 104) | def _iter_pages(self) -> Generator[OggPage, None, None]: method iter_packets (line 110) | def iter_packets(self) -> Generator[bytes, None, None]: FILE: discord/opus.py class ApplicationCtl (line 47) | class ApplicationCtl(TypedDict): class BandCtl (line 53) | class BandCtl(TypedDict): class SignalCtl (line 61) | class SignalCtl(TypedDict): class EncoderStruct (line 84) | class EncoderStruct(ctypes.Structure): class DecoderStruct (line 88) | class DecoderStruct(ctypes.Structure): function _err_lt (line 139) | def _err_lt(result: int, func: Callable, args: List) -> int: function _err_ne (line 146) | def _err_ne(result: T, func: Callable, args: List) -> T: function libopus_loader (line 201) | def libopus_loader(name: str) -> Any: function _load_default (line 226) | def _load_default() -> bool: function load_opus (line 244) | def load_opus(name: str) -> None: function is_loaded (line 283) | def is_loaded() -> bool: class OpusError (line 298) | class OpusError(DiscordException): method __init__ (line 307) | def __init__(self, code: int): class OpusNotLoaded (line 314) | class OpusNotLoaded(DiscordException): class _OpusStruct (line 320) | class _OpusStruct: method get_opus_version (line 330) | def get_opus_version() -> str: class Encoder (line 337) | class Encoder(_OpusStruct): method __init__ (line 338) | def __init__( method __del__ (line 371) | def __del__(self) -> None: method _create_state (line 377) | def _create_state(self) -> EncoderStruct: method set_bitrate (line 381) | def set_bitrate(self, kbps: int) -> int: method set_bandwidth (line 387) | def set_bandwidth(self, req: BAND_CTL) -> None: method set_signal_type (line 394) | def set_signal_type(self, req: SIGNAL_CTL) -> None: method set_fec (line 401) | def set_fec(self, enabled: bool = True) -> None: method set_expected_packet_loss_percent (line 404) | def set_expected_packet_loss_percent(self, percentage: float) -> None: method encode (line 407) | def encode(self, pcm: bytes, frame_size: int) -> bytes: class Decoder (line 418) | class Decoder(_OpusStruct): method __init__ (line 419) | def __init__(self): method __del__ (line 424) | def __del__(self) -> None: method _create_state (line 430) | def _create_state(self) -> DecoderStruct: method packet_get_nb_frames (line 435) | def packet_get_nb_frames(data: bytes) -> int: method packet_get_nb_channels (line 440) | def packet_get_nb_channels(data: bytes) -> int: method packet_get_samples_per_frame (line 445) | def packet_get_samples_per_frame(cls, data: bytes) -> int: method _set_gain (line 449) | def _set_gain(self, adjustment: int) -> int: method set_gain (line 461) | def set_gain(self, dB: float) -> int: method set_volume (line 467) | def set_volume(self, mult: float) -> int: method _get_last_packet_duration (line 471) | def _get_last_packet_duration(self) -> int: method decode (line 479) | def decode(self, data: bytes, *, fec: bool) -> bytes: method decode (line 483) | def decode(self, data: Literal[None], *, fec: Literal[False]) -> bytes: method decode (line 486) | def decode(self, data: Optional[bytes], *, fec: bool = False) -> bytes: FILE: discord/partial_emoji.py class _EmojiTag (line 48) | class _EmojiTag: method _to_partial (line 53) | def _to_partial(self) -> PartialEmoji: class PartialEmoji (line 57) | class PartialEmoji(_EmojiTag, AssetMixin): method __init__ (line 102) | def __init__(self, *, name: str, animated: bool = False, id: Optional[... method from_dict (line 109) | def from_dict(cls, data: Union[PartialEmojiPayload, ActivityEmoji, Dic... method from_str (line 117) | def from_str(cls, value: str) -> Self: method to_dict (line 151) | def to_dict(self) -> EmojiPayload: method _to_partial (line 162) | def _to_partial(self) -> PartialEmoji: method _to_forum_tag_payload (line 165) | def _to_forum_tag_payload(self) -> Dict[str, Any]: method with_state (line 171) | def with_state( method __str__ (line 183) | def __str__(self) -> str: method __repr__ (line 192) | def __repr__(self) -> str: method __eq__ (line 195) | def __eq__(self, other: object) -> bool: method __ne__ (line 203) | def __ne__(self, other: object) -> bool: method __hash__ (line 206) | def __hash__(self) -> int: method is_custom_emoji (line 209) | def is_custom_emoji(self) -> bool: method is_unicode_emoji (line 213) | def is_unicode_emoji(self) -> bool: method _as_reaction (line 217) | def _as_reaction(self) -> str: method created_at (line 223) | def created_at(self) -> Optional[datetime]: method url (line 234) | def url(self) -> str: method read (line 245) | async def read(self) -> bytes: FILE: discord/permissions.py class permission_alias (line 40) | class permission_alias(alias_flag_value): function make_permission_alias (line 44) | def make_permission_alias(alias: str) -> Callable[[Callable[[Any], int]]... class Permissions (line 54) | class Permissions(BaseFlags): method __init__ (line 138) | def __init__(self, permissions: int = 0, **kwargs: bool): method is_subset (line 151) | def is_subset(self, other: Permissions) -> bool: method is_superset (line 158) | def is_superset(self, other: Permissions) -> bool: method is_strict_subset (line 165) | def is_strict_subset(self, other: Permissions) -> bool: method is_strict_superset (line 169) | def is_strict_superset(self, other: Permissions) -> bool: method none (line 179) | def none(cls) -> Self: method all (line 185) | def all(cls) -> Self: method _timeout_mask (line 193) | def _timeout_mask(cls) -> int: method _dm_permissions (line 200) | def _dm_permissions(cls) -> Self: method _user_installed_permissions (line 212) | def _user_installed_permissions(cls, *, in_guild: bool) -> Self: method all_channel (line 228) | def all_channel(cls) -> Self: method general (line 266) | def general(cls) -> Self: method membership (line 285) | def membership(cls) -> Self: method text (line 294) | def text(cls) -> Self: method voice (line 315) | def voice(cls) -> Self: method stage (line 321) | def stage(cls) -> Self: method stage_moderator (line 330) | def stage_moderator(cls) -> Self: method elevated (line 346) | def elevated(cls) -> Self: method events (line 367) | def events(cls) -> Self: method advanced (line 376) | def advanced(cls) -> Self: method update (line 384) | def update(self, **kwargs: bool) -> None: method handle_overwrite (line 401) | def handle_overwrite(self, allow: int, deny: int) -> None: method create_instant_invite (line 417) | def create_instant_invite(self) -> int: method kick_members (line 422) | def kick_members(self) -> int: method ban_members (line 427) | def ban_members(self) -> int: method administrator (line 432) | def administrator(self) -> int: method manage_channels (line 440) | def manage_channels(self) -> int: method manage_guild (line 447) | def manage_guild(self) -> int: method add_reactions (line 452) | def add_reactions(self) -> int: method view_audit_log (line 457) | def view_audit_log(self) -> int: method priority_speaker (line 462) | def priority_speaker(self) -> int: method stream (line 467) | def stream(self) -> int: method read_messages (line 472) | def read_messages(self) -> int: method view_channel (line 477) | def view_channel(self) -> int: method send_messages (line 485) | def send_messages(self) -> int: method send_tts_messages (line 490) | def send_tts_messages(self) -> int: method manage_messages (line 495) | def manage_messages(self) -> int: method embed_links (line 505) | def embed_links(self) -> int: method attach_files (line 510) | def attach_files(self) -> int: method read_message_history (line 515) | def read_message_history(self) -> int: method mention_everyone (line 520) | def mention_everyone(self) -> int: method external_emojis (line 525) | def external_emojis(self) -> int: method use_external_emojis (line 530) | def use_external_emojis(self) -> int: method view_guild_insights (line 538) | def view_guild_insights(self) -> int: method connect (line 546) | def connect(self) -> int: method speak (line 551) | def speak(self) -> int: method mute_members (line 556) | def mute_members(self) -> int: method deafen_members (line 561) | def deafen_members(self) -> int: method move_members (line 566) | def move_members(self) -> int: method use_voice_activation (line 571) | def use_voice_activation(self) -> int: method change_nickname (line 576) | def change_nickname(self) -> int: method manage_nicknames (line 581) | def manage_nicknames(self) -> int: method manage_roles (line 586) | def manage_roles(self) -> int: method manage_permissions (line 594) | def manage_permissions(self) -> int: method manage_webhooks (line 602) | def manage_webhooks(self) -> int: method manage_expressions (line 607) | def manage_expressions(self) -> int: method manage_emojis (line 615) | def manage_emojis(self) -> int: method manage_emojis_and_stickers (line 620) | def manage_emojis_and_stickers(self) -> int: method use_application_commands (line 628) | def use_application_commands(self) -> int: method request_to_speak (line 636) | def request_to_speak(self) -> int: method manage_events (line 644) | def manage_events(self) -> int: method manage_threads (line 652) | def manage_threads(self) -> int: method create_public_threads (line 660) | def create_public_threads(self) -> int: method create_private_threads (line 668) | def create_private_threads(self) -> int: method external_stickers (line 676) | def external_stickers(self) -> int: method use_external_stickers (line 684) | def use_external_stickers(self) -> int: method send_messages_in_threads (line 692) | def send_messages_in_threads(self) -> int: method use_embedded_activities (line 700) | def use_embedded_activities(self) -> int: method moderate_members (line 708) | def moderate_members(self) -> int: method view_creator_monetization_analytics (line 716) | def view_creator_monetization_analytics(self) -> int: method use_soundboard (line 724) | def use_soundboard(self) -> int: method create_expressions (line 732) | def create_expressions(self) -> int: method create_events (line 740) | def create_events(self) -> int: method use_external_sounds (line 748) | def use_external_sounds(self) -> int: method send_voice_messages (line 756) | def send_voice_messages(self) -> int: method send_polls (line 764) | def send_polls(self) -> int: method create_polls (line 772) | def create_polls(self) -> int: method use_external_apps (line 780) | def use_external_apps(self) -> int: function _augment_from_permissions (line 788) | def _augment_from_permissions(cls): class PermissionOverwrite (line 817) | class PermissionOverwrite: method __init__ (line 911) | def __init__(self, **kwargs: Optional[bool]): method __eq__ (line 920) | def __eq__(self, other: object) -> bool: method _set (line 923) | def _set(self, key: str, value: Optional[bool]) -> None: method pair (line 932) | def pair(self) -> Tuple[Permissions, Permissions]: method from_pair (line 947) | def from_pair(cls, allow: Permissions, deny: Permissions) -> Self: method is_empty (line 960) | def is_empty(self) -> bool: method update (line 973) | def update(self, **kwargs: Optional[bool]) -> None: method __iter__ (line 991) | def __iter__(self) -> Iterator[Tuple[str, Optional[bool]]]: FILE: discord/player.py class AudioSource (line 74) | class AudioSource: method read (line 85) | def read(self) -> bytes: method is_opus (line 105) | def is_opus(self) -> bool: method cleanup (line 109) | def cleanup(self) -> None: method __del__ (line 117) | def __del__(self) -> None: class PCMAudio (line 121) | class PCMAudio(AudioSource): method __init__ (line 130) | def __init__(self, stream: io.BufferedIOBase) -> None: method read (line 133) | def read(self) -> bytes: class FFmpegAudio (line 140) | class FFmpegAudio(AudioSource): method __init__ (line 151) | def __init__( method _spawn_process (line 201) | def _spawn_process(self, args: Any, **subprocess_kwargs: Any) -> subpr... method _kill_process (line 214) | def _kill_process(self) -> None: method _pipe_writer (line 234) | def _pipe_writer(self, source: io.BufferedIOBase) -> None: method _pipe_reader (line 250) | def _pipe_reader(self, dest: IO[bytes]) -> None: method cleanup (line 268) | def cleanup(self) -> None: class FFmpegPCMAudio (line 273) | class FFmpegPCMAudio(FFmpegAudio): method __init__ (line 313) | def __init__( method read (line 347) | def read(self) -> bytes: method is_opus (line 353) | def is_opus(self) -> bool: class FFmpegOpusAudio (line 357) | class FFmpegOpusAudio(FFmpegAudio): method __init__ (line 423) | def __init__( method from_probe (line 469) | async def from_probe( method probe (line 536) | async def probe( method _probe_codec_native (line 609) | def _probe_codec_native(source, executable: str = 'ffmpeg') -> Tuple[O... method _probe_codec_fallback (line 626) | def _probe_codec_fallback(source, executable: str = 'ffmpeg') -> Tuple... method read (line 643) | def read(self) -> bytes: method is_opus (line 646) | def is_opus(self) -> bool: class PCMVolumeTransformer (line 650) | class PCMVolumeTransformer(AudioSource, Generic[AT]): method __init__ (line 672) | def __init__(self, original: AT, volume: float = 1.0): method volume (line 683) | def volume(self) -> float: method volume (line 688) | def volume(self, value: float) -> None: method cleanup (line 691) | def cleanup(self) -> None: method read (line 694) | def read(self) -> bytes: class AudioPlayer (line 699) | class AudioPlayer(threading.Thread): method __init__ (line 702) | def __init__( method _do_run (line 723) | def _do_run(self) -> None: method run (line 769) | def run(self) -> None: method _call_after (line 779) | def _call_after(self) -> None: method stop (line 791) | def stop(self) -> None: method pause (line 796) | def pause(self, *, update_speaking: bool = True) -> None: method resume (line 801) | def resume(self, *, update_speaking: bool = True) -> None: method is_playing (line 808) | def is_playing(self) -> bool: method is_paused (line 811) | def is_paused(self) -> bool: method set_source (line 814) | def set_source(self, source: AudioSource) -> None: method _speak (line 820) | def _speak(self, speaking: SpeakingState) -> None: method send_silence (line 826) | def send_silence(self, count: int = 5) -> None: FILE: discord/poll.py class PollMedia (line 68) | class PollMedia: method __init__ (line 83) | def __init__(self, /, text: str, emoji: Optional[PollMediaEmoji] = Non... method __repr__ (line 87) | def __repr__(self) -> str: method to_dict (line 90) | def to_dict(self) -> PollMediaPayload: method from_dict (line 99) | def from_dict(cls, *, data: PollMediaPayload) -> Self: class PollAnswer (line 107) | class PollAnswer: method __init__ (line 130) | def __init__( method _handle_vote_event (line 145) | def _handle_vote_event(self, added: bool, self_voted: bool) -> None: method _update_with_results (line 152) | def _update_with_results(self, payload: PollAnswerCountPayload) -> None: method __str__ (line 156) | def __str__(self) -> str: method __repr__ (line 159) | def __repr__(self) -> str: method from_params (line 163) | def from_params( method text (line 184) | def text(self) -> str: method emoji (line 189) | def emoji(self) -> Optional[Union[PartialEmoji, Emoji]]: method vote_count (line 196) | def vote_count(self) -> int: method poll (line 204) | def poll(self) -> Poll: method _to_dict (line 208) | def _to_dict(self) -> PollAnswerPayload: method voters (line 213) | async def voters( class Poll (line 300) | class Poll: method __init__ (line 330) | def __init__( method _update (line 352) | def _update(self, message: Message) -> None: method _update_results (line 363) | def _update_results(self, data: PollResultPayload) -> None: method _handle_vote (line 373) | def _handle_vote(self, answer_id: int, added: bool, self_voted: bool =... method _from_data (line 381) | def _from_data(cls, *, data: PollPayload, message: Message, state: Con... method _to_dict (line 411) | def _to_dict(self) -> PollCreatePayload: method __repr__ (line 421) | def __repr__(self) -> str: method question (line 425) | def question(self) -> str: method answers (line 430) | def answers(self) -> List[PollAnswer]: method expires_at (line 435) | def expires_at(self) -> Optional[datetime.datetime]: method created_at (line 445) | def created_at(self) -> Optional[datetime.datetime]: method message (line 458) | def message(self) -> Optional[Message]: method total_votes (line 463) | def total_votes(self) -> int: method is_finalised (line 467) | def is_finalised(self) -> bool: method copy (line 476) | def copy(self) -> Self: method add_answer (line 496) | def add_answer( method get_answer (line 530) | def get_answer( method end (line 550) | async def end(self) -> Self: FILE: discord/raw_models.py class _RawReprMixin (line 85) | class _RawReprMixin: method __repr__ (line 88) | def __repr__(self) -> str: class RawMessageDeleteEvent (line 93) | class RawMessageDeleteEvent(_RawReprMixin): method __init__ (line 110) | def __init__(self, data: MessageDeleteEvent) -> None: class RawBulkMessageDeleteEvent (line 120) | class RawBulkMessageDeleteEvent(_RawReprMixin): method __init__ (line 137) | def __init__(self, data: BulkMessageDeleteEvent) -> None: class RawMessageUpdateEvent (line 148) | class RawMessageUpdateEvent(_RawReprMixin): method __init__ (line 173) | def __init__(self, data: MessageUpdateEvent) -> None: class RawReactionActionEvent (line 185) | class RawReactionActionEvent(_RawReprMixin): method __init__ (line 244) | def __init__(self, data: ReactionActionEvent, emoji: PartialEmoji, eve... method burst_colors (line 262) | def burst_colors(self) -> List[Colour]: class RawReactionClearEvent (line 270) | class RawReactionClearEvent(_RawReprMixin): method __init__ (line 285) | def __init__(self, data: ReactionClearEvent) -> None: class RawReactionClearEmojiEvent (line 295) | class RawReactionClearEmojiEvent(_RawReprMixin): method __init__ (line 314) | def __init__(self, data: ReactionClearEmojiEvent, emoji: PartialEmoji)... class RawIntegrationDeleteEvent (line 325) | class RawIntegrationDeleteEvent(_RawReprMixin): method __init__ (line 342) | def __init__(self, data: IntegrationDeleteEvent) -> None: class RawThreadUpdateEvent (line 352) | class RawThreadUpdateEvent(_RawReprMixin): method __init__ (line 375) | def __init__(self, data: ThreadUpdateEvent) -> None: class RawThreadDeleteEvent (line 384) | class RawThreadDeleteEvent(_RawReprMixin): method __init__ (line 405) | def __init__(self, data: ThreadDeleteEvent) -> None: method _from_thread (line 413) | def _from_thread(cls, thread: Thread) -> Self: class RawThreadMembersUpdate (line 427) | class RawThreadMembersUpdate(_RawReprMixin): method __init__ (line 446) | def __init__(self, data: ThreadMembersUpdate) -> None: class RawTypingEvent (line 453) | class RawTypingEvent(_RawReprMixin): method __init__ (line 474) | def __init__(self, data: TypingStartEvent, /) -> None: class RawMemberRemoveEvent (line 482) | class RawMemberRemoveEvent(_RawReprMixin): method __init__ (line 497) | def __init__(self, data: GuildMemberRemoveEvent, user: User, /) -> None: class RawAppCommandPermissionsUpdateEvent (line 502) | class RawAppCommandPermissionsUpdateEvent(_RawReprMixin): method __init__ (line 523) | def __init__(self, *, data: GuildApplicationCommandPermissions, state:... class RawPollVoteActionEvent (line 532) | class RawPollVoteActionEvent(_RawReprMixin): method __init__ (line 554) | def __init__(self, data: PollVoteActionEvent) -> None: FILE: discord/reaction.py class Reaction (line 47) | class Reaction: method __init__ (line 103) | def __init__(self, *, message: Message, data: ReactionPayload, emoji: ... method is_custom_emoji (line 113) | def is_custom_emoji(self) -> bool: method __eq__ (line 117) | def __eq__(self, other: object) -> bool: method __ne__ (line 120) | def __ne__(self, other: object) -> bool: method __hash__ (line 125) | def __hash__(self) -> int: method __str__ (line 128) | def __str__(self) -> str: method __repr__ (line 131) | def __repr__(self) -> str: method remove (line 134) | async def remove(self, user: Snowflake) -> None: method clear (line 162) | async def clear(self) -> None: method users (line 188) | async def users( FILE: discord/role.py class RoleTags (line 52) | class RoleTags: method __init__ (line 84) | def __init__(self, data: RoleTagPayload): method is_bot_managed (line 97) | def is_bot_managed(self) -> bool: method is_premium_subscriber (line 101) | def is_premium_subscriber(self) -> bool: method is_integration (line 105) | def is_integration(self) -> bool: method is_available_for_purchase (line 109) | def is_available_for_purchase(self) -> bool: method is_guild_connection (line 116) | def is_guild_connection(self) -> bool: method __repr__ (line 123) | def __repr__(self) -> str: class Role (line 130) | class Role(Hashable): method __init__ (line 227) | def __init__(self, *, guild: Guild, state: ConnectionState, data: Role... method __str__ (line 233) | def __str__(self) -> str: method __repr__ (line 236) | def __repr__(self) -> str: method __lt__ (line 239) | def __lt__(self, other: object) -> bool: method __le__ (line 260) | def __le__(self, other: Any) -> bool: method __gt__ (line 266) | def __gt__(self, other: Any) -> bool: method __ge__ (line 269) | def __ge__(self, other: object) -> bool: method _update (line 275) | def _update(self, data: RolePayload): method is_default (line 293) | def is_default(self) -> bool: method is_bot_managed (line 297) | def is_bot_managed(self) -> bool: method is_premium_subscriber (line 304) | def is_premium_subscriber(self) -> bool: method is_integration (line 311) | def is_integration(self) -> bool: method is_assignable (line 318) | def is_assignable(self) -> bool: method permissions (line 327) | def permissions(self) -> Permissions: method colour (line 332) | def colour(self) -> Colour: method color (line 337) | def color(self) -> Colour: method icon (line 342) | def icon(self) -> Optional[Asset]: method display_icon (line 358) | def display_icon(self) -> Optional[Union[Asset, str]]: method created_at (line 366) | def created_at(self) -> datetime.datetime: method mention (line 371) | def mention(self) -> str: method members (line 376) | def members(self) -> List[Member]: method flags (line 386) | def flags(self) -> RoleFlags: method _move (line 393) | async def _move(self, position: int, reason: Optional[str]) -> None: method edit (line 416) | async def edit( method delete (line 525) | async def delete(self, *, reason: Optional[str] = None) -> None: FILE: discord/scheduled_event.py class ScheduledEvent (line 58) | class ScheduledEvent(Hashable): method __init__ (line 130) | def __init__(self, *, state: ConnectionState, data: GuildScheduledEven... method _update (line 135) | def _update(self, data: GuildScheduledEventPayload) -> None: method _unroll_metadata (line 161) | def _unroll_metadata(self, data: Optional[EntityMetadata]): method __repr__ (line 164) | def __repr__(self) -> str: method cover_image (line 168) | def cover_image(self) -> Optional[Asset]: method guild (line 175) | def guild(self) -> Optional[Guild]: method channel (line 180) | def channel(self) -> Optional[Union[VoiceChannel, StageChannel]]: method url (line 185) | def url(self) -> str: method __modify_status (line 189) | async def __modify_status(self, status: EventStatus, reason: Optional[... method start (line 196) | async def start(self, *, reason: Optional[str] = None) -> ScheduledEvent: method end (line 231) | async def end(self, *, reason: Optional[str] = None) -> ScheduledEvent: method cancel (line 266) | async def cancel(self, *, reason: Optional[str] = None) -> ScheduledEv... method edit (line 302) | async def edit( method edit (line 317) | async def edit( method edit (line 334) | async def edit( method edit (line 351) | async def edit( method edit (line 367) | async def edit( method edit (line 382) | async def edit( method delete (line 562) | async def delete(self, *, reason: Optional[str] = None) -> None: method users (line 583) | async def users( method _add_user (line 678) | def _add_user(self, user: User) -> None: method _pop_user (line 681) | def _pop_user(self, user_id: int) -> None: FILE: discord/shard.py class EventType (line 62) | class EventType: class EventItem (line 71) | class EventItem: method __init__ (line 74) | def __init__(self, etype: int, shard: Optional['Shard'], error: Option... method __lt__ (line 79) | def __lt__(self, other: object) -> bool: method __eq__ (line 84) | def __eq__(self, other: object) -> bool: method __hash__ (line 89) | def __hash__(self) -> int: class Shard (line 93) | class Shard: method __init__ (line 94) | def __init__(self, ws: DiscordWebSocket, client: AutoShardedClient, qu... method id (line 113) | def id(self) -> int: method launch (line 117) | def launch(self) -> None: method _cancel_task (line 120) | def _cancel_task(self) -> None: method close (line 124) | async def close(self) -> None: method disconnect (line 128) | async def disconnect(self) -> None: method _handle_disconnect (line 132) | async def _handle_disconnect(self, e: Exception) -> None: method worker (line 161) | async def worker(self) -> None: method reidentify (line 178) | async def reidentify(self, exc: ReconnectWebSocket) -> None: method reconnect (line 206) | async def reconnect(self) -> None: class ShardInfo (line 221) | class ShardInfo: method __init__ (line 239) | def __init__(self, parent: Shard, shard_count: Optional[int]) -> None: method is_closed (line 244) | def is_closed(self) -> bool: method disconnect (line 248) | async def disconnect(self) -> None: method reconnect (line 261) | async def reconnect(self) -> None: method connect (line 270) | async def connect(self) -> None: method latency (line 281) | def latency(self) -> float: method is_ws_ratelimited (line 285) | def is_ws_ratelimited(self) -> bool: class AutoShardedClient (line 296) | class AutoShardedClient(Client): method __init__ (line 339) | def __init__(self, *args: Any, intents: Intents, **kwargs: Any) -> None: method _get_websocket (line 358) | def _get_websocket(self, guild_id: Optional[int] = None, *, shard_id: ... method _get_state (line 364) | def _get_state(self, **options: Any) -> AutoShardedConnectionState: method latency (line 374) | def latency(self) -> float: method latencies (line 386) | def latencies(self) -> List[Tuple[int, float]]: method get_shard (line 393) | def get_shard(self, shard_id: int, /) -> Optional[ShardInfo]: method shards (line 414) | def shards(self) -> Dict[int, ShardInfo]: method launch_shard (line 418) | async def launch_shard(self, gateway: yarl.URL, shard_id: int, *, init... method launch_shards (line 431) | async def launch_shards(self) -> None: method _async_setup_hook (line 451) | async def _async_setup_hook(self) -> None: method connect (line 455) | async def connect(self, *, reconnect: bool = True) -> None: method close (line 479) | async def close(self) -> None: method change_presence (line 500) | async def change_presence( method is_ws_ratelimited (line 571) | def is_ws_ratelimited(self) -> bool: FILE: discord/sku.py class SKU (line 52) | class SKU: method __init__ (line 81) | def __init__(self, *, state: ConnectionState, data: SKUPayload): method __repr__ (line 90) | def __repr__(self) -> str: method flags (line 94) | def flags(self) -> SKUFlags: method created_at (line 99) | def created_at(self) -> datetime: class Entitlement (line 104) | class Entitlement: method __init__ (line 147) | def __init__(self, state: ConnectionState, data: EntitlementPayload): method __repr__ (line 160) | def __repr__(self) -> str: method user (line 164) | def user(self) -> Optional[User]: method guild (line 171) | def guild(self) -> Optional[Guild]: method created_at (line 176) | def created_at(self) -> datetime: method is_expired (line 180) | def is_expired(self) -> bool: method consume (line 186) | async def consume(self) -> None: method delete (line 206) | async def delete(self) -> None: FILE: discord/stage_instance.py class StageInstance (line 47) | class StageInstance(Hashable): method __init__ (line 99) | def __init__(self, *, state: ConnectionState, guild: Guild, data: Stag... method _update (line 104) | def _update(self, data: StageInstancePayload) -> None: method __repr__ (line 112) | def __repr__(self) -> str: method channel (line 116) | def channel(self) -> Optional[StageChannel]: method scheduled_event (line 122) | def scheduled_event(self) -> Optional[ScheduledEvent]: method edit (line 127) | async def edit( method delete (line 173) | async def delete(self, *, reason: Optional[str] = None) -> None: FILE: discord/state.py class ChunkRequest (line 110) | class ChunkRequest: method __init__ (line 111) | def __init__( method add_members (line 129) | def add_members(self, members: List[Member]) -> None: method wait (line 141) | async def wait(self) -> List[Member]: method get_future (line 149) | def get_future(self) -> asyncio.Future[List[Member]]: method done (line 154) | def done(self) -> None: function logging_coroutine (line 163) | async def logging_coroutine(coroutine: Coroutine[Any, Any, T], *, info: ... class ConnectionState (line 170) | class ConnectionState(Generic[ClientT]): method __init__ (line 176) | def __init__( method cache_guild_expressions (line 273) | def cache_guild_expressions(self) -> bool: method close (line 276) | async def close(self) -> None: method clear (line 289) | def clear(self, *, views: bool = True) -> None: method process_chunk_requests (line 309) | def process_chunk_requests(self, guild_id: int, nonce: Optional[str], ... method clear_chunk_requests (line 321) | def clear_chunk_requests(self, shard_id: int | None) -> None: method call_handlers (line 331) | def call_handlers(self, key: str, *args: Any, **kwargs: Any) -> None: method call_hooks (line 339) | async def call_hooks(self, key: str, *args: Any, **kwargs: Any) -> None: method self_id (line 348) | def self_id(self) -> Optional[int]: method intents (line 353) | def intents(self) -> Intents: method voice_clients (line 359) | def voice_clients(self) -> List[VoiceProtocol]: method _get_voice_client (line 362) | def _get_voice_client(self, guild_id: Optional[int]) -> Optional[Voice... method _add_voice_client (line 366) | def _add_voice_client(self, guild_id: int, voice: VoiceProtocol) -> None: method _remove_voice_client (line 369) | def _remove_voice_client(self, guild_id: int) -> None: method _update_references (line 372) | def _update_references(self, ws: DiscordWebSocket) -> None: method store_user (line 376) | def store_user(self, data: Union[UserPayload, PartialUserPayload], *, ... method store_user_no_intents (line 387) | def store_user_no_intents(self, data: Union[UserPayload, PartialUserPa... method create_user (line 390) | def create_user(self, data: Union[UserPayload, PartialUserPayload]) ->... method get_user (line 393) | def get_user(self, id: int) -> Optional[User]: method store_emoji (line 396) | def store_emoji(self, guild: Guild, data: EmojiPayload) -> Emoji: method store_sticker (line 402) | def store_sticker(self, guild: Guild, data: GuildStickerPayload) -> Gu... method store_view (line 407) | def store_view(self, view: View, message_id: Optional[int] = None, int... method prevent_view_updates_for (line 412) | def prevent_view_updates_for(self, message_id: int) -> Optional[View]: method store_dynamic_items (line 415) | def store_dynamic_items(self, *items: Type[DynamicItem[Item[Any]]]) ->... method remove_dynamic_items (line 418) | def remove_dynamic_items(self, *items: Type[DynamicItem[Item[Any]]]) -... method persistent_views (line 422) | def persistent_views(self) -> Sequence[View]: method guilds (line 426) | def guilds(self) -> Sequence[Guild]: method _get_guild (line 429) | def _get_guild(self, guild_id: Optional[int]) -> Optional[Guild]: method _get_or_create_unavailable_guild (line 433) | def _get_or_create_unavailable_guild(self, guild_id: int, *, data: Opt... method _add_guild (line 436) | def _add_guild(self, guild: Guild) -> None: method _remove_guild (line 439) | def _remove_guild(self, guild: Guild) -> None: method emojis (line 451) | def emojis(self) -> Sequence[Emoji]: method stickers (line 455) | def stickers(self) -> Sequence[GuildSticker]: method get_emoji (line 458) | def get_emoji(self, emoji_id: Optional[int]) -> Optional[Emoji]: method get_sticker (line 462) | def get_sticker(self, sticker_id: Optional[int]) -> Optional[GuildStic... method private_channels (line 467) | def private_channels(self) -> Sequence[PrivateChannel]: method _get_private_channel (line 470) | def _get_private_channel(self, channel_id: Optional[int]) -> Optional[... method _get_private_channel_by_user (line 481) | def _get_private_channel_by_user(self, user_id: Optional[int]) -> Opti... method _add_private_channel (line 485) | def _add_private_channel(self, channel: PrivateChannel) -> None: method add_dm_channel (line 497) | def add_dm_channel(self, data: DMChannelPayload) -> DMChannel: method _remove_private_channel (line 503) | def _remove_private_channel(self, channel: PrivateChannel) -> None: method _get_message (line 510) | def _get_message(self, msg_id: Optional[int]) -> Optional[Message]: method _get_poll (line 513) | def _get_poll(self, msg_id: Optional[int]) -> Optional[Poll]: method _add_guild_from_data (line 519) | def _add_guild_from_data(self, data: GuildPayload) -> Guild: method _guild_needs_chunking (line 524) | def _guild_needs_chunking(self, guild: Guild) -> bool: method _get_guild_channel (line 528) | def _get_guild_channel( method _update_poll_counts (line 543) | def _update_poll_counts(self, message: Message, answer_id: int, added:... method chunker (line 550) | async def chunker( method query_members (line 556) | async def query_members( method _delay_ready (line 577) | async def _delay_ready(self) -> None: method parse_ready (line 625) | def parse_ready(self, data: gw.ReadyEvent) -> None: method parse_resumed (line 650) | def parse_resumed(self, data: gw.ResumedEvent) -> None: method parse_message_create (line 653) | def parse_message_create(self, data: gw.MessageCreateEvent) -> None: method parse_message_delete (line 664) | def parse_message_delete(self, data: gw.MessageDeleteEvent) -> None: method parse_message_delete_bulk (line 673) | def parse_message_delete_bulk(self, data: gw.MessageDeleteBulkEvent) -... method parse_message_update (line 687) | def parse_message_update(self, data: gw.MessageUpdateEvent) -> None: method parse_message_reaction_add (line 711) | def parse_message_reaction_add(self, data: gw.MessageReactionAddEvent)... method parse_message_reaction_remove_all (line 737) | def parse_message_reaction_remove_all(self, data: gw.MessageReactionRe... method parse_message_reaction_remove (line 747) | def parse_message_reaction_remove(self, data: gw.MessageReactionRemove... method parse_message_reaction_remove_emoji (line 765) | def parse_message_reaction_remove_emoji(self, data: gw.MessageReaction... method parse_interaction_create (line 781) | def parse_interaction_create(self, data: gw.InteractionCreateEvent) ->... method parse_presence_update (line 799) | def parse_presence_update(self, data: gw.PresenceUpdateEvent) -> None: method parse_user_update (line 821) | def parse_user_update(self, data: gw.UserUpdateEvent) -> None: method parse_invite_create (line 825) | def parse_invite_create(self, data: gw.InviteCreateEvent) -> None: method parse_invite_delete (line 829) | def parse_invite_delete(self, data: gw.InviteDeleteEvent) -> None: method parse_channel_delete (line 833) | def parse_channel_delete(self, data: gw.ChannelDeleteEvent) -> None: method parse_channel_update (line 854) | def parse_channel_update(self, data: gw.ChannelUpdateEvent) -> None: method parse_channel_create (line 881) | def parse_channel_create(self, data: gw.ChannelCreateEvent) -> None: method parse_channel_pins_update (line 898) | def parse_channel_pins_update(self, data: gw.ChannelPinsUpdateEvent) -... method parse_thread_create (line 919) | def parse_thread_create(self, data: gw.ThreadCreateEvent) -> None: method parse_thread_update (line 938) | def parse_thread_update(self, data: gw.ThreadUpdateEvent) -> None: method parse_thread_delete (line 960) | def parse_thread_delete(self, data: gw.ThreadDeleteEvent) -> None: method parse_thread_list_sync (line 975) | def parse_thread_list_sync(self, data: gw.ThreadListSyncEvent) -> None: method parse_thread_member_update (line 1011) | def parse_thread_member_update(self, data: gw.ThreadMemberUpdate) -> N... method parse_thread_members_update (line 1027) | def parse_thread_members_update(self, data: gw.ThreadMembersUpdate) ->... method parse_guild_member_add (line 1061) | def parse_guild_member_add(self, data: gw.GuildMemberAddEvent) -> None: method parse_guild_member_remove (line 1076) | def parse_guild_member_remove(self, data: gw.GuildMemberRemoveEvent) -... method parse_guild_member_update (line 1095) | def parse_guild_member_update(self, data: gw.GuildMemberUpdateEvent) -... method parse_guild_emojis_update (line 1124) | def parse_guild_emojis_update(self, data: gw.GuildEmojisUpdateEvent) -... method parse_guild_stickers_update (line 1137) | def parse_guild_stickers_update(self, data: gw.GuildStickersUpdateEven... method parse_guild_audit_log_entry_create (line 1150) | def parse_guild_audit_log_entry_create(self, data: gw.GuildAuditLogEnt... method parse_auto_moderation_rule_create (line 1168) | def parse_auto_moderation_rule_create(self, data: AutoModerationRule) ... method parse_auto_moderation_rule_update (line 1178) | def parse_auto_moderation_rule_update(self, data: AutoModerationRule) ... method parse_auto_moderation_rule_delete (line 1188) | def parse_auto_moderation_rule_delete(self, data: AutoModerationRule) ... method parse_auto_moderation_action_execution (line 1198) | def parse_auto_moderation_action_execution(self, data: AutoModerationA... method _get_create_guild (line 1208) | def _get_create_guild(self, data: gw.GuildCreateEvent) -> Guild: method is_guild_evicted (line 1221) | def is_guild_evicted(self, guild: Guild) -> bool: method chunk_guild (line 1225) | async def chunk_guild(self, guild: Guild, *, wait: Literal[True] = ...... method chunk_guild (line 1229) | async def chunk_guild( method chunk_guild (line 1234) | async def chunk_guild( method _chunk_timeout (line 1249) | def _chunk_timeout(self, guild: Guild) -> float: method _chunk_and_dispatch (line 1252) | async def _chunk_and_dispatch(self, guild, unavailable): method _add_ready_state (line 1265) | def _add_ready_state(self, guild: Guild) -> bool: method parse_guild_create (line 1274) | def parse_guild_create(self, data: gw.GuildCreateEvent) -> None: method parse_guild_update (line 1296) | def parse_guild_update(self, data: gw.GuildUpdateEvent) -> None: method parse_guild_delete (line 1305) | def parse_guild_delete(self, data: gw.GuildDeleteEvent) -> None: method parse_guild_ban_add (line 1327) | def parse_guild_ban_add(self, data: gw.GuildBanAddEvent) -> None: method parse_guild_ban_remove (line 1343) | def parse_guild_ban_remove(self, data: gw.GuildBanRemoveEvent) -> None: method parse_guild_role_create (line 1349) | def parse_guild_role_create(self, data: gw.GuildRoleCreateEvent) -> None: method parse_guild_role_delete (line 1360) | def parse_guild_role_delete(self, data: gw.GuildRoleDeleteEvent) -> None: method parse_guild_role_update (line 1373) | def parse_guild_role_update(self, data: gw.GuildRoleUpdateEvent) -> None: method parse_guild_members_chunk (line 1386) | def parse_guild_members_chunk(self, data: gw.GuildMembersChunkEvent) -... method parse_guild_integrations_update (line 1409) | def parse_guild_integrations_update(self, data: gw.GuildIntegrationsUp... method parse_integration_create (line 1416) | def parse_integration_create(self, data: gw.IntegrationCreateEvent) ->... method parse_integration_update (line 1426) | def parse_integration_update(self, data: gw.IntegrationUpdateEvent) ->... method parse_integration_delete (line 1436) | def parse_integration_delete(self, data: gw.IntegrationDeleteEvent) ->... method parse_webhooks_update (line 1445) | def parse_webhooks_update(self, data: gw.WebhooksUpdateEvent) -> None: method parse_stage_instance_create (line 1458) | def parse_stage_instance_create(self, data: gw.StageInstanceCreateEven... method parse_stage_instance_update (line 1467) | def parse_stage_instance_update(self, data: gw.StageInstanceUpdateEven... method parse_stage_instance_delete (line 1480) | def parse_stage_instance_delete(self, data: gw.StageInstanceDeleteEven... method parse_guild_scheduled_event_create (line 1492) | def parse_guild_scheduled_event_create(self, data: gw.GuildScheduledEv... method parse_guild_scheduled_event_update (line 1501) | def parse_guild_scheduled_event_update(self, data: gw.GuildScheduledEv... method parse_guild_scheduled_event_delete (line 1514) | def parse_guild_scheduled_event_delete(self, data: gw.GuildScheduledEv... method parse_guild_scheduled_event_user_add (line 1526) | def parse_guild_scheduled_event_user_add(self, data: gw.GuildScheduled... method parse_guild_scheduled_event_user_remove (line 1545) | def parse_guild_scheduled_event_user_remove(self, data: gw.GuildSchedu... method parse_application_command_permissions_update (line 1564) | def parse_application_command_permissions_update(self, data: GuildAppl... method parse_voice_state_update (line 1568) | def parse_voice_state_update(self, data: gw.VoiceStateUpdateEvent) -> ... method parse_voice_server_update (line 1594) | def parse_voice_server_update(self, data: gw.VoiceServerUpdateEvent) -... method parse_typing_start (line 1602) | def parse_typing_start(self, data: gw.TypingStartEvent) -> None: method parse_entitlement_create (line 1624) | def parse_entitlement_create(self, data: gw.EntitlementCreateEvent) ->... method parse_entitlement_update (line 1628) | def parse_entitlement_update(self, data: gw.EntitlementUpdateEvent) ->... method parse_entitlement_delete (line 1632) | def parse_entitlement_delete(self, data: gw.EntitlementDeleteEvent) ->... method parse_message_poll_vote_add (line 1636) | def parse_message_poll_vote_add(self, data: gw.PollVoteActionEvent) ->... method parse_message_poll_vote_remove (line 1654) | def parse_message_poll_vote_remove(self, data: gw.PollVoteActionEvent)... method _get_reaction_user (line 1672) | def _get_reaction_user(self, channel: MessageableChannel, user_id: int... method get_reaction_emoji (line 1677) | def get_reaction_emoji(self, data: PartialEmojiPayload) -> Union[Emoji... method _upgrade_partial_emoji (line 1691) | def _upgrade_partial_emoji(self, emoji: PartialEmoji) -> Union[Emoji, ... method get_channel (line 1700) | def get_channel(self, id: Optional[int]) -> Optional[Union[Channel, Th... method create_message (line 1713) | def create_message(self, *, channel: MessageableChannel, data: Message... class AutoShardedConnectionState (line 1717) | class AutoShardedConnectionState(ConnectionState[ClientT]): method __init__ (line 1718) | def __init__(self, *args: Any, **kwargs: Any) -> None: method _update_message_references (line 1726) | def _update_message_references(self) -> None: method chunker (line 1740) | async def chunker( method _add_ready_state (line 1753) | def _add_ready_state(self, guild: Guild) -> bool: method _delay_ready (line 1762) | async def _delay_ready(self) -> None: method _delay_shard_ready (line 1773) | async def _delay_shard_ready(self, shard_id: int) -> None: method parse_ready (line 1818) | def parse_ready(self, data: gw.ReadyEvent) -> None: method parse_resumed (line 1860) | def parse_resumed(self, data: gw.ResumedEvent) -> None: FILE: discord/sticker.py class StickerPack (line 58) | class StickerPack(Hashable): method __init__ (line 107) | def __init__(self, *, state: ConnectionState, data: StickerPackPayload... method _from_data (line 111) | def _from_data(self, data: StickerPackPayload) -> None: method banner (line 123) | def banner(self) -> Optional[Asset]: method __repr__ (line 127) | def __repr__(self) -> str: method __str__ (line 130) | def __str__(self) -> str: class _StickerTag (line 134) | class _StickerTag(Hashable, AssetMixin): method read (line 140) | async def read(self) -> bytes: class StickerItem (line 168) | class StickerItem(_StickerTag): method __init__ (line 201) | def __init__(self, *, state: ConnectionState, data: StickerItemPayload... method __repr__ (line 208) | def __repr__(self) -> str: method __str__ (line 211) | def __str__(self) -> str: method fetch (line 214) | async def fetch(self) -> Union[Sticker, StandardSticker, GuildSticker]: class Sticker (line 234) | class Sticker(_StickerTag): method __init__ (line 271) | def __init__(self, *, state: ConnectionState, data: StickerPayload) ->... method _from_data (line 275) | def _from_data(self, data: StickerPayload) -> None: method __repr__ (line 285) | def __repr__(self) -> str: method __str__ (line 288) | def __str__(self) -> str: method created_at (line 292) | def created_at(self) -> datetime.datetime: class StandardSticker (line 297) | class StandardSticker(Sticker): method _from_data (line 336) | def _from_data(self, data: StandardStickerPayload) -> None: method __repr__ (line 347) | def __repr__(self) -> str: method pack (line 350) | async def pack(self) -> StickerPack: class GuildSticker (line 376) | class GuildSticker(Sticker): method _from_data (line 418) | def _from_data(self, data: GuildStickerPayload) -> None: method __repr__ (line 427) | def __repr__(self) -> str: method guild (line 431) | def guild(self) -> Optional[Guild]: method edit (line 439) | async def edit( method delete (line 495) | async def delete(self, *, reason: Optional[str] = None) -> None: function _sticker_factory (line 517) | def _sticker_factory(sticker_type: Literal[1, 2]) -> Tuple[Type[Union[St... FILE: discord/team.py class Team (line 48) | class Team: method __init__ (line 67) | def __init__(self, state: ConnectionState, data: TeamPayload) -> None: method __repr__ (line 76) | def __repr__(self) -> str: method icon (line 80) | def icon(self) -> Optional[Asset]: method owner (line 87) | def owner(self) -> Optional[TeamMember]: class TeamMember (line 92) | class TeamMember(BaseUser): method __init__ (line 141) | def __init__(self, team: Team, state: ConnectionState, data: TeamMembe... method __repr__ (line 148) | def __repr__(self) -> str: FILE: discord/template.py class _FriendlyHttpAttributeErrorHelper (line 44) | class _FriendlyHttpAttributeErrorHelper: method __getattr__ (line 47) | def __getattr__(self, attr): class _PartialTemplateState (line 51) | class _PartialTemplateState: method __init__ (line 52) | def __init__(self, *, state) -> None: method shard_count (line 57) | def shard_count(self): method user (line 61) | def user(self): method self_id (line 65) | def self_id(self): method member_cache_flags (line 69) | def member_cache_flags(self): method cache_guild_expressions (line 73) | def cache_guild_expressions(self): method store_emoji (line 76) | def store_emoji(self, guild, packet) -> None: method _get_voice_client (line 79) | def _get_voice_client(self, id) -> None: method _get_message (line 82) | def _get_message(self, id) -> None: method _get_guild (line 85) | def _get_guild(self, id): method query_members (line 88) | async def query_members(self, **kwargs: Any) -> List[Any]: method __getattr__ (line 91) | def __getattr__(self, attr): class Template (line 95) | class Template: method __init__ (line 138) | def __init__(self, *, state: ConnectionState, data: TemplatePayload) -... method _store (line 142) | def _store(self, data: TemplatePayload) -> None: method __repr__ (line 161) | def __repr__(self) -> str: method create_guild (line 167) | async def create_guild(self, name: str, icon: bytes = MISSING) -> Guild: method sync (line 209) | async def sync(self) -> Template: method edit (line 239) | async def edit( method delete (line 287) | async def delete(self) -> None: method url (line 308) | def url(self) -> str: FILE: discord/threads.py class Thread (line 65) | class Thread(Messageable, Hashable): method __init__ (line 160) | def __init__(self, *, guild: Guild, state: ConnectionState, data: Thre... method _get_channel (line 166) | async def _get_channel(self) -> Self: method __repr__ (line 169) | def __repr__(self) -> str: method __str__ (line 175) | def __str__(self) -> str: method _from_data (line 178) | def _from_data(self, data: ThreadPayload): method _unroll_metadata (line 201) | def _unroll_metadata(self, data: ThreadMetadata): method _update (line 210) | def _update(self, data: ThreadPayload) -> None: method type (line 226) | def type(self) -> ThreadChannelType: method parent (line 231) | def parent(self) -> Optional[Union[ForumChannel, TextChannel]]: method flags (line 236) | def flags(self) -> ChannelFlags: method owner (line 241) | def owner(self) -> Optional[Member]: method mention (line 246) | def mention(self) -> str: method jump_url (line 251) | def jump_url(self) -> str: method members (line 259) | def members(self) -> List[ThreadMember]: method applied_tags (line 269) | def applied_tags(self) -> List[ForumTag]: method starter_message (line 287) | def starter_message(self) -> Optional[Message]: method last_message (line 302) | def last_message(self) -> Optional[Message]: method category (line 323) | def category(self) -> Optional[CategoryChannel]: method category_id (line 343) | def category_id(self) -> Optional[int]: method created_at (line 363) | def created_at(self) -> Optional[datetime]: method is_private (line 372) | def is_private(self) -> bool: method is_news (line 380) | def is_news(self) -> bool: method is_nsfw (line 388) | def is_nsfw(self) -> bool: method permissions_for (line 397) | def permissions_for(self, obj: Union[Member, Role], /) -> Permissions: method delete_messages (line 444) | async def delete_messages(self, messages: Iterable[Snowflake], /, *, r... method purge (line 495) | async def purge( method edit (line 577) | async def edit( method add_tags (line 663) | async def add_tags(self, *tags: Snowflake, reason: Optional[str] = Non... method remove_tags (line 701) | async def remove_tags(self, *tags: Snowflake, reason: Optional[str] = ... method join (line 737) | async def join(self) -> None: method leave (line 754) | async def leave(self) -> None: method add_user (line 766) | async def add_user(self, user: Snowflake, /) -> None: method remove_user (line 789) | async def remove_user(self, user: Snowflake, /) -> None: method fetch_member (line 810) | async def fetch_member(self, user_id: int, /) -> ThreadMember: method fetch_members (line 831) | async def fetch_members(self) -> List[ThreadMember]: method delete (line 853) | async def delete(self, *, reason: Optional[str] = None) -> None: method get_partial_message (line 877) | def get_partial_message(self, message_id: int, /) -> PartialMessage: method _add_member (line 900) | def _add_member(self, member: ThreadMember, /) -> None: method _pop_member (line 903) | def _pop_member(self, member_id: int, /) -> Optional[ThreadMember]: class ThreadMember (line 907) | class ThreadMember(Hashable): method __init__ (line 949) | def __init__(self, parent: Thread, data: ThreadMemberPayload) -> None: method __repr__ (line 954) | def __repr__(self) -> str: method _from_data (line 957) | def _from_data(self, data: ThreadMemberPayload) -> None: method thread (line 974) | def thread(self) -> Thread: FILE: discord/types/activity.py class PartialPresenceUpdate (line 36) | class PartialPresenceUpdate(TypedDict): class ClientStatus (line 44) | class ClientStatus(TypedDict, total=False): class ActivityTimestamps (line 50) | class ActivityTimestamps(TypedDict, total=False): class ActivityParty (line 55) | class ActivityParty(TypedDict, total=False): class ActivityAssets (line 60) | class ActivityAssets(TypedDict, total=False): class ActivitySecrets (line 67) | class ActivitySecrets(TypedDict, total=False): class ActivityEmoji (line 73) | class ActivityEmoji(TypedDict): class SendableActivity (line 82) | class SendableActivity(TypedDict): class _BaseActivity (line 88) | class _BaseActivity(SendableActivity): class Activity (line 92) | class Activity(_BaseActivity, total=False): FILE: discord/types/appinfo.py class InstallParams (line 35) | class InstallParams(TypedDict): class BaseAppInfo (line 40) | class BaseAppInfo(TypedDict): class AppInfo (line 57) | class AppInfo(BaseAppInfo): class PartialAppInfo (line 72) | class PartialAppInfo(BaseAppInfo, total=False): class GatewayAppInfo (line 78) | class GatewayAppInfo(TypedDict): FILE: discord/types/audit_log.py class _AuditLogChange_Str (line 102) | class _AuditLogChange_Str(TypedDict): class _AuditLogChange_AssetHash (line 120) | class _AuditLogChange_AssetHash(TypedDict): class _AuditLogChange_Snowflake (line 126) | class _AuditLogChange_Snowflake(TypedDict): class _AuditLogChange_Bool (line 144) | class _AuditLogChange_Bool(TypedDict): class _AuditLogChange_Int (line 165) | class _AuditLogChange_Int(TypedDict): class _AuditLogChange_ListRole (line 186) | class _AuditLogChange_ListRole(TypedDict): class _AuditLogChange_MFALevel (line 192) | class _AuditLogChange_MFALevel(TypedDict): class _AuditLogChange_VerificationLevel (line 198) | class _AuditLogChange_VerificationLevel(TypedDict): class _AuditLogChange_ExplicitContentFilter (line 204) | class _AuditLogChange_ExplicitContentFilter(TypedDict): class _AuditLogChange_DefaultMessageNotificationLevel (line 210) | class _AuditLogChange_DefaultMessageNotificationLevel(TypedDict): class _AuditLogChange_ChannelType (line 216) | class _AuditLogChange_ChannelType(TypedDict): class _AuditLogChange_IntegrationExpireBehaviour (line 222) | class _AuditLogChange_IntegrationExpireBehaviour(TypedDict): class _AuditLogChange_VideoQualityMode (line 228) | class _AuditLogChange_VideoQualityMode(TypedDict): class _AuditLogChange_Overwrites (line 234) | class _AuditLogChange_Overwrites(TypedDict): class _AuditLogChange_PrivacyLevel (line 240) | class _AuditLogChange_PrivacyLevel(TypedDict): class _AuditLogChange_Status (line 246) | class _AuditLogChange_Status(TypedDict): class _AuditLogChange_EntityType (line 252) | class _AuditLogChange_EntityType(TypedDict): class _AuditLogChange_AppCommandPermissions (line 258) | class _AuditLogChange_AppCommandPermissions(TypedDict): class _AuditLogChange_AppliedTags (line 264) | class _AuditLogChange_AppliedTags(TypedDict): class _AuditLogChange_AvailableTags (line 270) | class _AuditLogChange_AvailableTags(TypedDict): class _AuditLogChange_DefaultReactionEmoji (line 276) | class _AuditLogChange_DefaultReactionEmoji(TypedDict): class _AuditLogChange_TriggerMetadata (line 282) | class _AuditLogChange_TriggerMetadata(TypedDict): class AuditEntryInfo (line 314) | class AuditEntryInfo(TypedDict): class AuditLogEntry (line 330) | class AuditLogEntry(TypedDict): class AuditLog (line 340) | class AuditLog(TypedDict): FILE: discord/types/automod.py class Empty (line 36) | class Empty(TypedDict): class _AutoModerationActionMetadataAlert (line 40) | class _AutoModerationActionMetadataAlert(TypedDict): class _AutoModerationActionMetadataTimeout (line 44) | class _AutoModerationActionMetadataTimeout(TypedDict): class _AutoModerationActionMetadataCustomMessage (line 48) | class _AutoModerationActionMetadataCustomMessage(TypedDict): class _AutoModerationActionBlockMessage (line 52) | class _AutoModerationActionBlockMessage(TypedDict): class _AutoModerationActionAlert (line 57) | class _AutoModerationActionAlert(TypedDict): class _AutoModerationActionTimeout (line 62) | class _AutoModerationActionTimeout(TypedDict): class _AutoModerationTriggerMetadataKeyword (line 70) | class _AutoModerationTriggerMetadataKeyword(TypedDict): class _AutoModerationTriggerMetadataKeywordPreset (line 75) | class _AutoModerationTriggerMetadataKeywordPreset(TypedDict): class _AutoModerationTriggerMetadataMentionLimit (line 80) | class _AutoModerationTriggerMetadataMentionLimit(TypedDict): class _BaseAutoModerationRule (line 93) | class _BaseAutoModerationRule(TypedDict): class _AutoModerationRuleKeyword (line 105) | class _AutoModerationRuleKeyword(_BaseAutoModerationRule): class _AutoModerationRuleKeywordPreset (line 110) | class _AutoModerationRuleKeywordPreset(_BaseAutoModerationRule): class _AutoModerationRuleOther (line 115) | class _AutoModerationRuleOther(_BaseAutoModerationRule): class AutoModerationActionExecution (line 122) | class AutoModerationActionExecution(TypedDict): FILE: discord/types/channel.py class PermissionOverwrite (line 36) | class PermissionOverwrite(TypedDict): class _BaseChannel (line 47) | class _BaseChannel(TypedDict): class _BaseGuildChannel (line 52) | class _BaseGuildChannel(_BaseChannel): class PartialChannel (line 60) | class PartialChannel(_BaseChannel): class _BaseTextChannel (line 64) | class _BaseTextChannel(_BaseGuildChannel, total=False): class TextChannel (line 73) | class TextChannel(_BaseTextChannel): class NewsChannel (line 77) | class NewsChannel(_BaseTextChannel): class VoiceChannel (line 84) | class VoiceChannel(_BaseTextChannel): class CategoryChannel (line 92) | class CategoryChannel(_BaseGuildChannel): class StageChannel (line 96) | class StageChannel(_BaseGuildChannel): class ThreadChannel (line 104) | class ThreadChannel(_BaseChannel): class DefaultReaction (line 124) | class DefaultReaction(TypedDict): class ForumTag (line 129) | class ForumTag(TypedDict): class _BaseForumChannel (line 141) | class _BaseForumChannel(_BaseTextChannel): class ForumChannel (line 149) | class ForumChannel(_BaseForumChannel): class MediaChannel (line 153) | class MediaChannel(_BaseForumChannel): class _BaseDMChannel (line 162) | class _BaseDMChannel(_BaseChannel): class DMChannel (line 167) | class DMChannel(_BaseDMChannel): class InteractionDMChannel (line 171) | class InteractionDMChannel(_BaseDMChannel): class GroupDMChannel (line 175) | class GroupDMChannel(_BaseChannel): class StageInstance (line 187) | class StageInstance(TypedDict): FILE: discord/types/command.py class _BaseApplicationCommandOption (line 39) | class _BaseApplicationCommandOption(TypedDict): class _SubCommandCommandOption (line 46) | class _SubCommandCommandOption(_BaseApplicationCommandOption): class _SubCommandGroupCommandOption (line 51) | class _SubCommandGroupCommandOption(_BaseApplicationCommandOption): class _BaseValueApplicationCommandOption (line 56) | class _BaseValueApplicationCommandOption(_BaseApplicationCommandOption, ... class _StringApplicationCommandOptionChoice (line 60) | class _StringApplicationCommandOptionChoice(TypedDict): class _StringApplicationCommandOption (line 66) | class _StringApplicationCommandOption(_BaseApplicationCommandOption): class _IntegerApplicationCommandOptionChoice (line 74) | class _IntegerApplicationCommandOptionChoice(TypedDict): class _IntegerApplicationCommandOption (line 80) | class _IntegerApplicationCommandOption(_BaseApplicationCommandOption, to... class _BooleanApplicationCommandOption (line 88) | class _BooleanApplicationCommandOption(_BaseValueApplicationCommandOption): class _ChannelApplicationCommandOptionChoice (line 92) | class _ChannelApplicationCommandOptionChoice(_BaseApplicationCommandOpti... class _NonChannelSnowflakeApplicationCommandOptionChoice (line 97) | class _NonChannelSnowflakeApplicationCommandOptionChoice(_BaseValueAppli... class _NumberApplicationCommandOptionChoice (line 107) | class _NumberApplicationCommandOptionChoice(TypedDict): class _NumberApplicationCommandOption (line 113) | class _NumberApplicationCommandOption(_BaseValueApplicationCommandOption... class _BaseApplicationCommand (line 142) | class _BaseApplicationCommand(TypedDict): class _ChatInputApplicationCommand (line 156) | class _ChatInputApplicationCommand(_BaseApplicationCommand, total=False): class _BaseContextMenuApplicationCommand (line 165) | class _BaseContextMenuApplicationCommand(_BaseApplicationCommand): class _UserApplicationCommand (line 169) | class _UserApplicationCommand(_BaseContextMenuApplicationCommand): class _MessageApplicationCommand (line 173) | class _MessageApplicationCommand(_BaseContextMenuApplicationCommand): class _GuildChatInputApplicationCommand (line 184) | class _GuildChatInputApplicationCommand(_ChatInputApplicationCommand): class _GuildUserApplicationCommand (line 188) | class _GuildUserApplicationCommand(_UserApplicationCommand): class _GuildMessageApplicationCommand (line 192) | class _GuildMessageApplicationCommand(_MessageApplicationCommand): class ApplicationCommandPermissions (line 212) | class ApplicationCommandPermissions(TypedDict): class GuildApplicationCommandPermissions (line 218) | class GuildApplicationCommandPermissions(TypedDict): FILE: discord/types/components.py class ActionRow (line 39) | class ActionRow(TypedDict): class ButtonComponent (line 44) | class ButtonComponent(TypedDict): class SelectOption (line 55) | class SelectOption(TypedDict): class SelectComponent (line 63) | class SelectComponent(TypedDict): class SelectDefaultValues (line 71) | class SelectDefaultValues(TypedDict): class StringSelectComponent (line 76) | class StringSelectComponent(SelectComponent): class UserSelectComponent (line 81) | class UserSelectComponent(SelectComponent): class RoleSelectComponent (line 86) | class RoleSelectComponent(SelectComponent): class MentionableSelectComponent (line 91) | class MentionableSelectComponent(SelectComponent): class ChannelSelectComponent (line 96) | class ChannelSelectComponent(SelectComponent): class TextInput (line 102) | class TextInput(TypedDict): class SelectMenu (line 114) | class SelectMenu(SelectComponent): FILE: discord/types/embed.py class EmbedFooter (line 29) | class EmbedFooter(TypedDict): class EmbedField (line 35) | class EmbedField(TypedDict): class EmbedThumbnail (line 41) | class EmbedThumbnail(TypedDict, total=False): class EmbedVideo (line 48) | class EmbedVideo(TypedDict, total=False): class EmbedImage (line 55) | class EmbedImage(TypedDict, total=False): class EmbedProvider (line 62) | class EmbedProvider(TypedDict, total=False): class EmbedAuthor (line 67) | class EmbedAuthor(TypedDict, total=False): class Embed (line 77) | class Embed(TypedDict, total=False): FILE: discord/types/emoji.py class PartialEmoji (line 30) | class PartialEmoji(TypedDict): class Emoji (line 35) | class Emoji(PartialEmoji, total=False): class EditEmoji (line 44) | class EditEmoji(TypedDict): FILE: discord/types/gateway.py class SessionStartLimit (line 50) | class SessionStartLimit(TypedDict): class Gateway (line 57) | class Gateway(TypedDict): class GatewayBot (line 61) | class GatewayBot(Gateway): class ReadyEvent (line 66) | class ReadyEvent(TypedDict): class MessageDeleteEvent (line 81) | class MessageDeleteEvent(TypedDict): class MessageDeleteBulkEvent (line 87) | class MessageDeleteBulkEvent(TypedDict): class MessageUpdateEvent (line 93) | class MessageUpdateEvent(Message): class MessageReactionAddEvent (line 97) | class MessageReactionAddEvent(TypedDict): class MessageReactionRemoveEvent (line 110) | class MessageReactionRemoveEvent(TypedDict): class MessageReactionRemoveAllEvent (line 120) | class MessageReactionRemoveAllEvent(TypedDict): class MessageReactionRemoveEmojiEvent (line 126) | class MessageReactionRemoveEmojiEvent(TypedDict): class InviteCreateEvent (line 142) | class InviteCreateEvent(TypedDict): class InviteDeleteEvent (line 157) | class InviteDeleteEvent(TypedDict): class _ChannelEvent (line 163) | class _ChannelEvent(TypedDict): class ChannelPinsUpdateEvent (line 171) | class ChannelPinsUpdateEvent(TypedDict): class ThreadCreateEvent (line 177) | class ThreadCreateEvent(Thread, total=False): class ThreadDeleteEvent (line 185) | class ThreadDeleteEvent(TypedDict): class ThreadListSyncEvent (line 192) | class ThreadListSyncEvent(TypedDict): class ThreadMemberUpdate (line 199) | class ThreadMemberUpdate(ThreadMember): class ThreadMembersUpdate (line 203) | class ThreadMembersUpdate(TypedDict): class GuildMemberAddEvent (line 211) | class GuildMemberAddEvent(MemberWithUser): class GuildMemberRemoveEvent (line 215) | class GuildMemberRemoveEvent(TypedDict): class GuildMemberUpdateEvent (line 220) | class GuildMemberUpdateEvent(TypedDict): class GuildEmojisUpdateEvent (line 236) | class GuildEmojisUpdateEvent(TypedDict): class GuildStickersUpdateEvent (line 241) | class GuildStickersUpdateEvent(TypedDict): class _GuildBanEvent (line 250) | class _GuildBanEvent(TypedDict): class _GuildRoleEvent (line 258) | class _GuildRoleEvent(TypedDict): class GuildRoleDeleteEvent (line 263) | class GuildRoleDeleteEvent(TypedDict): class GuildMembersChunkEvent (line 271) | class GuildMembersChunkEvent(TypedDict): class GuildIntegrationsUpdateEvent (line 281) | class GuildIntegrationsUpdateEvent(TypedDict): class _IntegrationEvent (line 285) | class _IntegrationEvent(BaseIntegration, total=False): class IntegrationDeleteEvent (line 297) | class IntegrationDeleteEvent(TypedDict): class WebhooksUpdateEvent (line 303) | class WebhooksUpdateEvent(TypedDict): class _GuildScheduledEventUsersEvent (line 313) | class _GuildScheduledEventUsersEvent(TypedDict): class VoiceServerUpdateEvent (line 324) | class VoiceServerUpdateEvent(TypedDict): class TypingStartEvent (line 330) | class TypingStartEvent(TypedDict): class AutoModerationActionExecution (line 338) | class AutoModerationActionExecution(TypedDict): class GuildAuditLogEntryCreate (line 352) | class GuildAuditLogEntryCreate(AuditLogEntry): class PollVoteActionEvent (line 359) | class PollVoteActionEvent(TypedDict): FILE: discord/types/guild.py class Ban (line 42) | class Ban(TypedDict): class UnavailableGuild (line 47) | class UnavailableGuild(TypedDict): class IncidentData (line 52) | class IncidentData(TypedDict): class _BaseGuildPreview (line 96) | class _BaseGuildPreview(UnavailableGuild): class _GuildPreviewUnique (line 108) | class _GuildPreviewUnique(TypedDict): class GuildPreview (line 113) | class GuildPreview(_BaseGuildPreview, _GuildPreviewUnique): class Guild (line 117) | class Guild(_BaseGuildPreview): class InviteGuild (line 159) | class InviteGuild(Guild, total=False): class GuildWithCounts (line 163) | class GuildWithCounts(Guild, _GuildPreviewUnique): class GuildPrune (line 167) | class GuildPrune(TypedDict): class GuildMFALevel (line 171) | class GuildMFALevel(TypedDict): class ChannelPositionUpdate (line 175) | class ChannelPositionUpdate(TypedDict): class _RolePositionRequired (line 182) | class _RolePositionRequired(TypedDict): class RolePositionUpdate (line 186) | class RolePositionUpdate(_RolePositionRequired, total=False): class BulkBanUserResponse (line 190) | class BulkBanUserResponse(TypedDict): FILE: discord/types/integration.py class IntegrationApplication (line 34) | class IntegrationApplication(TypedDict): class IntegrationAccount (line 43) | class IntegrationAccount(TypedDict): class PartialIntegration (line 51) | class PartialIntegration(TypedDict): class BaseIntegration (line 62) | class BaseIntegration(PartialIntegration): class StreamIntegration (line 71) | class StreamIntegration(BaseIntegration): class BotIntegration (line 78) | class BotIntegration(BaseIntegration): FILE: discord/types/interactions.py class _BasePartialChannel (line 49) | class _BasePartialChannel(TypedDict): class PartialChannel (line 55) | class PartialChannel(_BasePartialChannel): class PartialThread (line 59) | class PartialThread(_BasePartialChannel): class ResolvedData (line 65) | class ResolvedData(TypedDict, total=False): class PartialInteractionGuild (line 74) | class PartialInteractionGuild(TypedDict): class _BaseApplicationCommandInteractionDataOption (line 80) | class _BaseApplicationCommandInteractionDataOption(TypedDict): class _CommandGroupApplicationCommandInteractionDataOption (line 84) | class _CommandGroupApplicationCommandInteractionDataOption(_BaseApplicat... class _BaseValueApplicationCommandInteractionDataOption (line 89) | class _BaseValueApplicationCommandInteractionDataOption(_BaseApplication... class _StringValueApplicationCommandInteractionDataOption (line 93) | class _StringValueApplicationCommandInteractionDataOption(_BaseValueAppl... class _IntegerValueApplicationCommandInteractionDataOption (line 98) | class _IntegerValueApplicationCommandInteractionDataOption(_BaseValueApp... class _BooleanValueApplicationCommandInteractionDataOption (line 103) | class _BooleanValueApplicationCommandInteractionDataOption(_BaseValueApp... class _SnowflakeValueApplicationCommandInteractionDataOption (line 108) | class _SnowflakeValueApplicationCommandInteractionDataOption(_BaseValueA... class _NumberValueApplicationCommandInteractionDataOption (line 113) | class _NumberValueApplicationCommandInteractionDataOption(_BaseValueAppl... class _BaseApplicationCommandInteractionData (line 133) | class _BaseApplicationCommandInteractionData(TypedDict): class ChatInputApplicationCommandInteractionData (line 140) | class ChatInputApplicationCommandInteractionData(_BaseApplicationCommand... class _BaseNonChatInputApplicationCommandInteractionData (line 145) | class _BaseNonChatInputApplicationCommandInteractionData(_BaseApplicatio... class UserApplicationCommandInteractionData (line 149) | class UserApplicationCommandInteractionData(_BaseNonChatInputApplication... class MessageApplicationCommandInteractionData (line 153) | class MessageApplicationCommandInteractionData(_BaseNonChatInputApplicat... class _BaseMessageComponentInteractionData (line 164) | class _BaseMessageComponentInteractionData(TypedDict): class ButtonMessageComponentInteractionData (line 168) | class ButtonMessageComponentInteractionData(_BaseMessageComponentInterac... class SelectMessageComponentInteractionData (line 172) | class SelectMessageComponentInteractionData(_BaseMessageComponentInterac... class ModalSubmitTextInputInteractionData (line 181) | class ModalSubmitTextInputInteractionData(TypedDict): class ModalSubmitActionRowInteractionData (line 190) | class ModalSubmitActionRowInteractionData(TypedDict): class ModalSubmitInteractionData (line 198) | class ModalSubmitInteractionData(TypedDict): class _BaseInteraction (line 210) | class _BaseInteraction(TypedDict): class PingInteraction (line 228) | class PingInteraction(_BaseInteraction): class ApplicationCommandInteraction (line 232) | class ApplicationCommandInteraction(_BaseInteraction): class MessageComponentInteraction (line 237) | class MessageComponentInteraction(_BaseInteraction): class ModalSubmitInteraction (line 242) | class ModalSubmitInteraction(_BaseInteraction): class MessageInteraction (line 250) | class MessageInteraction(TypedDict): class MessageInteractionMetadata (line 258) | class MessageInteractionMetadata(TypedDict): FILE: discord/types/invite.py class _InviteMetadata (line 41) | class _InviteMetadata(TypedDict, total=False): class VanityInvite (line 50) | class VanityInvite(_InviteMetadata): class IncompleteInvite (line 55) | class IncompleteInvite(_InviteMetadata): class Invite (line 60) | class Invite(IncompleteInvite, total=False): class InviteWithCounts (line 70) | class InviteWithCounts(Invite, _GuildPreviewUnique): class GatewayInviteCreate (line 74) | class GatewayInviteCreate(TypedDict): class GatewayInviteDelete (line 89) | class GatewayInviteDelete(TypedDict): FILE: discord/types/member.py class Nickname (line 31) | class Nickname(TypedDict): class PartialMember (line 35) | class PartialMember(TypedDict): class Member (line 43) | class Member(PartialMember, total=False): class _OptionalMemberWithUser (line 55) | class _OptionalMemberWithUser(PartialMember, total=False): class MemberWithUser (line 65) | class MemberWithUser(_OptionalMemberWithUser): class UserWithMember (line 69) | class UserWithMember(User, total=False): FILE: discord/types/message.py class PartialMessage (line 43) | class PartialMessage(TypedDict): class ChannelMention (line 48) | class ChannelMention(TypedDict): class ReactionCountDetails (line 55) | class ReactionCountDetails(TypedDict): class Reaction (line 63) | class Reaction(TypedDict): class Attachment (line 72) | class Attachment(TypedDict): class MessageActivity (line 92) | class MessageActivity(TypedDict): class MessageApplication (line 97) | class MessageApplication(TypedDict): class MessageReference (line 105) | class MessageReference(TypedDict, total=False): class RoleSubscriptionData (line 112) | class RoleSubscriptionData(TypedDict): class Message (line 157) | class Message(PartialMessage): class AllowedMentions (line 195) | class AllowedMentions(TypedDict): FILE: discord/types/poll.py class PollMedia (line 41) | class PollMedia(TypedDict): class PollAnswer (line 46) | class PollAnswer(TypedDict): class PollAnswerWithID (line 50) | class PollAnswerWithID(PollAnswer): class PollAnswerCount (line 54) | class PollAnswerCount(TypedDict): class PollAnswerVoters (line 60) | class PollAnswerVoters(TypedDict): class PollResult (line 64) | class PollResult(TypedDict): class PollCreate (line 69) | class PollCreate(TypedDict): class Poll (line 82) | class Poll(TypedDict): FILE: discord/types/role.py class Role (line 33) | class Role(TypedDict): class RoleTags (line 48) | class RoleTags(TypedDict, total=False): FILE: discord/types/scheduled_event.py class _BaseGuildScheduledEvent (line 37) | class _BaseGuildScheduledEvent(TypedDict): class _VoiceChannelScheduledEvent (line 52) | class _VoiceChannelScheduledEvent(_BaseGuildScheduledEvent): class StageInstanceScheduledEvent (line 58) | class StageInstanceScheduledEvent(_VoiceChannelScheduledEvent): class VoiceScheduledEvent (line 62) | class VoiceScheduledEvent(_VoiceChannelScheduledEvent): class EntityMetadata (line 66) | class EntityMetadata(TypedDict): class ExternalScheduledEvent (line 70) | class ExternalScheduledEvent(_BaseGuildScheduledEvent): class _WithUserCount (line 80) | class _WithUserCount(TypedDict): class _StageInstanceScheduledEventWithUserCount (line 84) | class _StageInstanceScheduledEventWithUserCount(StageInstanceScheduledEv... class _VoiceScheduledEventWithUserCount (line 88) | class _VoiceScheduledEventWithUserCount(VoiceScheduledEvent, _WithUserCo... class _ExternalScheduledEventWithUserCount (line 92) | class _ExternalScheduledEventWithUserCount(ExternalScheduledEvent, _With... class ScheduledEventUser (line 101) | class ScheduledEventUser(TypedDict): class ScheduledEventUserWithMember (line 106) | class ScheduledEventUserWithMember(ScheduledEventUser): FILE: discord/types/sku.py class SKU (line 31) | class SKU(TypedDict): class Entitlement (line 40) | class Entitlement(TypedDict): FILE: discord/types/sticker.py class StickerItem (line 36) | class StickerItem(TypedDict): class BaseSticker (line 42) | class BaseSticker(TypedDict): class StandardSticker (line 50) | class StandardSticker(BaseSticker): class GuildSticker (line 56) | class GuildSticker(BaseSticker): class StickerPack (line 66) | class StickerPack(TypedDict): class CreateGuildSticker (line 76) | class CreateGuildSticker(TypedDict): class ListPremiumStickerPacks (line 82) | class ListPremiumStickerPacks(TypedDict): FILE: discord/types/team.py class TeamMember (line 33) | class TeamMember(TypedDict): class Team (line 41) | class Team(TypedDict): FILE: discord/types/template.py class CreateTemplate (line 33) | class CreateTemplate(TypedDict): class Template (line 38) | class Template(TypedDict): FILE: discord/types/threads.py class ThreadMember (line 37) | class ThreadMember(TypedDict): class ThreadMetadata (line 44) | class ThreadMetadata(TypedDict): class Thread (line 54) | class Thread(TypedDict): class ThreadPaginationPayload (line 73) | class ThreadPaginationPayload(TypedDict): class ForumThread (line 79) | class ForumThread(Thread): FILE: discord/types/user.py class AvatarDecorationData (line 30) | class AvatarDecorationData(TypedDict): class PartialUser (line 35) | class PartialUser(TypedDict): class User (line 47) | class User(PartialUser, total=False): FILE: discord/types/voice.py class _VoiceState (line 35) | class _VoiceState(TypedDict): class GuildVoiceState (line 48) | class GuildVoiceState(_VoiceState): class VoiceState (line 52) | class VoiceState(_VoiceState, total=False): class VoiceRegion (line 57) | class VoiceRegion(TypedDict): class VoiceServerUpdate (line 66) | class VoiceServerUpdate(TypedDict): class VoiceIdentify (line 72) | class VoiceIdentify(TypedDict): class VoiceReady (line 79) | class VoiceReady(TypedDict): FILE: discord/types/webhook.py class SourceGuild (line 35) | class SourceGuild(TypedDict): class FollowerWebhook (line 44) | class FollowerWebhook(TypedDict): class PartialWebhook (line 51) | class PartialWebhook(TypedDict): class _FullWebhook (line 59) | class _FullWebhook(TypedDict, total=False): class Webhook (line 66) | class Webhook(PartialWebhook, _FullWebhook): FILE: discord/types/welcome_screen.py class WelcomeScreen (line 31) | class WelcomeScreen(TypedDict): class WelcomeScreenChannel (line 36) | class WelcomeScreenChannel(TypedDict): FILE: discord/types/widget.py class WidgetChannel (line 31) | class WidgetChannel(TypedDict): class WidgetMember (line 37) | class WidgetMember(User, total=False): class Widget (line 49) | class Widget(TypedDict): class WidgetSettings (line 58) | class WidgetSettings(TypedDict): class EditWidgetSettings (line 63) | class EditWidgetSettings(TypedDict, total=False): FILE: discord/ui/button.py class Button (line 52) | class Button(Item[V]): method __init__ (line 97) | def __init__( method style (line 150) | def style(self) -> ButtonStyle: method style (line 155) | def style(self, value: ButtonStyle) -> None: method custom_id (line 159) | def custom_id(self) -> Optional[str]: method custom_id (line 167) | def custom_id(self, value: Optional[str]) -> None: method url (line 175) | def url(self) -> Optional[str]: method url (line 180) | def url(self, value: Optional[str]) -> None: method disabled (line 186) | def disabled(self) -> bool: method disabled (line 191) | def disabled(self, value: bool) -> None: method label (line 195) | def label(self) -> Optional[str]: method label (line 200) | def label(self, value: Optional[str]) -> None: method emoji (line 204) | def emoji(self) -> Optional[PartialEmoji]: method emoji (line 209) | def emoji(self, value: Optional[Union[str, Emoji, PartialEmoji]]) -> N... method sku_id (line 221) | def sku_id(self) -> Optional[int]: method sku_id (line 229) | def sku_id(self, value: Optional[int]) -> None: method from_component (line 235) | def from_component(cls, button: ButtonComponent) -> Self: method type (line 248) | def type(self) -> Literal[ComponentType.button]: method to_component_dict (line 251) | def to_component_dict(self) -> ButtonComponentPayload: method is_dispatchable (line 254) | def is_dispatchable(self) -> bool: method is_persistent (line 257) | def is_persistent(self) -> bool: method _refresh_component (line 262) | def _refresh_component(self, button: ButtonComponent) -> None: function button (line 266) | def button( FILE: discord/ui/dynamic.py class DynamicItem (line 48) | class DynamicItem(Generic[BaseT], Item['View']): method __init_subclass__ (line 93) | def __init_subclass__(cls, *, template: Union[str, re.Pattern[str]]) -... method __init__ (line 99) | def __init__( method template (line 117) | def template(self) -> re.Pattern[str]: method to_component_dict (line 121) | def to_component_dict(self) -> Dict[str, Any]: method _refresh_component (line 124) | def _refresh_component(self, component: Component) -> None: method _refresh_state (line 127) | def _refresh_state(self, interaction: Interaction, data: Dict[str, Any... method from_component (line 131) | def from_component(cls: Type[Self], component: Component) -> Self: method type (line 135) | def type(self) -> ComponentType: method is_dispatchable (line 138) | def is_dispatchable(self) -> bool: method is_persistent (line 141) | def is_persistent(self) -> bool: method custom_id (line 145) | def custom_id(self) -> str: method custom_id (line 150) | def custom_id(self, value: str) -> None: method row (line 161) | def row(self) -> Optional[int]: method row (line 165) | def row(self, value: Optional[int]) -> None: method width (line 169) | def width(self) -> int: method from_custom_id (line 173) | async def from_custom_id( method callback (line 212) | async def callback(self, interaction: Interaction[ClientT]) -> Any: method interaction_check (line 215) | async def interaction_check(self, interaction: Interaction[ClientT], /... FILE: discord/ui/item.py class Item (line 48) | class Item(Generic[V]): method __init__ (line 62) | def __init__(self): method to_component_dict (line 74) | def to_component_dict(self) -> Dict[str, Any]: method _refresh_component (line 77) | def _refresh_component(self, component: Component) -> None: method _refresh_state (line 80) | def _refresh_state(self, interaction: Interaction, data: Dict[str, Any... method from_component (line 84) | def from_component(cls: Type[I], component: Component) -> I: method type (line 88) | def type(self) -> ComponentType: method is_dispatchable (line 91) | def is_dispatchable(self) -> bool: method is_persistent (line 94) | def is_persistent(self) -> bool: method __repr__ (line 97) | def __repr__(self) -> str: method row (line 102) | def row(self) -> Optional[int]: method row (line 106) | def row(self, value: Optional[int]) -> None: method width (line 115) | def width(self) -> int: method view (line 119) | def view(self) -> Optional[V]: method callback (line 123) | async def callback(self, interaction: Interaction[ClientT]) -> Any: method interaction_check (line 137) | async def interaction_check(self, interaction: Interaction[ClientT], /... FILE: discord/ui/modal.py class Modal (line 55) | class Modal(View): method __init_subclass__ (line 104) | def __init_subclass__(cls, *, title: str = MISSING) -> None: method _init_children (line 116) | def _init_children(self) -> List[Item]: method __init__ (line 125) | def __init__( method on_submit (line 140) | async def on_submit(self, interaction: Interaction[ClientT], /) -> None: method on_error (line 152) | async def on_error(self, interaction: Interaction[ClientT], error: Exc... method _refresh (line 169) | def _refresh(self, interaction: Interaction, components: Sequence[Moda... method _scheduled_task (line 180) | async def _scheduled_task(self, interaction: Interaction, components: ... method _dispatch_submit (line 197) | def _dispatch_submit( method to_dict (line 202) | def to_dict(self) -> Dict[str, Any]: FILE: discord/ui/select.py function _is_valid_object_type (line 121) | def _is_valid_object_type( function _handle_select_defaults (line 129) | def _handle_select_defaults( class BaseSelect (line 186) | class BaseSelect(Item[V]): method __init__ (line 227) | def __init__( method values (line 263) | def values(self) -> List[PossibleValue]: method custom_id (line 268) | def custom_id(self) -> str: method custom_id (line 273) | def custom_id(self, value: str) -> None: method placeholder (line 281) | def placeholder(self) -> Optional[str]: method placeholder (line 286) | def placeholder(self, value: Optional[str]) -> None: method min_values (line 293) | def min_values(self) -> int: method min_values (line 298) | def min_values(self, value: int) -> None: method max_values (line 302) | def max_values(self) -> int: method max_values (line 307) | def max_values(self, value: int) -> None: method disabled (line 311) | def disabled(self) -> bool: method disabled (line 316) | def disabled(self, value: bool) -> None: method width (line 320) | def width(self) -> int: method to_component_dict (line 323) | def to_component_dict(self) -> SelectMenuPayload: method _refresh_component (line 326) | def _refresh_component(self, component: SelectMenu) -> None: method _refresh_state (line 329) | def _refresh_state(self, interaction: Interaction, data: SelectMessage... method is_dispatchable (line 341) | def is_dispatchable(self) -> bool: method from_component (line 345) | def from_component(cls, component: SelectMenu) -> BaseSelect[V]: class Select (line 358) | class Select(BaseSelect[V]): method __init__ (line 394) | def __init__( method values (line 417) | def values(self) -> List[str]: method type (line 422) | def type(self) -> Literal[ComponentType.string_select]: method options (line 427) | def options(self) -> List[SelectOption]: method options (line 432) | def options(self, value: List[SelectOption]) -> None: method add_option (line 440) | def add_option( method append_option (line 488) | def append_option(self, option: SelectOption) -> None: class UserSelect (line 508) | class UserSelect(BaseSelect[V]): method __init__ (line 549) | def __init__( method type (line 572) | def type(self) -> Literal[ComponentType.user_select]: method values (line 577) | def values(self) -> List[Union[Member, User]]: method default_values (line 590) | def default_values(self) -> List[SelectDefaultValue]: method default_values (line 598) | def default_values(self, value: Sequence[ValidDefaultValues]) -> None: class RoleSelect (line 602) | class RoleSelect(BaseSelect[V]): method __init__ (line 641) | def __init__( method type (line 664) | def type(self) -> Literal[ComponentType.role_select]: method values (line 669) | def values(self) -> List[Role]: method default_values (line 674) | def default_values(self) -> List[SelectDefaultValue]: method default_values (line 682) | def default_values(self, value: Sequence[ValidDefaultValues]) -> None: class MentionableSelect (line 686) | class MentionableSelect(BaseSelect[V]): method __init__ (line 729) | def __init__( method type (line 752) | def type(self) -> Literal[ComponentType.mentionable_select]: method values (line 757) | def values(self) -> List[Union[Member, User, Role]]: method default_values (line 770) | def default_values(self) -> List[SelectDefaultValue]: method default_values (line 778) | def default_values(self, value: Sequence[ValidDefaultValues]) -> None: class ChannelSelect (line 782) | class ChannelSelect(BaseSelect[V]): method __init__ (line 826) | def __init__( method type (line 851) | def type(self) -> Literal[ComponentType.channel_select]: method channel_types (line 856) | def channel_types(self) -> List[ChannelType]: method channel_types (line 861) | def channel_types(self, value: List[ChannelType]) -> None: method values (line 870) | def values(self) -> List[Union[AppCommandChannel, AppCommandThread]]: method default_values (line 875) | def default_values(self) -> List[SelectDefaultValue]: method default_values (line 883) | def default_values(self, value: Sequence[ValidDefaultValues]) -> None: function select (line 888) | def select( function select (line 904) | def select( function select (line 921) | def select( function select (line 938) | def select( function select (line 955) | def select( function select (line 971) | def select( FILE: discord/ui/text_input.py class TextInput (line 53) | class TextInput(Item[V]): method __init__ (line 103) | def __init__( method __str__ (line 135) | def __str__(self) -> str: method custom_id (line 139) | def custom_id(self) -> str: method custom_id (line 144) | def custom_id(self, value: str) -> None: method width (line 152) | def width(self) -> int: method value (line 156) | def value(self) -> str: method label (line 161) | def label(self) -> str: method label (line 166) | def label(self, value: str) -> None: method placeholder (line 170) | def placeholder(self) -> Optional[str]: method placeholder (line 175) | def placeholder(self, value: Optional[str]) -> None: method required (line 179) | def required(self) -> bool: method required (line 184) | def required(self, value: bool) -> None: method min_length (line 188) | def min_length(self) -> Optional[int]: method min_length (line 193) | def min_length(self, value: Optional[int]) -> None: method max_length (line 197) | def max_length(self) -> Optional[int]: method max_length (line 202) | def max_length(self, value: Optional[int]) -> None: method style (line 206) | def style(self) -> TextStyle: method style (line 211) | def style(self, value: TextStyle) -> None: method default (line 215) | def default(self) -> Optional[str]: method default (line 220) | def default(self, value: Optional[str]) -> None: method to_component_dict (line 223) | def to_component_dict(self) -> TextInputPayload: method _refresh_component (line 226) | def _refresh_component(self, component: TextInputComponent) -> None: method _refresh_state (line 229) | def _refresh_state(self, interaction: Interaction, data: ModalSubmitTe... method from_component (line 233) | def from_component(cls, component: TextInputComponent) -> Self: method type (line 247) | def type(self) -> Literal[ComponentType.text_input]: method is_dispatchable (line 250) | def is_dispatchable(self) -> bool: FILE: discord/ui/view.py function _walk_all_components (line 67) | def _walk_all_components(components: List[Component]) -> Iterator[Compon... function _component_to_item (line 75) | def _component_to_item(component: Component) -> Item: class _ViewWeights (line 88) | class _ViewWeights: method __init__ (line 95) | def __init__(self, children: List[Item]): method find_open_space (line 104) | def find_open_space(self, item: Item) -> int: method add_item (line 111) | def add_item(self, item: Item) -> None: method remove_item (line 123) | def remove_item(self, item: Item) -> None: method clear (line 128) | def clear(self) -> None: class _ViewCallback (line 132) | class _ViewCallback: method __init__ (line 135) | def __init__(self, callback: ItemCallbackType[Any, Any], view: View, i... method __call__ (line 140) | def __call__(self, interaction: Interaction) -> Coroutine[Any, Any, Any]: class View (line 144) | class View: method __init_subclass__ (line 162) | def __init_subclass__(cls) -> None: method _init_children (line 176) | def _init_children(self) -> List[Item[Self]]: method __init__ (line 186) | def __init__(self, *, timeout: Optional[float] = 180.0): method __repr__ (line 197) | def __repr__(self) -> str: method __timeout_task_impl (line 200) | async def __timeout_task_impl(self) -> None: method to_components (line 217) | def to_components(self) -> List[Dict[str, Any]]: method _refresh_timeout (line 237) | def _refresh_timeout(self) -> None: method timeout (line 242) | def timeout(self) -> Optional[float]: method timeout (line 249) | def timeout(self, value: Optional[float]) -> None: method children (line 261) | def children(self) -> List[Item[Self]]: method from_message (line 266) | def from_message(cls, message: Message, /, *, timeout: Optional[float]... method add_item (line 303) | def add_item(self, item: Item[Any]) -> Self: method remove_item (line 335) | def remove_item(self, item: Item[Any]) -> Self: method clear_items (line 355) | def clear_items(self) -> Self: method interaction_check (line 365) | async def interaction_check(self, interaction: Interaction, /) -> bool: method on_timeout (line 393) | async def on_timeout(self) -> None: method on_error (line 400) | async def on_error(self, interaction: Interaction, error: Exception, i... method _scheduled_task (line 419) | async def _scheduled_task(self, item: Item, interaction: Interaction): method _start_listening_from_store (line 434) | def _start_listening_from_store(self, store: ViewStore) -> None: method _dispatch_timeout (line 443) | def _dispatch_timeout(self): method _dispatch_item (line 454) | def _dispatch_item(self, item: Item, interaction: Interaction): method _refresh (line 460) | def _refresh(self, components: List[Component]) -> None: method stop (line 482) | def stop(self) -> None: method is_finished (line 499) | def is_finished(self) -> bool: method is_dispatching (line 503) | def is_dispatching(self) -> bool: method is_persistent (line 507) | def is_persistent(self) -> bool: method wait (line 515) | async def wait(self) -> bool: class ViewStore (line 532) | class ViewStore: method __init__ (line 533) | def __init__(self, state: ConnectionState): method persistent_views (line 545) | def persistent_views(self) -> Sequence[View]: method add_dynamic_items (line 556) | def add_dynamic_items(self, *items: Type[DynamicItem[Item[Any]]]) -> N... method remove_dynamic_items (line 561) | def remove_dynamic_items(self, *items: Type[DynamicItem[Item[Any]]]) -... method add_view (line 566) | def add_view(self, view: View, message_id: Optional[int] = None) -> None: method remove_view (line 586) | def remove_view(self, view: View) -> None: method schedule_dynamic_item_call (line 605) | async def schedule_dynamic_item_call( method dispatch_dynamic_items (line 652) | def dispatch_dynamic_items(self, component_type: int, custom_id: str, ... method dispatch_view (line 661) | def dispatch_view(self, component_type: int, custom_id: str, interacti... method dispatch_modal (line 707) | def dispatch_modal( method remove_interaction_mapping (line 720) | def remove_interaction_mapping(self, interaction_id: int) -> None: method is_message_tracked (line 725) | def is_message_tracked(self, message_id: int) -> bool: method remove_message_tracking (line 728) | def remove_message_tracking(self, message_id: int) -> Optional[View]: method update_from_message (line 731) | def update_from_message(self, message_id: int, data: List[ComponentPay... FILE: discord/user.py class _UserTag (line 55) | class _UserTag: class BaseUser (line 60) | class BaseUser(_UserTag): method __init__ (line 90) | def __init__(self, *, state: ConnectionState, data: Union[UserPayload,... method __repr__ (line 94) | def __repr__(self) -> str: method __str__ (line 100) | def __str__(self) -> str: method __eq__ (line 105) | def __eq__(self, other: object) -> bool: method __ne__ (line 108) | def __ne__(self, other: object) -> bool: method __hash__ (line 111) | def __hash__(self) -> int: method _update (line 114) | def _update(self, data: Union[UserPayload, PartialUserPayload]) -> None: method _copy (line 128) | def _copy(cls, user: Self) -> Self: method _to_minimal_user_json (line 145) | def _to_minimal_user_json(self) -> Dict[str, Any]: method public_flags (line 156) | def public_flags(self) -> PublicUserFlags: method avatar (line 161) | def avatar(self) -> Optional[Asset]: method default_avatar (line 172) | def default_avatar(self) -> Asset: method display_avatar (line 182) | def display_avatar(self) -> Asset: method avatar_decoration (line 192) | def avatar_decoration(self) -> Optional[Asset]: method avatar_decoration_sku_id (line 204) | def avatar_decoration_sku_id(self) -> Optional[int]: method banner (line 216) | def banner(self) -> Optional[Asset]: method accent_colour (line 230) | def accent_colour(self) -> Optional[Colour]: method accent_color (line 249) | def accent_color(self) -> Optional[Colour]: method colour (line 266) | def colour(self) -> Colour: method color (line 275) | def color(self) -> Colour: method mention (line 284) | def mention(self) -> str: method created_at (line 289) | def created_at(self) -> datetime: method display_name (line 297) | def display_name(self) -> str: method mentioned_in (line 308) | def mentioned_in(self, message: Message) -> bool: class ClientUser (line 328) | class ClientUser(BaseUser): method __init__ (line 384) | def __init__(self, *, state: ConnectionState, data: UserPayload) -> None: method __repr__ (line 387) | def __repr__(self) -> str: method _update (line 393) | def _update(self, data: UserPayload) -> None: method edit (line 401) | async def edit( method mutual_guilds (line 470) | def mutual_guilds(self) -> List[Guild]: class User (line 482) | class User(BaseUser, discord.abc.Messageable): method __repr__ (line 523) | def __repr__(self) -> str: method _get_channel (line 526) | async def _get_channel(self) -> DMChannel: method dm_channel (line 531) | def dm_channel(self) -> Optional[DMChannel]: method mutual_guilds (line 540) | def mutual_guilds(self) -> List[Guild]: method create_dm (line 551) | async def create_dm(self) -> DMChannel: FILE: discord/utils.py class _MissingSentinel (line 107) | class _MissingSentinel: method __eq__ (line 110) | def __eq__(self, other) -> bool: method __bool__ (line 113) | def __bool__(self) -> bool: method __hash__ (line 116) | def __hash__(self) -> int: method __repr__ (line 119) | def __repr__(self): class _cached_property (line 126) | class _cached_property: method __init__ (line 127) | def __init__(self, function) -> None: method __get__ (line 131) | def __get__(self, instance, owner): class _RequestLike (line 151) | class _RequestLike(Protocol): class CachedSlotProperty (line 172) | class CachedSlotProperty(Generic[T, T_co]): method __init__ (line 173) | def __init__(self, name: str, function: Callable[[T], T_co]) -> None: method __get__ (line 179) | def __get__(self, instance: None, owner: Type[T]) -> CachedSlotPropert... method __get__ (line 183) | def __get__(self, instance: T, owner: Type[T]) -> T_co: method __get__ (line 186) | def __get__(self, instance: Optional[T], owner: Type[T]) -> Any: class classproperty (line 198) | class classproperty(Generic[T_co]): method __init__ (line 199) | def __init__(self, fget: Callable[[Any], T_co]) -> None: method __get__ (line 202) | def __get__(self, instance: Optional[Any], owner: Type[Any]) -> T_co: method __set__ (line 205) | def __set__(self, instance: Optional[Any], value: Any) -> None: function cached_slot_property (line 209) | def cached_slot_property(name: str) -> Callable[[Callable[[T], T_co]], C... class SequenceProxy (line 216) | class SequenceProxy(Sequence[T_co]): method __init__ (line 219) | def __init__(self, proxied: Collection[T_co], *, sorted: bool = False): method __copied (line 224) | def __copied(self) -> List[T_co]: method __repr__ (line 232) | def __repr__(self) -> str: method __getitem__ (line 236) | def __getitem__(self, idx: SupportsIndex) -> T_co: method __getitem__ (line 240) | def __getitem__(self, idx: slice) -> List[T_co]: method __getitem__ (line 243) | def __getitem__(self, idx: Union[SupportsIndex, slice]) -> Union[T_co,... method __len__ (line 246) | def __len__(self) -> int: method __contains__ (line 249) | def __contains__(self, item: Any) -> bool: method __iter__ (line 252) | def __iter__(self) -> Iterator[T_co]: method __reversed__ (line 255) | def __reversed__(self) -> Iterator[T_co]: method index (line 258) | def index(self, value: Any, *args: Any, **kwargs: Any) -> int: method count (line 261) | def count(self, value: Any) -> int: function parse_time (line 266) | def parse_time(timestamp: None) -> None: function parse_time (line 271) | def parse_time(timestamp: str) -> datetime.datetime: function parse_time (line 276) | def parse_time(timestamp: Optional[str]) -> Optional[datetime.datetime]: function parse_time (line 280) | def parse_time(timestamp: Optional[str]) -> Optional[datetime.datetime]: function copy_doc (line 286) | def copy_doc(original: Callable[..., Any]) -> Callable[[T], T]: function deprecated (line 295) | def deprecated(instead: Optional[str] = None) -> Callable[[Callable[P, T... function oauth_url (line 314) | def oauth_url( function snowflake_time (line 376) | def snowflake_time(id: int, /) -> datetime.datetime: function time_snowflake (line 396) | def time_snowflake(dt: datetime.datetime, /, *, high: bool = False) -> int: function _find (line 426) | def _find(predicate: Callable[[T], Any], iterable: Iterable[T], /) -> Op... function _afind (line 430) | async def _afind(predicate: Callable[[T], Any], iterable: AsyncIterable[... function find (line 439) | def find(predicate: Callable[[T], Any], iterable: AsyncIterable[T], /) -... function find (line 444) | def find(predicate: Callable[[T], Any], iterable: Iterable[T], /) -> Opt... function find (line 448) | def find(predicate: Callable[[T], Any], iterable: _Iter[T], /) -> Union[... function _get (line 484) | def _get(iterable: Iterable[T], /, **attrs: Any) -> Optional[T]: function _aget (line 502) | async def _aget(iterable: AsyncIterable[T], /, **attrs: Any) -> Optional... function get (line 525) | def get(iterable: AsyncIterable[T], /, **attrs: Any) -> Coro[Optional[T]]: function get (line 530) | def get(iterable: Iterable[T], /, **attrs: Any) -> Optional[T]: function get (line 534) | def get(iterable: _Iter[T], /, **attrs: Any) -> Union[Optional[T], Coro[... function _unique (line 600) | def _unique(iterable: Iterable[T]) -> List[T]: function _get_as_snowflake (line 604) | def _get_as_snowflake(data: Any, key: str) -> Optional[int]: function _get_mime_type_for_image (line 613) | def _get_mime_type_for_image(data: bytes): function _bytes_to_base64_data (line 626) | def _bytes_to_base64_data(data: bytes) -> str: function _base64_to_bytes (line 633) | def _base64_to_bytes(data: str) -> bytes: function _is_submodule (line 637) | def _is_submodule(parent: str, child: str) -> bool: function _to_json (line 643) | def _to_json(obj: Any) -> str: function _to_json (line 650) | def _to_json(obj: Any) -> str: function _parse_ratelimit_header (line 656) | def _parse_ratelimit_header(request: Any, *, use_clock: bool = False) ->... function maybe_coroutine (line 667) | async def maybe_coroutine(f: MaybeAwaitableFunc[P, T], *args: P.args, **... function async_all (line 699) | async def async_all( function sane_wait_for (line 712) | async def sane_wait_for(futures: Iterable[Awaitable[T]], *, timeout: Opt... function get_slots (line 722) | def get_slots(cls: Type[Any]) -> Iterator[str]: function compute_timedelta (line 730) | def compute_timedelta(dt: datetime.datetime) -> float: function sleep_until (line 738) | async def sleep_until(when: datetime.datetime, result: T) -> T: function sleep_until (line 743) | async def sleep_until(when: datetime.datetime) -> None: function sleep_until (line 747) | async def sleep_until(when: datetime.datetime, result: Optional[T] = Non... function utcnow (line 768) | def utcnow() -> datetime.datetime: function valid_icon_size (line 784) | def valid_icon_size(size: int) -> bool: class SnowflakeList (line 789) | class SnowflakeList(_SnowflakeListBase): method __init__ (line 805) | def __init__(self, data: Iterable[int], *, is_sorted: bool = False): method __new__ (line 808) | def __new__(cls, data: Iterable[int], *, is_sorted: bool = False) -> S... method add (line 811) | def add(self, element: int) -> None: method get (line 815) | def get(self, element: int) -> Optional[int]: method has (line 819) | def has(self, element: int) -> bool: function _string_width (line 824) | def _string_width(string: str) -> int: class ResolvedInvite (line 834) | class ResolvedInvite(NamedTuple): function resolve_invite (line 839) | def resolve_invite(invite: Union[Invite, str]) -> ResolvedInvite: function resolve_template (line 873) | def resolve_template(code: Union[Template, str]) -> str: function remove_markdown (line 912) | def remove_markdown(text: str, *, ignore_links: bool = True) -> str: function escape_markdown (line 946) | def escape_markdown(text: str, *, as_needed: bool = False, ignore_links:... function escape_mentions (line 989) | def escape_mentions(text: str) -> str: function _chunk (line 1015) | def _chunk(iterator: Iterable[T], max_size: int) -> Iterator[List[T]]: function _achunk (line 1029) | async def _achunk(iterator: AsyncIterable[T], max_size: int) -> AsyncIte... function as_chunks (line 1044) | def as_chunks(iterator: AsyncIterable[T], max_size: int) -> AsyncIterato... function as_chunks (line 1049) | def as_chunks(iterator: Iterable[T], max_size: int) -> Iterator[List[T]]: function as_chunks (line 1053) | def as_chunks(iterator: _Iter[T], max_size: int) -> _Iter[List[T]]: function flatten_literal_params (line 1087) | def flatten_literal_params(parameters: Iterable[Any]) -> Tuple[Any, ...]: function normalise_optional_params (line 1098) | def normalise_optional_params(parameters: Iterable[Any]) -> Tuple[Any, .... function evaluate_annotation (line 1103) | def evaluate_annotation( function resolve_annotation (line 1173) | def resolve_annotation( function is_inside_class (line 1190) | def is_inside_class(func: Callable[..., Any]) -> bool: function format_dt (line 1208) | def format_dt(dt: datetime.datetime, /, style: Optional[TimestampStyle] ... function is_docker (line 1253) | def is_docker() -> bool: function stream_supports_colour (line 1258) | def stream_supports_colour(stream: Any) -> bool: class _ColourFormatter (line 1274) | class _ColourFormatter(logging.Formatter): method format (line 1301) | def format(self, record): function setup_logging (line 1318) | def setup_logging( function _shorten (line 1377) | def _shorten( function _to_kebab_case (line 1393) | def _to_kebab_case(text: str) -> str: function _human_join (line 1397) | def _human_join(seq: Sequence[str], /, *, delimiter: str = ', ', final: ... FILE: discord/voice_client.py class VoiceProtocol (line 77) | class VoiceProtocol: method __init__ (line 98) | def __init__(self, client: Client, channel: abc.Connectable) -> None: method on_voice_state_update (line 102) | async def on_voice_state_update(self, data: GuildVoiceStatePayload, /)... method on_voice_server_update (line 119) | async def on_voice_server_update(self, data: VoiceServerUpdatePayload,... method connect (line 132) | async def connect(self, *, timeout: float, reconnect: bool, self_deaf:... method disconnect (line 163) | async def disconnect(self, *, force: bool) -> None: method cleanup (line 177) | def cleanup(self) -> None: class VoiceClient (line 191) | class VoiceClient(VoiceProtocol): method __init__ (line 218) | def __init__(self, client: Client, channel: abc.Connectable) -> None: method guild (line 245) | def guild(self) -> Guild: method user (line 250) | def user(self) -> ClientUser: method session_id (line 255) | def session_id(self) -> Optional[str]: method token (line 259) | def token(self) -> Optional[str]: method endpoint (line 263) | def endpoint(self) -> Optional[str]: method ssrc (line 267) | def ssrc(self) -> int: method mode (line 271) | def mode(self) -> SupportedModes: method secret_key (line 275) | def secret_key(self) -> List[int]: method ws (line 279) | def ws(self) -> DiscordVoiceWebSocket: method timeout (line 283) | def timeout(self) -> float: method checked_add (line 286) | def checked_add(self, attr: str, value: int, limit: int) -> None: method create_connection_state (line 295) | def create_connection_state(self) -> VoiceConnectionState: method on_voice_state_update (line 298) | async def on_voice_state_update(self, data: GuildVoiceStatePayload) ->... method on_voice_server_update (line 301) | async def on_voice_server_update(self, data: VoiceServerUpdatePayload)... method connect (line 304) | async def connect(self, *, reconnect: bool, timeout: float, self_deaf:... method wait_until_connected (line 309) | def wait_until_connected(self, timeout: Optional[float] = 30.0) -> bool: method latency (line 314) | def latency(self) -> float: method average_latency (line 326) | def average_latency(self) -> float: method disconnect (line 334) | async def disconnect(self, *, force: bool = False) -> None: method move_to (line 343) | async def move_to(self, channel: Optional[abc.Snowflake], *, timeout: ... method is_connected (line 364) | def is_connected(self) -> bool: method _get_voice_packet (line 370) | def _get_voice_packet(self, data): method _encrypt_xsalsa20_poly1305 (line 383) | def _encrypt_xsalsa20_poly1305(self, header: bytes, data) -> bytes: method _encrypt_xsalsa20_poly1305_suffix (line 390) | def _encrypt_xsalsa20_poly1305_suffix(self, header: bytes, data) -> by... method _encrypt_xsalsa20_poly1305_lite (line 396) | def _encrypt_xsalsa20_poly1305_lite(self, header: bytes, data) -> bytes: method play (line 405) | def play( method is_playing (line 499) | def is_playing(self) -> bool: method is_paused (line 503) | def is_paused(self) -> bool: method stop (line 507) | def stop(self) -> None: method pause (line 513) | def pause(self) -> None: method resume (line 518) | def resume(self) -> None: method source (line 524) | def source(self) -> Optional[AudioSource]: method source (line 532) | def source(self, value: AudioSource) -> None: method send_audio_packet (line 541) | def send_audio_packet(self, data: bytes, *, encode: bool = True) -> None: FILE: discord/voice_state.py class SocketReader (line 78) | class SocketReader(threading.Thread): method __init__ (line 79) | def __init__(self, state: VoiceConnectionState, *, start_paused: bool ... method register (line 89) | def register(self, callback: SocketReaderCallback) -> None: method unregister (line 95) | def unregister(self, callback: SocketReaderCallback) -> None: method pause (line 107) | def pause(self) -> None: method resume (line 111) | def resume(self, *, force: bool = False) -> None: method stop (line 122) | def stop(self) -> None: method run (line 126) | def run(self) -> None: method _do_run (line 140) | def _do_run(self) -> None: class ConnectionFlowState (line 171) | class ConnectionFlowState(Enum): class VoiceConnectionState (line 187) | class VoiceConnectionState: method __init__ (line 190) | def __init__(self, voice_client: VoiceClient, *, hook: Optional[Websoc... method state (line 223) | def state(self) -> ConnectionFlowState: method state (line 227) | def state(self, state: ConnectionFlowState) -> None: method guild (line 240) | def guild(self) -> Guild: method user (line 244) | def user(self) -> ClientUser: method supported_modes (line 248) | def supported_modes(self) -> Tuple[SupportedModes, ...]: method self_voice_state (line 252) | def self_voice_state(self) -> Optional[VoiceState]: method voice_state_update (line 255) | async def voice_state_update(self, data: GuildVoiceStatePayload) -> None: method voice_server_update (line 308) | async def voice_server_update(self, data: VoiceServerUpdatePayload) ->... method connect (line 363) | async def connect( method _wrap_connect (line 382) | async def _wrap_connect(self, *args: Any) -> None: method _inner_connect (line 398) | async def _inner_connect(self, reconnect: bool, self_deaf: bool, self_... method _connect (line 426) | async def _connect(self, reconnect: bool, timeout: float, self_deaf: b... method disconnect (line 438) | async def disconnect(self, *, force: bool = True, cleanup: bool = True... method soft_disconnect (line 483) | async def soft_disconnect(self, *, with_state: ConnectionFlowState = C... method move_to (line 505) | async def move_to(self, channel: Optional[abc.Snowflake], timeout: Opt... method wait (line 529) | def wait(self, timeout: Optional[float] = None) -> bool: method wait_async (line 532) | async def wait_async(self, timeout: Optional[float] = None) -> None: method is_connected (line 535) | def is_connected(self) -> bool: method send_packet (line 538) | def send_packet(self, packet: bytes) -> None: method add_socket_listener (line 541) | def add_socket_listener(self, callback: SocketReaderCallback) -> None: method remove_socket_listener (line 545) | def remove_socket_listener(self, callback: SocketReaderCallback) -> None: method _inside_runner (line 549) | def _inside_runner(self) -> bool: method _wait_for_state (line 552) | async def _wait_for_state( method _voice_connect (line 561) | async def _voice_connect(self, *, self_deaf: bool = False, self_mute: ... method _voice_disconnect (line 565) | async def _voice_disconnect(self) -> None: method _connect_websocket (line 576) | async def _connect_websocket(self, resume: bool) -> DiscordVoiceWebSoc... method _handshake_websocket (line 581) | async def _handshake_websocket(self) -> None: method _create_socket (line 589) | def _create_socket(self) -> None: method _poll_voice_ws (line 594) | async def _poll_voice_ws(self, reconnect: bool) -> None: method _potential_reconnect (line 658) | async def _potential_reconnect(self) -> bool: method _move_to (line 683) | async def _move_to(self, channel: abc.Snowflake) -> None: method _update_voice_channel (line 687) | def _update_voice_channel(self, channel_id: Optional[int]) -> None: FILE: discord/webhook/async_.py class AsyncDeferredLock (line 100) | class AsyncDeferredLock: method __init__ (line 101) | def __init__(self, lock: asyncio.Lock): method __aenter__ (line 105) | async def __aenter__(self) -> Self: method delay_by (line 109) | def delay_by(self, delta: float) -> None: method __aexit__ (line 112) | async def __aexit__( class AsyncWebhookAdapter (line 123) | class AsyncWebhookAdapter: method __init__ (line 124) | def __init__(self): method request (line 127) | async def request( method delete_webhook (line 238) | def delete_webhook( method delete_webhook_with_token (line 251) | def delete_webhook_with_token( method edit_webhook (line 264) | def edit_webhook( method edit_webhook_with_token (line 286) | def edit_webhook_with_token( method execute_webhook (line 300) | def execute_webhook( method get_webhook_message (line 329) | def get_webhook_message( method edit_webhook_message (line 350) | def edit_webhook_message( method delete_webhook_message (line 383) | def delete_webhook_message( method fetch_webhook (line 404) | def fetch_webhook( method fetch_webhook_with_token (line 416) | def fetch_webhook_with_token( method create_interaction_response (line 428) | def create_interaction_response( method get_original_interaction_response (line 457) | def get_original_interaction_response( method edit_original_interaction_response (line 474) | def edit_original_interaction_response( method delete_original_interaction_response (line 502) | def delete_original_interaction_response( function interaction_response_params (line 520) | def interaction_response_params(type: int, data: Optional[Dict[str, Any]... function interaction_message_response_params (line 531) | def interaction_message_response_params( class PartialWebhookChannel (line 639) | class PartialWebhookChannel(Hashable): method __init__ (line 656) | def __init__(self, *, data: PartialChannelPayload) -> None: method __repr__ (line 660) | def __repr__(self) -> str: class PartialWebhookGuild (line 664) | class PartialWebhookGuild(Hashable): method __init__ (line 681) | def __init__(self, *, data: SourceGuildPayload, state: _State) -> None: method __repr__ (line 687) | def __repr__(self) -> str: method icon (line 691) | def icon(self) -> Optional[Asset]: class _FriendlyHttpAttributeErrorHelper (line 698) | class _FriendlyHttpAttributeErrorHelper: method __getattr__ (line 701) | def __getattr__(self, attr: str) -> Any: class _WebhookState (line 705) | class _WebhookState: method __init__ (line 708) | def __init__(self, webhook: Any, parent: Optional[_State], thread: Sno... method _get_guild (line 719) | def _get_guild(self, guild_id: Optional[int]) -> Optional[Guild]: method _get_poll (line 724) | def _get_poll(self, msg_id: Optional[int]) -> Optional[Poll]: method store_user (line 729) | def store_user(self, data: Union[UserPayload, PartialUserPayload], *, ... method create_user (line 735) | def create_user(self, data: Union[UserPayload, PartialUserPayload]) ->... method allowed_mentions (line 740) | def allowed_mentions(self) -> Optional[AllowedMentions]: method get_reaction_emoji (line 743) | def get_reaction_emoji(self, data: PartialEmojiPayload) -> Union[Parti... method http (line 756) | def http(self) -> Union[HTTPClient, _FriendlyHttpAttributeErrorHelper]: method __getattr__ (line 764) | def __getattr__(self, attr: str) -> Any: class WebhookMessage (line 771) | class WebhookMessage(Message): method edit (line 785) | async def edit( method add_files (line 863) | async def add_files(self, *files: File) -> WebhookMessage: method remove_attachments (line 889) | async def remove_attachments(self, *attachments: Attachment) -> Webhoo... method delete (line 915) | async def delete(self, *, delay: Optional[float] = None) -> None: class BaseWebhook (line 950) | class BaseWebhook(Hashable): method __init__ (line 966) | def __init__( method _update (line 976) | def _update(self, data: WebhookPayload) -> None: method is_partial (line 1003) | def is_partial(self) -> bool: method is_authenticated (line 1009) | def is_authenticated(self) -> bool: method guild (line 1017) | def guild(self) -> Optional[Guild]: method channel (line 1025) | def channel(self) -> Optional[Union[ForumChannel, VoiceChannel, TextCh... method created_at (line 1034) | def created_at(self) -> datetime.datetime: method avatar (line 1039) | def avatar(self) -> Optional[Asset]: method default_avatar (line 1050) | def default_avatar(self) -> Asset: method display_avatar (line 1060) | def display_avatar(self) -> Asset: class Webhook (line 1070) | class Webhook(BaseWebhook): method __init__ (line 1153) | def __init__( method __repr__ (line 1167) | def __repr__(self) -> str: method url (line 1171) | def url(self) -> str: method partial (line 1176) | def partial( method from_url (line 1240) | def from_url( method _as_follower (line 1307) | def _as_follower(cls, data, *, channel, user) -> Self: method from_state (line 1333) | def from_state(cls, data: WebhookPayload, state: ConnectionState) -> S... method fetch (line 1340) | async def fetch(self, *, prefer_auth: bool = True) -> Webhook: method delete (line 1405) | async def delete(self, *, reason: Optional[str] = None, prefer_auth: b... method edit (line 1457) | async def edit( method _create_message (line 1565) | def _create_message(self, data, *, thread: Snowflake): method send (line 1590) | async def send( method send (line 1615) | async def send( method send (line 1639) | async def send( method fetch_message (line 1869) | async def fetch_message(self, id: int, /, *, thread: Snowflake = MISSI... method edit_message (line 1919) | async def edit_message( method delete_message (line 2038) | async def delete_message(self, message_id: int, /, *, thread: Snowflak... FILE: discord/webhook/sync.py class DeferredLock (line 87) | class DeferredLock: method __init__ (line 88) | def __init__(self, lock: threading.Lock) -> None: method __enter__ (line 92) | def __enter__(self) -> Self: method delay_by (line 96) | def delay_by(self, delta: float) -> None: method __exit__ (line 99) | def __exit__( class WebhookAdapter (line 110) | class WebhookAdapter: method __init__ (line 111) | def __init__(self): method request (line 114) | def request( method delete_webhook (line 236) | def delete_webhook( method delete_webhook_with_token (line 247) | def delete_webhook_with_token( method edit_webhook (line 258) | def edit_webhook( method edit_webhook_with_token (line 270) | def edit_webhook_with_token( method execute_webhook (line 282) | def execute_webhook( method get_webhook_message (line 300) | def get_webhook_message( method edit_webhook_message (line 319) | def edit_webhook_message( method delete_webhook_message (line 341) | def delete_webhook_message( method fetch_webhook (line 360) | def fetch_webhook( method fetch_webhook_with_token (line 370) | def fetch_webhook_with_token( class _WebhookContext (line 381) | class _WebhookContext(threading.local): function _get_webhook_adapter (line 388) | def _get_webhook_adapter() -> WebhookAdapter: class SyncWebhookMessage (line 394) | class SyncWebhookMessage(Message): method edit (line 408) | def edit( method add_files (line 472) | def add_files(self, *files: File) -> SyncWebhookMessage: method remove_attachments (line 496) | def remove_attachments(self, *attachments: Attachment) -> SyncWebhookM... method delete (line 520) | def delete(self, *, delay: Optional[float] = None) -> None: class SyncWebhook (line 544) | class SyncWebhook(BaseWebhook): method __init__ (line 602) | def __init__( method __repr__ (line 612) | def __repr__(self) -> str: method url (line 616) | def url(self) -> str: method partial (line 621) | def partial(cls, id: int, token: str, *, session: Session = MISSING, b... method from_url (line 660) | def from_url(cls, url: str, *, session: Session = MISSING, bot_token: ... method fetch (line 702) | def fetch(self, *, prefer_auth: bool = True) -> SyncWebhook: method delete (line 744) | def delete(self, *, reason: Optional[str] = None, prefer_auth: bool = ... method edit (line 778) | def edit( method _create_message (line 850) | def _create_message(self, data: MessagePayload, *, thread: Snowflake =... method send (line 858) | def send( method send (line 881) | def send( method send (line 903) | def send( method fetch_message (line 1080) | def fetch_message(self, id: int, /, *, thread: Snowflake = MISSING) ->... method edit_message (line 1126) | def edit_message( method delete_message (line 1210) | def delete_message(self, message_id: int, /, *, thread: Snowflake = MI... FILE: discord/welcome_screen.py class WelcomeChannel (line 50) | class WelcomeChannel: method __init__ (line 65) | def __init__( method __repr__ (line 72) | def __repr__(self) -> str: method _from_dict (line 76) | def _from_dict(cls, *, data: WelcomeScreenChannelPayload, guild: Guild... method to_dict (line 94) | def to_dict(self) -> WelcomeScreenChannelPayload: class WelcomeScreen (line 112) | class WelcomeScreen: method __init__ (line 125) | def __init__(self, *, data: WelcomeScreenPayload, guild: Guild) -> None: method _store (line 130) | def _store(self, data: WelcomeScreenPayload) -> None: method __repr__ (line 137) | def __repr__(self) -> str: method enabled (line 141) | def enabled(self) -> bool: method edit (line 149) | async def edit( FILE: discord/widget.py class WidgetChannel (line 50) | class WidgetChannel: method __init__ (line 83) | def __init__(self, id: int, name: str, position: int) -> None: method __str__ (line 88) | def __str__(self) -> str: method __repr__ (line 91) | def __repr__(self) -> str: method mention (line 95) | def mention(self) -> str: method created_at (line 100) | def created_at(self) -> datetime.datetime: class WidgetMember (line 105) | class WidgetMember(BaseUser): method __init__ (line 172) | def __init__( method __repr__ (line 197) | def __repr__(self) -> str: method display_name (line 201) | def display_name(self) -> str: class Widget (line 206) | class Widget: method __init__ (line 251) | def __init__(self, *, state: ConnectionState, data: WidgetPayload) -> ... method __str__ (line 276) | def __str__(self) -> str: method __eq__ (line 279) | def __eq__(self, other: object) -> bool: method __repr__ (line 284) | def __repr__(self) -> str: method created_at (line 288) | def created_at(self) -> datetime.datetime: method json_url (line 293) | def json_url(self) -> str: method invite_url (line 298) | def invite_url(self) -> Optional[str]: method fetch_invite (line 302) | async def fetch_invite(self, *, with_counts: bool = True) -> Optional[... FILE: docs/_static/copy.js constant COPY (line 1) | const COPY = "content_copy"; constant COPIED (line 2) | const COPIED = "done"; FILE: docs/_static/custom.js class Modal (line 10) | class Modal { method constructor (line 11) | constructor(element) { method close (line 15) | close() { method open (line 20) | open() { class SearchBar (line 29) | class SearchBar { method constructor (line 31) | constructor() { method open (line 38) | open() { method close (line 45) | close() { function scrollToTop (line 53) | function scrollToTop() { function searchBarClick (line 99) | function searchBarClick(event, which) { FILE: docs/_static/scorer.js function escapeRegex (line 7) | function escapeRegex(e) { function __score (line 15) | function __score(haystack, regex) { function __cleanNamespaces (line 26) | function __cleanNamespaces(query) { FILE: docs/_static/settings.js class Setting (line 5) | class Setting { method constructor (line 6) | constructor(name, defaultValue, setter) { method setElement (line 12) | setElement() { method load (line 16) | load() { method update (line 27) | update() { class CheckboxSetting (line 33) | class CheckboxSetting extends Setting { method setElement (line 35) | setElement() { method update (line 40) | update(element) { class RadioSetting (line 47) | class RadioSetting extends Setting { method setElement (line 49) | setElement() { method update (line 54) | update(element) { function getRootAttributeToggle (line 61) | function getRootAttributeToggle(attributeName, valueName) { function setTheme (line 72) | function setTheme(value) { function updateSetting (line 90) | function updateSetting(element) { FILE: docs/_static/sidebar.js class Sidebar (line 1) | class Sidebar { method constructor (line 2) | constructor(element) { method createCollapsableSections (line 24) | createCollapsableSections() { method resize (line 59) | resize() { method collapseSection (line 64) | collapseSection(icon) { method expandSection (line 73) | expandSection(icon) { method setActiveLink (line 80) | setActiveLink(section) { function getCurrentSection (line 100) | function getCurrentSection() { FILE: docs/conf.py function _i18n_warning_filter (line 161) | def _i18n_warning_filter(record: logging.LogRecord) -> bool: function setup (line 377) | def setup(app): FILE: docs/extensions/attributetable.py class attributetable (line 19) | class attributetable(nodes.General, nodes.Element): class attributetablecolumn (line 23) | class attributetablecolumn(nodes.General, nodes.Element): class attributetabletitle (line 27) | class attributetabletitle(nodes.TextElement): class attributetableplaceholder (line 31) | class attributetableplaceholder(nodes.General, nodes.Element): class attributetablebadge (line 35) | class attributetablebadge(nodes.TextElement): class attributetable_item (line 39) | class attributetable_item(nodes.Part, nodes.Element): function visit_attributetable_node (line 43) | def visit_attributetable_node(self: DPYHTML5Translator, node: attributet... function visit_attributetablecolumn_node (line 48) | def visit_attributetablecolumn_node(self: DPYHTML5Translator, node: attr... function visit_attributetabletitle_node (line 52) | def visit_attributetabletitle_node(self: DPYHTML5Translator, node: attri... function visit_attributetablebadge_node (line 56) | def visit_attributetablebadge_node(self: DPYHTML5Translator, node: attri... function visit_attributetable_item_node (line 64) | def visit_attributetable_item_node(self: DPYHTML5Translator, node: attri... function depart_attributetable_node (line 68) | def depart_attributetable_node(self: DPYHTML5Translator, node: attribute... function depart_attributetablecolumn_node (line 72) | def depart_attributetablecolumn_node(self: DPYHTML5Translator, node: att... function depart_attributetabletitle_node (line 76) | def depart_attributetabletitle_node(self: DPYHTML5Translator, node: attr... function depart_attributetablebadge_node (line 80) | def depart_attributetablebadge_node(self: DPYHTML5Translator, node: attr... function depart_attributetable_item_node (line 84) | def depart_attributetable_item_node(self: DPYHTML5Translator, node: attr... class PyAttributeTable (line 91) | class PyAttributeTable(SphinxDirective): method parse_name (line 98) | def parse_name(self, content: str) -> Tuple[str, str]: method run (line 114) | def run(self) -> List[attributetableplaceholder]: function build_lookup_table (line 151) | def build_lookup_table(env: BuildEnvironment) -> Dict[str, List[str]]: class TableElement (line 177) | class TableElement(NamedTuple): function process_attributetable (line 183) | def process_attributetable(app: Sphinx, doctree: nodes.Node, fromdocname... function get_class_results (line 204) | def get_class_results( function class_results_to_node (line 263) | def class_results_to_node(key: str, elements: Sequence[TableElement]) ->... function setup (line 279) | def setup(app: Sphinx): FILE: docs/extensions/builder.py class DPYHTML5Translator (line 13) | class DPYHTML5Translator(HTML5Translator): method visit_section (line 14) | def visit_section(self, node): method depart_section (line 18) | def depart_section(self, node): method visit_table (line 22) | def visit_table(self, node): method depart_table (line 26) | def depart_table(self, node): class DPYStandaloneHTMLBuilder (line 31) | class DPYStandaloneHTMLBuilder(StandaloneHTMLBuilder): method write_genindex (line 33) | def write_genindex(self) -> None: class DPYMessageCatalogBuilder (line 57) | class DPYMessageCatalogBuilder(MessageCatalogBuilder): method finish (line 60) | def finish(self) -> None: function add_custom_jinja2 (line 105) | def add_custom_jinja2(app): function add_builders (line 111) | def add_builders(app): function setup (line 130) | def setup(app): FILE: docs/extensions/colour_preview.py class colour_input (line 12) | class colour_input(nodes.General, nodes.Element): function visit_colour_node (line 16) | def visit_colour_node(self, node): function depart_colour_node (line 30) | def depart_colour_node(self, node): class ColourDirective (line 34) | class ColourDirective(SphinxDirective): method run (line 42) | def run(self): function setup (line 48) | def setup(app: Sphinx) -> Dict[str, Any]: FILE: docs/extensions/details.py class details (line 6) | class details(nodes.General, nodes.Element): class summary (line 9) | class summary(nodes.General, nodes.Element): function visit_details_node (line 12) | def visit_details_node(self, node): function visit_summary_node (line 15) | def visit_summary_node(self, node): function depart_details_node (line 19) | def depart_details_node(self, node): function depart_summary_node (line 22) | def depart_summary_node(self, node): class DetailsDirective (line 25) | class DetailsDirective(Directive): method run (line 36) | def run(self): function setup (line 51) | def setup(app): FILE: docs/extensions/exception_hierarchy.py class exception_hierarchy (line 7) | class exception_hierarchy(nodes.General, nodes.Element): function visit_exception_hierarchy_node (line 10) | def visit_exception_hierarchy_node(self, node): function depart_exception_hierarchy_node (line 13) | def depart_exception_hierarchy_node(self, node): class ExceptionHierarchyDirective (line 16) | class ExceptionHierarchyDirective(Directive): method run (line 19) | def run(self): function setup (line 25) | def setup(app): FILE: docs/extensions/nitpick_file_ignorer.py class NitpickFileIgnorer (line 7) | class NitpickFileIgnorer(logging.Filter): method __init__ (line 9) | def __init__(self, app: Sphinx) -> None: method filter (line 13) | def filter(self, record: sphinx_logging.SphinxLogRecord) -> bool: function setup (line 19) | def setup(app: Sphinx): FILE: docs/extensions/resourcelinks.py function make_link_role (line 17) | def make_link_role(resource_links: Dict[str, str]) -> RoleFunction: function add_link_role (line 38) | def add_link_role(app: Sphinx) -> None: function setup (line 41) | def setup(app: Sphinx) -> Dict[str, Any]: FILE: examples/advanced_startup.py class CustomBot (line 18) | class CustomBot(commands.Bot): method __init__ (line 19) | def __init__( method setup_hook (line 34) | async def setup_hook(self) -> None: function main (line 56) | async def main(): FILE: examples/app_commands/basic.py class MyClient (line 10) | class MyClient(discord.Client): method __init__ (line 11) | def __init__(self, *, intents: discord.Intents): method setup_hook (line 25) | async def setup_hook(self): function on_ready (line 36) | async def on_ready(): function hello (line 42) | async def hello(interaction: discord.Interaction): function add (line 52) | async def add(interaction: discord.Interaction, first_value: int, second... function send (line 63) | async def send(interaction: discord.Interaction, text_to_send: str): function joined (line 72) | async def joined(interaction: discord.Interaction, member: Optional[disc... function show_join_date (line 87) | async def show_join_date(interaction: discord.Interaction, member: disco... function report_message (line 94) | async def report_message(interaction: discord.Interaction, message: disc... FILE: examples/app_commands/transformers.py class MyClient (line 14) | class MyClient(discord.Client): method __init__ (line 15) | def __init__(self): method setup_hook (line 19) | async def setup_hook(self): function on_ready (line 28) | async def on_ready(): function add (line 45) | async def add( function channel_info (line 64) | async def channel_info(interaction: discord.Interaction, channel: Union[... function shop (line 87) | async def shop(interaction: discord.Interaction, action: Literal['Buy', ... class Fruits (line 97) | class Fruits(Enum): function fruit (line 106) | async def fruit(interaction: discord.Interaction, fruit: Fruits): class Point (line 114) | class Point(NamedTuple): class PointTransformer (line 126) | class PointTransformer(app_commands.Transformer): method transform (line 127) | async def transform(self, interaction: discord.Interaction, value: str... function graph (line 133) | async def graph( class Point3D (line 146) | class Point3D(NamedTuple): method transform (line 153) | async def transform(cls, interaction: discord.Interaction, value: str): function graph3d (line 159) | async def graph3d(interaction: discord.Interaction, point: Point3D): FILE: examples/background_task.py class MyClient (line 6) | class MyClient(discord.Client): method __init__ (line 7) | def __init__(self, *args, **kwargs): method setup_hook (line 13) | async def setup_hook(self) -> None: method on_ready (line 17) | async def on_ready(self): method my_background_task (line 22) | async def my_background_task(self): method before_my_task (line 28) | async def before_my_task(self): FILE: examples/background_task_asyncio.py class MyClient (line 5) | class MyClient(discord.Client): method __init__ (line 6) | def __init__(self, *args, **kwargs): method setup_hook (line 9) | async def setup_hook(self) -> None: method on_ready (line 13) | async def on_ready(self): method my_background_task (line 17) | async def my_background_task(self): FILE: examples/basic_bot.py function on_ready (line 20) | async def on_ready(): function add (line 26) | async def add(ctx, left: int, right: int): function roll (line 32) | async def roll(ctx, dice: str): function choose (line 45) | async def choose(ctx, *choices: str): function repeat (line 51) | async def repeat(ctx, times: int, content='repeating...'): function joined (line 58) | async def joined(ctx, member: discord.Member): function cool (line 64) | async def cool(ctx): function _bot (line 74) | async def _bot(ctx): FILE: examples/basic_voice.py class YTDLSource (line 35) | class YTDLSource(discord.PCMVolumeTransformer): method __init__ (line 36) | def __init__(self, source, *, data, volume=0.5): method from_url (line 45) | async def from_url(cls, url, *, loop=None, stream=False): class Music (line 57) | class Music(commands.Cog): method __init__ (line 58) | def __init__(self, bot): method join (line 62) | async def join(self, ctx, *, channel: discord.VoiceChannel): method play (line 71) | async def play(self, ctx, *, query): method yt (line 80) | async def yt(self, ctx, *, url): method stream (line 90) | async def stream(self, ctx, *, url): method volume (line 100) | async def volume(self, ctx, volume: int): method stop (line 110) | async def stop(self, ctx): method ensure_voice (line 118) | async def ensure_voice(self, ctx): function on_ready (line 140) | async def on_ready(): function main (line 145) | async def main(): FILE: examples/converters.py function userinfo (line 18) | async def userinfo(ctx: commands.Context, user: discord.User): function userinfo_error (line 39) | async def userinfo_error(ctx: commands.Context, error: commands.CommandE... class ChannelOrMemberConverter (line 52) | class ChannelOrMemberConverter(commands.Converter): method convert (line 53) | async def convert(self, ctx: commands.Context, argument: str): function notify (line 87) | async def notify(ctx: commands.Context, target: ChannelOrMemberConverter): function ignore (line 97) | async def ignore(ctx: commands.Context, target: typing.Union[discord.Mem... function multiply (line 115) | async def multiply(ctx: commands.Context, number: int, maybe: bool): FILE: examples/custom_context.py class MyContext (line 10) | class MyContext(commands.Context): method tick (line 11) | async def tick(self, value): class MyBot (line 27) | class MyBot(commands.Bot): method get_context (line 28) | async def get_context(self, message, *, cls=MyContext): function guess (line 42) | async def guess(ctx, number: int): FILE: examples/deleted.py class MyClient (line 6) | class MyClient(discord.Client): method on_ready (line 7) | async def on_ready(self): method on_message (line 11) | async def on_message(self, message): method on_message_delete (line 19) | async def on_message_delete(self, message): FILE: examples/edits.py class MyClient (line 7) | class MyClient(discord.Client): method on_ready (line 8) | async def on_ready(self): method on_message (line 12) | async def on_message(self, message): method on_message_edit (line 18) | async def on_message_edit(self, before, after): FILE: examples/guessing_game.py class MyClient (line 8) | class MyClient(discord.Client): method on_ready (line 9) | async def on_ready(self): method on_message (line 13) | async def on_message(self, message): FILE: examples/modals/basic.py class MyClient (line 11) | class MyClient(discord.Client): method __init__ (line 12) | def __init__(self) -> None: method on_ready (line 23) | async def on_ready(self): method setup_hook (line 27) | async def setup_hook(self) -> None: class Feedback (line 32) | class Feedback(discord.ui.Modal, title='Feedback'): method on_submit (line 57) | async def on_submit(self, interaction: discord.Interaction): method on_error (line 60) | async def on_error(self, interaction: discord.Interaction, error: Exce... function feedback (line 71) | async def feedback(interaction: discord.Interaction): FILE: examples/new_member.py class MyClient (line 6) | class MyClient(discord.Client): method on_ready (line 7) | async def on_ready(self): method on_member_join (line 11) | async def on_member_join(self, member): FILE: examples/reaction_roles.py class MyClient (line 6) | class MyClient(discord.Client): method __init__ (line 7) | def __init__(self, *args, **kwargs): method on_raw_reaction_add (line 17) | async def on_raw_reaction_add(self, payload: discord.RawReactionAction... method on_raw_reaction_remove (line 46) | async def on_raw_reaction_remove(self, payload: discord.RawReactionAct... FILE: examples/reply.py class MyClient (line 6) | class MyClient(discord.Client): method on_ready (line 7) | async def on_ready(self): method on_message (line 11) | async def on_message(self, message): FILE: examples/secret.py function secret (line 12) | async def secret(ctx: commands.Context): function create_overwrites (line 18) | def create_overwrites(ctx, *objects): function text (line 48) | async def text(ctx: commands.Context, name: str, *objects: typing.Union[... function voice (line 65) | async def voice(ctx: commands.Context, name: str, *objects: typing.Union... function emoji (line 81) | async def emoji(ctx: commands.Context, emoji: discord.PartialEmoji, *rol... FILE: examples/views/confirm.py class Bot (line 8) | class Bot(commands.Bot): method __init__ (line 9) | def __init__(self): method on_ready (line 15) | async def on_ready(self): class Confirm (line 21) | class Confirm(discord.ui.View): method __init__ (line 22) | def __init__(self): method confirm (line 30) | async def confirm(self, interaction: discord.Interaction, button: disc... method cancel (line 37) | async def cancel(self, interaction: discord.Interaction, button: disco... function ask (line 47) | async def ask(ctx: commands.Context): FILE: examples/views/counter.py class CounterBot (line 8) | class CounterBot(commands.Bot): method __init__ (line 9) | def __init__(self): method on_ready (line 15) | async def on_ready(self): class Counter (line 21) | class Counter(discord.ui.View): method count (line 28) | async def count(self, interaction: discord.Interaction, button: discor... function counter (line 43) | async def counter(ctx: commands.Context): FILE: examples/views/dropdown.py class Dropdown (line 9) | class Dropdown(discord.ui.Select): method __init__ (line 10) | def __init__(self): method callback (line 24) | async def callback(self, interaction: discord.Interaction): class DropdownView (line 32) | class DropdownView(discord.ui.View): method __init__ (line 33) | def __init__(self): class Bot (line 40) | class Bot(commands.Bot): method __init__ (line 41) | def __init__(self): method on_ready (line 47) | async def on_ready(self): function colour (line 56) | async def colour(ctx): FILE: examples/views/dynamic_counter.py class DynamicCounter (line 19) | class DynamicCounter( method __init__ (line 23) | def __init__(self, user_id: int, count: int = 0) -> None: method style (line 37) | def style(self) -> discord.ButtonStyle: method from_custom_id (line 48) | async def from_custom_id(cls, interaction: discord.Interaction, item: ... method interaction_check (line 54) | async def interaction_check(self, interaction: discord.Interaction) ->... method callback (line 57) | async def callback(self, interaction: discord.Interaction) -> None: class DynamicCounterBot (line 72) | class DynamicCounterBot(commands.Bot): method __init__ (line 73) | def __init__(self): method setup_hook (line 77) | async def setup_hook(self) -> None: method on_ready (line 81) | async def on_ready(self): function counter (line 90) | async def counter(ctx: commands.Context): FILE: examples/views/ephemeral.py class EphemeralCounterBot (line 8) | class EphemeralCounterBot(commands.Bot): method __init__ (line 9) | def __init__(self): method on_ready (line 15) | async def on_ready(self): class Counter (line 21) | class Counter(discord.ui.View): method count (line 28) | async def count(self, interaction: discord.Interaction, button: discor... class EphemeralCounter (line 40) | class EphemeralCounter(discord.ui.View): method receive (line 44) | async def receive(self, interaction: discord.Interaction, button: disc... function counter (line 53) | async def counter(ctx: commands.Context): FILE: examples/views/link.py class GoogleBot (line 9) | class GoogleBot(commands.Bot): method __init__ (line 10) | def __init__(self): method on_ready (line 16) | async def on_ready(self): class Google (line 23) | class Google(discord.ui.View): method __init__ (line 24) | def __init__(self, query: str): function google (line 40) | async def google(ctx: commands.Context, *, query: str): FILE: examples/views/persistent.py class PersistentView (line 17) | class PersistentView(discord.ui.View): method __init__ (line 18) | def __init__(self): method green (line 22) | async def green(self, interaction: discord.Interaction, button: discor... method red (line 26) | async def red(self, interaction: discord.Interaction, button: discord.... method grey (line 30) | async def grey(self, interaction: discord.Interaction, button: discord... class DynamicButton (line 40) | class DynamicButton(discord.ui.DynamicItem[discord.ui.Button], template=... method __init__ (line 41) | def __init__(self, user_id: int) -> None: method from_custom_id (line 54) | async def from_custom_id(cls, interaction: discord.Interaction, item: ... method interaction_check (line 58) | async def interaction_check(self, interaction: discord.Interaction) ->... method callback (line 62) | async def callback(self, interaction: discord.Interaction) -> None: class PersistentViewBot (line 66) | class PersistentViewBot(commands.Bot): method __init__ (line 67) | def __init__(self): method setup_hook (line 73) | async def setup_hook(self) -> None: method on_ready (line 83) | async def on_ready(self): function prepare (line 93) | async def prepare(ctx: commands.Context): function dynamic_button (line 103) | async def dynamic_button(ctx: commands.Context): FILE: examples/views/tic_tac_toe.py class TicTacToeButton (line 10) | class TicTacToeButton(discord.ui.Button['TicTacToe']): method __init__ (line 11) | def __init__(self, x: int, y: int): method callback (line 22) | async def callback(self, interaction: discord.Interaction): class TicTacToe (line 62) | class TicTacToe(discord.ui.View): method __init__ (line 70) | def __init__(self): method check_board_winner (line 87) | def check_board_winner(self): class TicTacToeBot (line 123) | class TicTacToeBot(commands.Bot): method __init__ (line 124) | def __init__(self): method on_ready (line 130) | async def on_ready(self): function tic (line 139) | async def tic(ctx: commands.Context): FILE: setup.py function derive_version (line 4) | def derive_version() -> str: FILE: tests/test_annotated_annotation.py function test_annotated_annotation (line 35) | def test_annotated_annotation(): FILE: tests/test_app_commands_autocomplete.py function free_function_autocomplete (line 34) | async def free_function_autocomplete(interaction: discord.Interaction, c... function invalid_free_function (line 38) | async def invalid_free_function(self, interaction: discord.Interaction, ... class X (line 42) | class X(app_commands.Transformer): method autocomplete (line 43) | async def autocomplete(self, interaction: discord.Interaction, current... class ClassBased (line 47) | class ClassBased: method autocomplete (line 48) | async def autocomplete(self, interaction: discord.Interaction, current... method invalid (line 51) | async def invalid(self, interaction: discord.Interaction, current: str... function test_free_function_autocomplete (line 60) | def test_free_function_autocomplete(): function test_invalid_free_function_autocomplete (line 71) | def test_invalid_free_function_autocomplete(): function test_transformer_autocomplete (line 80) | def test_transformer_autocomplete(): function test_multiple_transformer_autocomplete (line 95) | def test_multiple_transformer_autocomplete(): function test_bound_function_autocomplete (line 115) | def test_bound_function_autocomplete(): function test_invalid_bound_function_autocomplete (line 127) | def test_invalid_bound_function_autocomplete(): function test_group_function_autocomplete (line 136) | def test_group_function_autocomplete(): FILE: tests/test_app_commands_description.py function test_descriptions_describe (line 32) | def test_descriptions_describe(): function test_descriptions_no_args (line 44) | def test_descriptions_no_args(): function test_descriptions_numpy (line 52) | def test_descriptions_numpy(): function test_descriptions_numpy_extras (line 73) | def test_descriptions_numpy_extras(): function test_descriptions_google (line 101) | def test_descriptions_google(): function test_descriptions_google_extras (line 119) | def test_descriptions_google_extras(): function test_descriptions_sphinx (line 143) | def test_descriptions_sphinx(): function test_descriptions_sphinx_extras (line 162) | def test_descriptions_sphinx_extras(): function test_descriptions_docstring_and_describe (line 185) | def test_descriptions_docstring_and_describe(): function test_descriptions_group_no_args (line 204) | def test_descriptions_group_no_args(): function test_descriptions_group_args (line 214) | def test_descriptions_group_args(): function test_descriptions_cog_commands (line 235) | def test_descriptions_cog_commands(): FILE: tests/test_app_commands_group.py function test_group_with_commands (line 32) | def test_group_with_commands(): function test_group_subclass_with_commands (line 44) | def test_group_subclass_with_commands(): function test_group_subclass_with_group (line 56) | def test_group_subclass_with_group(): function test_group_subclass_with_group_subclass (line 75) | def test_group_subclass_with_group_subclass(): function test_cog_with_commands (line 102) | def test_cog_with_commands(): function test_cog_with_group_with_commands (line 113) | def test_cog_with_group_with_commands(): function test_cog_with_nested_group_with_commands (line 129) | def test_cog_with_nested_group_with_commands(): function test_cog_with_group_subclass_with_commands (line 155) | def test_cog_with_group_subclass_with_commands(): function test_cog_with_group_subclass_with_group (line 181) | def test_cog_with_group_subclass_with_group(): function test_cog_with_group_subclass_with_group_subclass (line 213) | def test_cog_with_group_subclass_with_group_subclass(): function test_cog_group_with_commands (line 262) | def test_cog_group_with_commands(): function test_cog_group_with_group (line 277) | def test_cog_group_with_group(): function test_cog_group_with_subclass_group (line 296) | def test_cog_group_with_subclass_group(): function test_cog_group_with_subclassed_subclass_group (line 325) | def test_cog_group_with_subclassed_subclass_group(): function test_cog_group_with_custom_state_issue9383 (line 359) | def test_cog_group_with_custom_state_issue9383(): function test_cog_hybrid_group_manual_command (line 402) | def test_cog_hybrid_group_manual_command(): function test_cog_hybrid_group_manual_nested_command (line 444) | def test_cog_hybrid_group_manual_nested_command(): function test_cog_hybrid_group_wrapped_instance (line 484) | def test_cog_hybrid_group_wrapped_instance(): FILE: tests/test_app_commands_invoke.py class MockCommandInteraction (line 48) | class MockCommandInteraction(discord.Interaction): method _get_command_options (line 50) | def _get_command_options(cls, **options: str) -> List[ApplicationComma... method _get_command_data (line 61) | def _get_command_data( method __init__ (line 79) | def __init__( class MockTree (line 100) | class MockTree(discord.app_commands.CommandTree): method _call (line 103) | async def _call(self, interaction: discord.Interaction) -> None: method on_error (line 107) | async def on_error(self, interaction: discord.Interaction, error: disc... function test_command (line 115) | async def test_command(interaction: discord.Interaction, foo: str) -> None: function wrapper (line 119) | def wrapper(func: Callable[P, Awaitable[T]]) -> Callable[P, Coroutine[An... function test_wrapped_command (line 129) | async def test_wrapped_command(interaction: discord.Interaction, foo: st... function test_command_raises (line 134) | async def test_command_raises(interaction: discord.Interaction, foo: str... function test_wrapped_command_raises (line 140) | async def test_wrapped_command_raises(interaction: discord.Interaction, ... function test_valid_command_invoke (line 166) | async def test_valid_command_invoke( function test_invalid_command_invoke (line 193) | async def test_invalid_command_invoke(command: discord.app_commands.Comm... FILE: tests/test_colour.py function test_from_str (line 49) | def test_from_str(value, expected): function test_from_str_failures (line 67) | def test_from_str_failures(value): FILE: tests/test_ext_commands_cog.py function mock_bot (line 38) | def mock_bot() -> object: function mock_interaction (line 43) | def mock_interaction() -> object: function mock_on_group_error_handler (line 48) | def mock_on_group_error_handler() -> AsyncMock: function mock_on_sub_group_error_handler (line 53) | def mock_on_sub_group_error_handler() -> AsyncMock: function sub_group_class (line 58) | def sub_group_class() -> Type[app_commands.Group]: function sub_group_with_handler_class (line 68) | def sub_group_with_handler_class(mock_on_sub_group_error_handler: AsyncM... function group_class (line 85) | def group_class(sub_group_class: Type[app_commands.Group]) -> Type[app_c... function group_with_handler_class (line 97) | def group_with_handler_class( function group_with_handler_and_sub_group_handler_class (line 118) | def group_with_handler_and_sub_group_handler_class( class TestCog (line 138) | class TestCog: method test_cog_app_command_error_from_command (line 140) | async def test_cog_app_command_error_from_command( method test_cog_app_command_error_from_command_with_error_handler (line 166) | async def test_cog_app_command_error_from_command_with_error_handler( method test_cog_app_command_error_from_group (line 202) | async def test_cog_app_command_error_from_group( method test_cog_app_command_error_from_sub_group (line 227) | async def test_cog_app_command_error_from_sub_group( method test_cog_app_command_error_from_group_with_handler (line 252) | async def test_cog_app_command_error_from_group_with_handler( method test_cog_app_command_error_from_sub_group_with_parent_handler (line 279) | async def test_cog_app_command_error_from_sub_group_with_parent_handler( method test_cog_app_command_error_from_sub_group_with_handler_and_parent_handler (line 306) | async def test_cog_app_command_error_from_sub_group_with_handler_and_p... class TestGroupCog (line 335) | class TestGroupCog: method test_cog_app_command_error_from_command (line 337) | async def test_cog_app_command_error_from_command( method test_cog_app_command_error_from_command_with_error_handler (line 363) | async def test_cog_app_command_error_from_command_with_error_handler( method test_cog_app_command_error_from_sub_group (line 399) | async def test_cog_app_command_error_from_sub_group( method test_cog_app_command_error_from_sub_group_with_handler (line 424) | async def test_cog_app_command_error_from_sub_group_with_handler( FILE: tests/test_ext_commands_description.py function test_ext_commands_descriptions_explicit (line 30) | def test_ext_commands_descriptions_explicit(): function test_ext_commands_descriptions_no_args (line 44) | def test_ext_commands_descriptions_no_args(): function test_ext_commands_descriptions_numpy (line 52) | def test_ext_commands_descriptions_numpy(): function test_ext_commands_descriptions_numpy_extras (line 79) | def test_ext_commands_descriptions_numpy_extras(): function test_ext_commands_descriptions_cog_commands (line 113) | def test_ext_commands_descriptions_cog_commands(): FILE: tests/test_ext_tasks.py function test_explicit_initial_runs_tomorrow_single (line 20) | async def test_explicit_initial_runs_tomorrow_single(): function test_explicit_initial_runs_tomorrow_multi (line 49) | async def test_explicit_initial_runs_tomorrow_multi(): function test_task_regression_issue7659 (line 81) | def test_task_regression_issue7659(): function test_task_regression_issue7676 (line 109) | def test_task_regression_issue7676(): function test_task_is_imaginary (line 134) | def test_task_is_imaginary(): function test_task_is_ambiguous (line 149) | def test_task_is_ambiguous(): function test_task_date_resolve (line 173) | def test_task_date_resolve(dt, key, expected): FILE: tests/test_files.py function test_file_with_no_name (line 35) | def test_file_with_no_name(): function test_io_with_no_name (line 40) | def test_io_with_no_name(): function test_file_with_name (line 45) | def test_file_with_name(): function test_io_with_name (line 50) | def test_io_with_name(): function test_file_with_no_name_and_spoiler (line 55) | def test_file_with_no_name_and_spoiler(): function test_file_with_spoiler_name_and_implicit_spoiler (line 61) | def test_file_with_spoiler_name_and_implicit_spoiler(): function test_file_with_spoiler_name_and_spoiler (line 67) | def test_file_with_spoiler_name_and_spoiler(): function test_file_with_spoiler_name_and_not_spoiler (line 73) | def test_file_with_spoiler_name_and_not_spoiler(): function test_file_with_name_and_double_spoiler_and_implicit_spoiler (line 79) | def test_file_with_name_and_double_spoiler_and_implicit_spoiler(): function test_file_with_name_and_double_spoiler_and_spoiler (line 85) | def test_file_with_name_and_double_spoiler_and_spoiler(): function test_file_with_name_and_double_spoiler_and_not_spoiler (line 91) | def test_file_with_name_and_double_spoiler_and_not_spoiler(): function test_file_with_spoiler_with_overriding_name_not_spoiler (line 97) | def test_file_with_spoiler_with_overriding_name_not_spoiler(): function test_file_with_spoiler_with_overriding_name_spoiler (line 104) | def test_file_with_spoiler_with_overriding_name_spoiler(): function test_file_not_spoiler_with_overriding_name_not_spoiler (line 111) | def test_file_not_spoiler_with_overriding_name_not_spoiler(): function test_file_not_spoiler_with_overriding_name_spoiler (line 118) | def test_file_not_spoiler_with_overriding_name_spoiler(): function test_file_not_spoiler_with_overriding_name_double_spoiler (line 125) | def test_file_not_spoiler_with_overriding_name_double_spoiler(): FILE: tests/test_ui_selects.py function test_add_option (line 32) | async def test_add_option(): FILE: tests/test_utils.py function async_iterate (line 23) | async def async_iterate(array): function test_cached_properties (line 28) | def test_cached_properties(): function test_snowflake_time (line 64) | def test_snowflake_time(snowflake: int, time_tuple: typing.Tuple[int, in... function test_get_find (line 73) | async def test_get_find(): function test_get_slots (line 105) | def test_get_slots(): function test_valid_icon_size (line 118) | def test_valid_icon_size(): function test_resolve_invite (line 136) | def test_resolve_invite(url, code): function test_resolve_invite_event (line 151) | def test_resolve_invite_event(url, event_id: typing.Optional[int]): function test_resolve_template (line 163) | def test_resolve_template(url, code): function test_escape_mentions (line 170) | def test_escape_mentions(mention): function test_as_chunks (line 185) | async def test_as_chunks(source, chunk_size, chunked): function test_resolve_annotation (line 199) | def test_resolve_annotation(annotation, resolved): function test_resolve_annotation_with_cache (line 216) | def test_resolve_annotation_with_cache(annotation, resolved, check_cache): function test_resolve_annotation_optional_normalisation (line 234) | def test_resolve_annotation_optional_normalisation(): function test_resolve_annotation_310 (line 248) | def test_resolve_annotation_310(annotation, resolved): function test_resolve_annotation_with_cache_310 (line 261) | def test_resolve_annotation_with_cache_310(annotation, resolved): function not_a_class (line 279) | def not_a_class(): class ThisIsAClass (line 286) | class ThisIsAClass: method in_a_class (line 287) | def in_a_class(self): method a_class_method (line 294) | def a_class_method(cls): method a_static_method (line 301) | def a_static_method(): class SubClass (line 307) | class SubClass: function test_is_inside_class (line 311) | def test_is_inside_class(): function test_format_dt (line 335) | def test_format_dt(dt: datetime.datetime, style: typing.Optional[utils.T...