From 2d3ec6ea7ea84e9ede6b3e0726a6161306cea7a1 Mon Sep 17 00:00:00 2001 From: Dorukyum <53639936+Dorukyum@users.noreply.github.com> Date: Thu, 9 May 2024 10:48:25 +0300 Subject: [PATCH] Format --- pycord/multicog/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pycord/multicog/__init__.py b/pycord/multicog/__init__.py index 224a165..131bbe5 100644 --- a/pycord/multicog/__init__.py +++ b/pycord/multicog/__init__.py @@ -60,10 +60,8 @@ def _add_to_group( """A helper funcion to change attributes of a command to match those of the target group's.""" index = multicog_commands.index(command) - command.parent, command.guild_ids = ( - group, - group.guild_ids, - ) + command.parent = group + command.guild_ids = group.guild_ids group.add_command(command) multicog_commands[index] = command