Skip to content

Commit

Permalink
remove set_custom_config() and get_custom_config()
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Mar 29, 2024
1 parent 28bf9f0 commit b77788d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions deltabot_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b77788d

Please sign in to comment.