Forráskód Böngészése

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 hónapja
szülő
commit
bd6210bb4a
1 módosított fájl, 1 hozzáadás és 0 törlés
  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)