Skip to content

Commit ef69872

Browse files
authored
Don't show bp buttons for empty location (#159)
1 parent 7925124 commit ef69872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/bp/bp-command.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class sendBp extends Subcommand {
5353
content:
5454
`[${interaction.user}] <@&${raiderRoleId}>
5555
` + formattedMessage,
56-
components: components,
56+
components: savedBp?.location ? components : undefined,
5757
});
5858

5959
interaction.editReply("Batphone posted: " + message);

0 commit comments

Comments
 (0)