From dbd7920210bead4d60d855cd45382798c967c583 Mon Sep 17 00:00:00 2001 From: EQUENOS <50338932+EQUENOS@users.noreply.github.com> Date: Mon, 18 Sep 2023 17:07:38 +0300 Subject: [PATCH] Fix docs references --- disnake/ext/commands/errors.py | 4 ++-- disnake/ext/commands/interaction_bot_base.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/disnake/ext/commands/errors.py b/disnake/ext/commands/errors.py index f2fdb2893f..e7ecd8cf28 100644 --- a/disnake/ext/commands/errors.py +++ b/disnake/ext/commands/errors.py @@ -1031,13 +1031,13 @@ class AppCommandRegistrationError(CommandRegistrationError): because a command with the same key already exists. A key is determined by command type, name, and guild_id. - This inherits from :exc:`disnake.CommandRegistrationError` + This inherits from :exc:`CommandRegistrationError` .. versionadded:: 2.10 Attributes ---------- - cmd_type: :class:`ApplicationCommandType` + cmd_type: :class:`disnake.ApplicationCommandType` The command type. name: :class:`str` The command name. diff --git a/disnake/ext/commands/interaction_bot_base.py b/disnake/ext/commands/interaction_bot_base.py index 83f7b8ddb7..df7b00ecfa 100644 --- a/disnake/ext/commands/interaction_bot_base.py +++ b/disnake/ext/commands/interaction_bot_base.py @@ -462,7 +462,7 @@ def remove_app_command( Parameters ---------- - cmd_type: :class:`ApplicationCommandType` + cmd_type: :class:`disnake.ApplicationCommandType` The type of the app command to remove. name: :class:`str` The name of the app command to remove.