An API wrapper for Discord written in Python.
967 matches across 12 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | discord/sku.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/user.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/mixins.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/_types.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/sticker.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/gateway.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/enums.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/widget.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/subscription.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/asset.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/object.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/emoji.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/oggparse.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/onboarding.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/appinfo.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/flags.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/client.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/invite.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/channel.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/member.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/activity.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/partial_emoji.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/message.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/role.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/welcome_screen.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/team.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/scheduled_event.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/backoff.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/shard.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/file.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/threads.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/context_managers.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/utils.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/player.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/primary_guild.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/http.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/opus.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/template.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/permissions.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/automod.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/soundboard.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/mentions.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/errors.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/interactions.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/embeds.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/poll.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/components.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/stage_instance.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/voice_client.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/audit_logs.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/colour.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/integrations.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/__main__.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/presences.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/guild.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/state.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/raw_models.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/collectible.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/reaction.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| HIGH | discord/abc.py | 0 | the mit license (mit) copyright (c) 2015-present rapptz permission is hereby granted, free of charge, to any person obta |
| 134 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | discord/voice_state.py | 268 | def max_dave_protocol_version(self) -> int: |
| LOW | discord/voice_state.py | 293 | async def _recover_from_invalid_commit(self, transition_id: int) -> None: |
| LOW | discord/asset.py | 299 | def _from_scheduled_event_cover_image(cls, state: _State, scheduled_event_id: int, cover_image_hash: str) -> Self: |
| LOW | discord/flags.py | 340 | def guild_reminder_notifications(self): |
| LOW | discord/flags.py | 348 | def join_notification_replies(self): |
| LOW | discord/flags.py | 357 | def role_subscription_purchase_notifications(self): |
| LOW | discord/flags.py | 366 | def role_subscription_purchase_notification_replies(self): |
| LOW | discord/flags.py | 506 | def failed_to_mention_some_roles_in_thread(self): |
| LOW | discord/flags.py | 690 | def early_verified_bot_developer(self): |
| LOW | discord/flags.py | 698 | def discord_certified_moderator(self): |
| LOW | discord/flags.py | 1317 | def auto_moderation_configuration(self): |
| LOW | discord/flags.py | 1331 | def auto_moderation_execution(self): |
| LOW | discord/flags.py | 1650 | def gateway_guild_members_limited(self): |
| LOW | discord/flags.py | 1657 | def verification_pending_guild_limit(self): |
| LOW | discord/flags.py | 1675 | def gateway_message_content_limited(self): |
| LOW | discord/flags.py | 1773 | def hide_media_download_options(self): |
| LOW | discord/flags.py | 2142 | def automod_quarantined_username(self): |
| LOW | discord/flags.py | 2151 | def automod_quarantined_guild_tag(self): |
| LOW | discord/flags.py | 2160 | def dm_settings_upsell_acknowledged(self): |
| LOW | discord/client.py | 586 | async def _call_before_identify_hook(self, shard_id: Optional[int], *, initial: bool = False) -> None: |
| LOW | discord/client.py | 3023 | async def fetch_premium_sticker_packs(self) -> List[StickerPack]: |
| LOW | discord/client.py | 3043 | async def fetch_premium_sticker_pack(self, sticker_pack_id: int, /) -> StickerPack: |
| LOW | discord/client.py | 3070 | async def fetch_soundboard_default_sounds(self) -> List[SoundboardDefaultSound]: |
| LOW | discord/channel.py | 403 | def _scheduled_event_entity_type(self) -> Optional[EntityType]: |
| LOW | discord/channel.py | 1540 | def _scheduled_event_entity_type(self) -> Optional[EntityType]: |
| LOW | discord/channel.py | 1772 | def _scheduled_event_entity_type(self) -> Optional[EntityType]: |
| LOW | discord/channel.py | 2075 | def _scheduled_event_entity_type(self) -> Optional[EntityType]: |
| LOW | discord/channel.py | 2527 | def _scheduled_event_entity_type(self) -> Optional[EntityType]: |
| LOW | discord/channel.py | 3669 | def _threaded_channel_factory(channel_type: int): |
| LOW | discord/channel.py | 3676 | def _threaded_guild_channel_factory(channel_type: int): |
| LOW | discord/partial_emoji.py | 180 | def _to_onboarding_prompt_option_payload(self) -> Dict[str, Any]: |
| LOW | discord/message.py | 914 | def original_response_message(self) -> Optional[Message]: |
| LOW | discord/message.py | 1968 | def to_message_reference_dict(self) -> MessageReferencePayload: |
| LOW | discord/message.py | 2509 | def _handle_interaction_metadata(self, data: MessageInteractionMetadataPayload): |
| LOW | discord/message.py | 2516 | def _rebind_cached_references( |
| LOW | discord/role.py | 109 | def is_available_for_purchase(self) -> bool: |
| LOW | discord/shard.py | 455 | async def fetch_session_start_limits(self) -> SessionStartLimits: |
| LOW | discord/utils.py | 1125 | def normalise_optional_params(parameters: Iterable[Any]) -> Tuple[Any, ...]: |
| LOW | discord/player.py | 217 | def _check_process_returncode(self) -> None: |
| LOW | discord/http.py | 141 | def handle_message_parameters( |
| LOW | discord/http.py | 573 | def _try_clear_expired_ratelimits(self) -> None: |
| LOW | discord/http.py | 1233 | def edit_voice_channel_status( |
| LOW | discord/http.py | 1295 | def start_thread_with_message( |
| LOW | discord/http.py | 1316 | def start_thread_without_message( |
| LOW | discord/http.py | 1367 | def get_public_archived_threads( |
| LOW | discord/http.py | 1378 | def get_private_archived_threads( |
| LOW | discord/http.py | 1389 | def get_joined_private_archived_threads( |
| LOW | discord/http.py | 1662 | def list_premium_sticker_packs(self) -> Response[sticker.ListPremiumStickerPacks]: |
| LOW | discord/http.py | 1991 | def delete_channel_permissions( |
| LOW | discord/http.py | 2063 | def create_guild_scheduled_event( |
| LOW | discord/http.py | 2160 | def get_scheduled_event_users( |
| LOW | discord/http.py | 2171 | def get_scheduled_event_users( |
| LOW | discord/http.py | 2182 | def get_scheduled_event_users( |
| LOW | discord/http.py | 2192 | def get_scheduled_event_users( |
| LOW | discord/http.py | 2270 | def bulk_upsert_global_commands( |
| LOW | discord/http.py | 2355 | def bulk_upsert_guild_commands( |
| LOW | discord/http.py | 2369 | def get_guild_application_command_permissions( |
| LOW | discord/http.py | 2382 | def get_application_command_permissions( |
| LOW | discord/http.py | 2397 | def edit_application_command_permissions( |
| LOW | discord/http.py | 2413 | def get_auto_moderation_rules(self, guild_id: Snowflake) -> Response[List[automod.AutoModerationRule]]: |
| 213 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | discord/sku.py | 25 | |
| LOW | discord/user.py | 25 | |
| LOW | discord/_types.py | 25 | |
| LOW | discord/sticker.py | 25 | |
| LOW | discord/gateway.py | 25 | |
| LOW | discord/enums.py | 25 | |
| LOW | discord/widget.py | 25 | |
| LOW | discord/voice_state.py | 40 | |
| LOW | discord/subscription.py | 25 | |
| LOW | discord/asset.py | 25 | |
| LOW | discord/object.py | 25 | |
| LOW | discord/emoji.py | 25 | |
| LOW | discord/oggparse.py | 25 | |
| LOW | discord/onboarding.py | 25 | |
| LOW | discord/appinfo.py | 25 | |
| LOW | discord/flags.py | 25 | |
| LOW | discord/client.py | 25 | |
| LOW | discord/client.py | 62 | |
| LOW | discord/client.py | 65 | |
| LOW | discord/invite.py | 25 | |
| LOW | discord/channel.py | 25 | |
| LOW | discord/member.py | 25 | |
| LOW | discord/activity.py | 25 | |
| LOW | discord/partial_emoji.py | 25 | |
| LOW | discord/__init__.py | 23 | |
| LOW | discord/__init__.py | 24 | |
| LOW | discord/__init__.py | 25 | |
| LOW | discord/__init__.py | 26 | |
| LOW | discord/__init__.py | 27 | |
| LOW | discord/__init__.py | 28 | |
| LOW | discord/__init__.py | 29 | |
| LOW | discord/__init__.py | 30 | |
| LOW | discord/__init__.py | 31 | |
| LOW | discord/__init__.py | 32 | |
| LOW | discord/__init__.py | 33 | |
| LOW | discord/__init__.py | 34 | |
| LOW | discord/__init__.py | 35 | |
| LOW | discord/__init__.py | 36 | |
| LOW | discord/__init__.py | 37 | |
| LOW | discord/__init__.py | 38 | |
| LOW | discord/__init__.py | 39 | |
| LOW | discord/__init__.py | 40 | |
| LOW | discord/__init__.py | 41 | |
| LOW | discord/__init__.py | 42 | |
| LOW | discord/__init__.py | 43 | |
| LOW | discord/__init__.py | 44 | |
| LOW | discord/__init__.py | 45 | |
| LOW | discord/__init__.py | 46 | |
| LOW | discord/__init__.py | 47 | |
| LOW | discord/__init__.py | 48 | |
| LOW | discord/__init__.py | 48 | |
| LOW | discord/__init__.py | 48 | |
| LOW | discord/__init__.py | 48 | |
| LOW | discord/__init__.py | 55 | |
| LOW | discord/__init__.py | 56 | |
| LOW | discord/__init__.py | 57 | |
| LOW | discord/__init__.py | 58 | |
| LOW | discord/__init__.py | 59 | |
| LOW | discord/__init__.py | 60 | |
| LOW | discord/__init__.py | 61 | |
| 223 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | discord/gateway.py | 157 | |
| LOW | discord/gateway.py | 631 | |
| LOW | discord/gateway.py | 983 | |
| LOW | discord/gateway.py | 1034 | |
| LOW | discord/gateway.py | 1152 | |
| LOW | discord/enums.py | 509 | |
| LOW | discord/voice_state.py | 148 | |
| LOW | discord/voice_state.py | 378 | |
| LOW | discord/voice_state.py | 667 | |
| LOW | discord/appinfo.py | 299 | |
| LOW | discord/client.py | 528 | |
| LOW | discord/client.py | 695 | |
| LOW | discord/channel.py | 3639 | |
| LOW | discord/channel.py | 979 | |
| LOW | discord/channel.py | 2673 | |
| LOW | discord/channel.py | 3121 | |
| LOW | discord/activity.py | 871 | |
| LOW | discord/activity.py | 793 | |
| LOW | discord/message.py | 2193 | |
| LOW | discord/role.py | 613 | |
| LOW | discord/scheduled_event.py | 377 | |
| LOW | discord/shard.py | 519 | |
| LOW | discord/utils.py | 623 | |
| LOW | discord/utils.py | 1130 | |
| LOW | discord/utils.py | 1488 | |
| LOW | discord/player.py | 784 | |
| LOW | discord/http.py | 141 | |
| LOW | discord/http.py | 456 | |
| LOW | discord/http.py | 589 | |
| LOW | discord/automod.py | 251 | |
| LOW | discord/automod.py | 297 | |
| LOW | discord/soundboard.py | 235 | |
| LOW | discord/interactions.py | 215 | |
| LOW | discord/components.py | 1750 | |
| LOW | discord/audit_logs.py | 281 | |
| LOW | discord/audit_logs.py | 376 | |
| LOW | discord/audit_logs.py | 508 | |
| LOW | discord/audit_logs.py | 706 | |
| LOW | discord/__main__.py | 291 | |
| LOW | discord/guild.py | 2000 | |
| LOW | discord/guild.py | 3282 | |
| LOW | discord/state.py | 606 | |
| LOW | discord/state.py | 869 | |
| LOW | discord/state.py | 1663 | |
| LOW | discord/state.py | 1705 | |
| LOW | discord/state.py | 1900 | |
| LOW | discord/abc.py | 478 | |
| LOW | discord/abc.py | 1146 | |
| LOW | discord/abc.py | 1902 | |
| LOW | discord/webhook/sync.py | 115 | |
| LOW | discord/webhook/async_.py | 547 | |
| LOW | discord/webhook/async_.py | 130 | |
| LOW | discord/ui/view.py | 101 | |
| LOW | discord/ui/view.py | 114 | |
| LOW | discord/ui/view.py | 386 | |
| LOW | discord/ui/view.py | 745 | |
| LOW | discord/ui/view.py | 849 | |
| LOW | discord/ui/modal.py | 176 | |
| LOW | discord/ui/select.py | 133 | |
| LOW | discord/ext/tasks/__init__.py | 208 | |
| 27 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | setup.py | 26 | except Exception: |
| LOW | discord/gateway.py | 166 | except Exception: |
| LOW | discord/gateway.py | 196 | except Exception: |
| LOW | discord/gateway.py | 606 | except Exception as exc: |
| LOW | discord/gateway.py | 1065 | except Exception: |
| LOW | discord/gateway.py | 1075 | except Exception: |
| LOW | discord/voice_state.py | 141 | except Exception: |
| LOW | discord/voice_state.py | 175 | except Exception: |
| LOW | discord/voice_state.py | 463 | except Exception: |
| LOW | discord/voice_state.py | 516 | except Exception: |
| LOW | discord/voice_state.py | 563 | except Exception: |
| LOW | discord/oggparse.py | 69 | except Exception: |
| LOW | discord/client.py | 511 | except Exception: |
| LOW | discord/client.py | 542 | except Exception as exc: |
| LOW | discord/shard.py | 184 | except Exception as e: |
| LOW | discord/shard.py | 211 | except Exception as e: |
| LOW | discord/shard.py | 225 | except Exception as e: |
| LOW | discord/shard.py | 486 | except Exception: |
| LOW | discord/player.py | 174 | except Exception: |
| LOW | discord/player.py | 236 | except Exception: |
| LOW | discord/player.py | 257 | except Exception: |
| LOW | discord/player.py | 262 | except Exception: |
| LOW | discord/player.py | 270 | except Exception: |
| LOW | discord/player.py | 294 | except Exception: |
| LOW | discord/player.py | 306 | except Exception: |
| LOW | discord/player.py | 313 | except Exception: |
| LOW | discord/player.py | 838 | except Exception as exc: |
| LOW | discord/player.py | 851 | except Exception as exc: |
| LOW | discord/player.py | 889 | except Exception: |
| LOW | discord/player.py | 896 | except Exception: |
| MEDIUM | discord/player.py | 835 | def run(self) -> None: |
| LOW | discord/opus.py | 238 | except Exception: |
| LOW | discord/__main__.py | 85 | except Exception as exc: |
| LOW | discord/state.py | 170 | except Exception: |
| LOW | discord/state.py | 288 | except Exception: |
| LOW | discord/abc.py | 2156 | except Exception: |
| LOW | discord/ui/view.py | 599 | except Exception as e: |
| LOW | discord/ui/view.py | 1013 | except Exception: |
| LOW | discord/ui/view.py | 1032 | except Exception: |
| LOW | discord/ui/view.py | 1040 | except Exception: |
| LOW | discord/ui/modal.py | 217 | except Exception as e: |
| LOW | discord/ext/tasks/__init__.py | 276 | except Exception as exc: |
| LOW | discord/ext/commands/hybrid.py | 161 | except Exception as exc: |
| LOW | discord/ext/commands/hybrid.py | 175 | except Exception as exc: |
| LOW | discord/ext/commands/flags.py | 412 | except Exception as e: |
| LOW | discord/ext/commands/flags.py | 435 | except Exception as e: |
| LOW | discord/ext/commands/flags.py | 473 | except Exception as e: |
| LOW | discord/ext/commands/converter.py | 763 | except Exception as exc: |
| LOW | discord/ext/commands/converter.py | 1355 | except Exception as exc: |
| LOW | discord/ext/commands/converter.py | 1362 | except Exception as exc: |
| LOW | discord/ext/commands/core.py | 253 | except Exception as exc: |
| LOW | discord/ext/commands/core.py | 273 | except Exception as exc: |
| LOW | discord/ext/commands/bot.py | 248 | except Exception: |
| LOW | discord/ext/commands/bot.py | 254 | except Exception: |
| LOW | discord/ext/commands/bot.py | 946 | except Exception: |
| LOW | discord/ext/commands/bot.py | 962 | except Exception as e: |
| LOW | discord/ext/commands/bot.py | 974 | except Exception as e: |
| LOW | discord/ext/commands/bot.py | 1144 | except Exception: |
| LOW | discord/ext/commands/cog.py | 721 | except Exception as e: |
| LOW | discord/ext/commands/cog.py | 781 | except Exception: |
| 8 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | discord/ext/commands/cooldowns.py | 176 | """This class is a version of a semaphore. |
| MEDIUM | docs/conf.py | 5 | # This file is execfile()d with the current directory set to its |
| MEDIUM | examples/modals/report.py | 36 | # Define a modal dialog for reporting issues or feedback |
| MEDIUM | examples/views/link.py | 24 | # Define a simple View that gives us a google link button. |
| MEDIUM | examples/views/ephemeral.py | 23 | # Define a simple View that gives us a counter button |
| MEDIUM | examples/views/ephemeral.py | 25 | # Define the actual button |
| MEDIUM | examples/views/ephemeral.py | 41 | # Define a View that will give us our own personal counter button |
| MEDIUM | examples/views/layout.py | 23 | # Define a LayoutView, which will allow us to add v2 components to it. |
| MEDIUM | examples/views/persistent.py | 9 | # Define a simple View that persists between bot restarts |
| MEDIUM | examples/views/dropdown.py | 62 | # Create the view containing our dropdown |
| MEDIUM | examples/views/embed_like.py | 18 | # Create a session for making HTTP requests. |
| MEDIUM | examples/views/counter.py | 23 | # Define a simple View that gives us a counter button |
| MEDIUM | examples/views/counter.py | 25 | # Define the actual button |
| MEDIUM | examples/views/tic_tac_toe.py | 21 | # This function is called whenever this particular button is pressed |
| MEDIUM | examples/views/confirm.py | 22 | # Define a simple View that gives us a confirmation menu |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | discord/player.py | 804 | # Check if the source has an error (e.g., from FFmpegAudio process failure) |
| LOW | discord/http.py | 462 | # Check if we can pre-emptively block this request for having too large of a timeout |
| LOW | discord/ui/view.py | 296 | # Check if we've elapsed our currently set timeout |
| LOW | discord/ext/commands/help.py | 982 | # Check if it's a cog |
| LOW | discord/app_commands/transformers.py | 810 | # Check if a transform @classmethod is given to the class |
| LOW | discord/app_commands/transformers.py | 821 | # Check if there's an origin |
| LOW | discord/app_commands/transformers.py | 911 | # Check if the method is overridden |
| LOW | discord/app_commands/commands.py | 262 | # Check if there's an origin |
| LOW | discord/app_commands/commands.py | 831 | # Check if the on_error is overridden |
| LOW | discord/app_commands/commands.py | 839 | # Check if we have a bound error handler |
| LOW | discord/app_commands/commands.py | 2546 | # Check if called with parentheses or not |
| LOW | discord/app_commands/commands.py | 2599 | # Check if called with parentheses or not |
| LOW | discord/app_commands/commands.py | 2649 | # Check if called with parentheses or not |
| LOW | discord/app_commands/commands.py | 2743 | # Check if called with parentheses or not |
| LOW | discord/app_commands/commands.py | 2792 | # Check if called with parentheses or not |
| LOW | examples/reaction_roles.py | 28 | # Check if we're still in the guild and it's cached. |
| LOW | examples/reaction_roles.py | 60 | # Check if we're still in the guild and it's cached. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | discord/ui/container.py | 91 | # or you can use your subclass: |
| MEDIUM | discord/ui/action_row.py | 106 | # or you can use your subclass: |
| MEDIUM | discord/ui/action_row.py | 109 | # you can add items with row.button and row.select |
| MEDIUM | examples/custom_context.py | 47 | # with your new helper function, you can add a |
| MEDIUM | examples/views/layout.py | 25 | # you can add any top-level component (ui.ActionRow, ui.Section, ui.Container, ui.File, etc.) here |
| MEDIUM | examples/views/embed_like.py | 106 | # If you want the "embed" to have multiple images you can add a MediaGallery item |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | discord/enums.py | 136 | # Special case classmethod to just pass through |
| MEDIUM | discord/__init__.py | 94 | # Essentially forcing the exception to have different base classes |
| LOW | discord/message.py | 2388 | # didn't find anything so just return |
| LOW | discord/http.py | 705 | # the request was successful so just return the text/json |
| LOW | discord/ext/commands/core.py | 1320 | # since we have no checks, then we just return True. |
| MEDIUM | discord/app_commands/translator.py | 111 | # For type checking purposes, it makes sense to allow the user to leverage type narrowing |
| LOW | examples/converters.py | 64 | # Otherwise, we just return the converted member value. |
| MEDIUM | examples/views/dynamic_counter.py | 8 | # with state changes or dynamic items. In order to facilitate these complicated use cases, |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | discord/http.py | 661 | |
| LOW | discord/ext/tasks/__init__.py | 661 | def _start_time_relative_to(self, now: datetime.datetime) -> Optional[int]: |
| LOW | discord/ext/commands/help.py | 101 | FuncT = TypeVar('FuncT', bound=Callable[..., Any]) |
| LOW | discord/app_commands/commands.py | 861 | |
| LOW | docs/conf.py | 1 | # |
| LOW | docs/conf.py | 101 | |
| LOW | docs/conf.py | 121 | # List of patterns, relative to source directory, that match files and |
| LOW | docs/conf.py | 201 | |
| LOW | docs/conf.py | 221 | # Add any paths that contain custom static files (such as style sheets) here, |
| LOW | docs/conf.py | 241 | |
| LOW | docs/conf.py | 261 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
| LOW | docs/conf.py | 321 | # the title page. |
| LOW | docs/crowdin.yml | 1 | # -*- coding: utf-8 -*- |
| LOW | examples/views/embed_like.py | 81 | # A Section is a container that can hold 3 TextDisplay and an accessory. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | discord/ext/commands/context.py | 281 | raise RuntimeError('interaction channel ID is null, this is probably a Discord bug') |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | examples/views/tic_tac_toe.py | 117 | # If we're here, we need to check if a tie was made |