Skip to content

Commit 3358ef4

Browse files
committed
Rename SelectArtifactView to GetArtifactView
1 parent 218a4db commit 3358ef4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bot/src/ghutils/cogs/app_commands/github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from ghutils.ui.components.visibility import MessageVisibility, respond_with_visibility
2929
from ghutils.ui.embeds.commits import create_commit_embed
3030
from ghutils.ui.embeds.issues import create_issue_embed
31-
from ghutils.ui.views.select_artifact import SelectArtifactView
31+
from ghutils.ui.views.get_artifact import GetArtifactView
3232
from ghutils.utils.discord.embeds import set_embed_author
3333
from ghutils.utils.discord.references import (
3434
CommitReference,
@@ -332,7 +332,7 @@ class Actions(SubGroup):
332332
@app_commands.command()
333333
async def artifact(self, interaction: Interaction, repo: RepositoryOption):
334334
await interaction.response.defer(ephemeral=True)
335-
view = await SelectArtifactView.new(interaction, repo)
335+
view = await GetArtifactView.new(interaction, repo)
336336
await interaction.followup.send(view=view, ephemeral=True)
337337

338338
class Search(SubGroup):

bot/src/ghutils/ui/views/select_artifact.py renamed to bot/src/ghutils/ui/views/get_artifact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from ghutils.utils.strings import join_truthy, truncate_str
2727

2828

29-
class SelectArtifactView(LayoutView):
29+
class GetArtifactView(LayoutView):
3030
bot: GHUtilsBot
3131
github: GitHub[Any]
3232
command: AnyInteractionCommand

0 commit comments

Comments
 (0)