Bladeren bron

Add new "removefeed" command to
support deleting feeds in the Matrix RSS Bot

This commit adds a new "removefeed" command to the Matrix RSS Bot,
which allows users to delete existing RSS feeds from the bot's list of
subscribed feeds. The "removefeed" command is added to the "__init__.py"
file in the "matrix_rssbot/classes/commands" directory.

Kumi 8 maanden geleden
bovenliggende
commit
bd6210bb4a
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      src/matrix_rssbot/classes/commands/__init__.py

+ 1 - 0
src/matrix_rssbot/classes/commands/__init__.py

@@ -12,6 +12,7 @@ for command in [
     "addfeed",
     "listfeeds",
     "processfeeds",
+    "removefeed",
 ]:
     function = getattr(import_module(
         "." + command, "matrix_rssbot.classes.commands"), "command_" + command)