Comments (4)
Found some documentation on this that might be helpful. I am thinking possibly looking into this myself, but I need to figure out exactly how highlights work. Not sure what determines what is a highlight: the script or plugin, or some internal system for WeeChat?
Looks like printf_date_tags
is the function that is needed to write messages with a tag. The user's guide includes a convenient list of common tags, so that is nice.
from weechat-twitch.
Ok, i see what you are talking about messages like this are not logged when using level 3
--- USER subscribed at Tier 1. They've subscribed for 16 months!
I changed that line in the script over to
weechat.prnt_date_tags(buffer, 0, 'irc_notice,log3', '%s--%s %s' % (pcolor, ccolor, msg))
and now it appears to be logging.
note: logX is required or it wont log at all
try this branch
https://github.com/mumixam/weechat-twitch/tree/log_notice
from weechat-twitch.
Yep, I do see the messages logged now!
I would also prefer to have the stream titles logged as well. I noticed that not all of the old prints (outside of debug) were changed to the tags.
I think notify_message
should be added as well, although it might require conditions at every print to take into account the setting where you can suppress the notify level for notices.
I did get an email notification that had your previous message in it. I'm not sure if irc_notice
does anything useful. It can probably be removed without causing issues. I can test that too if you want.
from weechat-twitch.
yea i actually have code in the script that strips the notify for notices as i didn't like my buflist turning yellow like someone was sending messages to the channel when someone started hosting another channel. i think having notify_message
without having irc_notice
or irc_privmsg
will make the messages appear like JOIN/PART/QUIT messages would on a normal irc server (as buflist would call none level messages)
from weechat-twitch.
Related Issues (16)
- /whois does not work HOT 2
- Allow token to be stored securely HOT 3
- Unable to use WeeChat's secured data to store token HOT 2
- Is this still working and/or supported? HOT 2
- Can't connect to twitch HOT 2
- /WHOIS Response Location When Using Relay Client
- Ideas
- Connection host address has changed HOT 1
- Add to official repo HOT 1
- twitch.py: error communicating with twitch api HOT 4
- Does this support message tags? HOT 3
- =!= twitch.py: error communicating with twitch api HOT 14
- whois does not seem to work HOT 1
- irc error WHISPER command received not translated as a PRIVMSG HOT 1
- Show messages from extensions/integrations/channel points? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weechat-twitch.