diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-10-15 15:35:26 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:54 +0100 |
commit | 094868a40f22aa09b412ef8db4ea2eb885433e0c (patch) | |
tree | 5bcdcb86756d2dd4dd32d35737c922f6da12be11 /slack/shared.py | |
parent | f8fc75bc34565364591515eb8c87cacc8ddeb35f (diff) | |
download | wee-slack-094868a40f22aa09b412ef8db4ea2eb885433e0c.tar.gz |
Use one debug buffer for all debug logging
I will implement filtering like the /server raw buffer, instead of
having multiple debug buffers.
Diffstat (limited to 'slack/shared.py')
-rw-r--r-- | slack/shared.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/slack/shared.py b/slack/shared.py index 32bad27..0e278ca 100644 --- a/slack/shared.py +++ b/slack/shared.py @@ -1,7 +1,7 @@ from __future__ import annotations from collections import defaultdict -from typing import TYPE_CHECKING, Callable, Dict, List, Union +from typing import TYPE_CHECKING, Callable, Dict, List, Optional, Union if TYPE_CHECKING: from slack.config import SlackConfig @@ -31,6 +31,7 @@ class Shared: self.standard_emojis: Dict[str, Emoji] self.standard_emojis_inverse: Dict[str, Emoji] self.highlight_tag = "highlight" + self.debug_buffer_pointer: Optional[str] = None shared = Shared() |