Skip to content

Commit c69f517

Browse files
committed
make requested changes to #312
1 parent f399369 commit c69f517

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Master
3434
- Corrected :func:`twitchio.CustomRewardRedemption.refund` endpoint typo and creation
3535
- Changed :func:`~twitchio.Client.join_channels` logic to handle bigger channel lists better
3636
- Corrected :class:`~twitchio.Predictor` slots and user keys, repr has also been added
37+
- Updated IRC parser to not strip colons from beginning of messages
38+
- Updated IRC parser to not remove multiple spaces when clumped together
3739

3840
- ext.commands
3941
- Bug fixes

twitchio/parse.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ def parser(data: str, nick: str):
5858
user = None
5959
badges = None
6060

61-
logger.debug(f"---DATA--- {data}")
62-
6361
if action == "PING":
6462
return dict(action="PING")
6563

@@ -119,13 +117,6 @@ def parser(data: str, nick: str):
119117
else:
120118
batches.append(b)
121119

122-
actcode = action or code
123-
if actcode:
124-
level = logging.DEBUG
125-
if actcode not in ["JOIN", "PART"]:
126-
level = logging.INFO
127-
logger.log(level, f" parsed <{actcode}><{channel}><{user}><{message}>")
128-
129120
return dict(
130121
data=data,
131122
nick=nick,

0 commit comments

Comments
 (0)