From b77788d7df6b1efb2b48fe4bbd773a7471c0ccff Mon Sep 17 00:00:00 2001 From: adbenitez Date: Fri, 29 Mar 2024 15:07:58 -0400 Subject: [PATCH] remove set_custom_config() and get_custom_config() --- deltabot_cli/cli.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/deltabot_cli/cli.py b/deltabot_cli/cli.py index 64a9cd7..426f13d 100644 --- a/deltabot_cli/cli.py +++ b/deltabot_cli/cli.py @@ -87,17 +87,6 @@ def add_subcommand( subparser.set_defaults(cmd=func) return subparser - def set_custom_config(self, key: str, value: str) -> None: - """set a custom configuration value. - - This is useful to set custom settings for your application. - """ - self._bot.account.set_config(f"ui.{self.app_name}.{key}", value) - - def get_custom_config(self, key: str) -> Optional[str]: - """get custom a configuration value""" - return self._bot.account.get_config(f"ui.{self.app_name}.{key}") - def init_parser(self) -> None: """Add some default options and subcommands.