(interaction)
| 87 | }; |
| 88 | |
| 89 | async function handleRefresh(interaction) { |
| 90 | if (isCategoriesView(interaction)) { |
| 91 | const { embed, components } = await buildLoggingCategoriesView(interaction, interaction.client); |
| 92 | return interaction.update({ embeds: [embed], components, content: null }); |
| 93 | } |
| 94 | |
| 95 | if (isFilterView(interaction)) { |
| 96 | const { embed, components } = await buildLoggingFilterView(interaction, interaction.client); |
| 97 | return interaction.update({ embeds: [embed], components, content: null }); |
| 98 | } |
| 99 | |
| 100 | const { embed, components } = await buildLoggingDashboardView(interaction, interaction.client); |
| 101 | await interaction.update({ embeds: [embed], components, content: null }); |
| 102 | } |
| 103 | |
| 104 | async function handleBackToMain(interaction) { |
| 105 | const { embed, components } = await buildLoggingDashboardView(interaction, interaction.client); |
no test coverage detected