diff options
Diffstat (limited to 'slack/util.py')
-rw-r--r-- | slack/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slack/util.py b/slack/util.py index 8dfc967..e216576 100644 --- a/slack/util.py +++ b/slack/util.py @@ -13,5 +13,5 @@ def get_callback_name(callback: Callable[..., WeechatCallbackReturnType]) -> str return callback_id -def with_color(color: str, string: str): - return f"{weechat.color(color)}{string}{weechat.color('reset')}" +def with_color(color: str, string: str, reset_color: str = "reset"): + return f"{weechat.color(color)}{string}{weechat.color(reset_color)}" |