From bd6210bb4a62ac0bb584f311c829db3eb010fb7a Mon Sep 17 00:00:00 2001 From: Kumi Date: Sat, 2 Mar 2024 17:39:39 +0100 Subject: [PATCH] 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. --- src/matrix_rssbot/classes/commands/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix_rssbot/classes/commands/__init__.py b/src/matrix_rssbot/classes/commands/__init__.py index c0e3303..3298263 100644 --- a/src/matrix_rssbot/classes/commands/__init__.py +++ b/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)