diff --git a/techsupport_bot/commands/factoids.py b/techsupport_bot/commands/factoids.py index 10e66de2..5c0fd44c 100644 --- a/techsupport_bot/commands/factoids.py +++ b/techsupport_bot/commands/factoids.py @@ -1707,6 +1707,13 @@ async def app_command_all( guild, exclusive_property=property, include_hidden=show_hidden ) + if not factoids: + embed = auxiliary.prepare_deny_embed( + "No factoids could be found matching your filter" + ) + await interaction.response.send_message(embed=embed) + return + aliases = self.build_alias_dict_for_given_factoids(factoids) # If the linx server isn't configured, we must make it a file