Skip to content

Commit 5566852

Browse files
fix: allow anyone to use show more button
1 parent 53f2454 commit 5566852

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

monty/exts/info/github/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -736,14 +736,6 @@ async def show_expanded_information(
736736
if not match:
737737
return
738738

739-
user_id = int(match.group("user_id"))
740-
if interaction.user.id != user_id:
741-
await interaction.response.send_message(
742-
"You cannot expand or collapse this GitHub issue as you did not request it.",
743-
ephemeral=True,
744-
)
745-
return
746-
747739
gh_resource = ghretos.parse_shorthand(f"{match.group('org')}/{match.group('repo')}#{match.group('number')}")
748740
if gh_resource is None:
749741
await interaction.response.send_message(

0 commit comments

Comments
 (0)