Skip to content

Instantly share code, notes, and snippets.

@gmanley
Created April 3, 2023 07:43
Show Gist options
  • Save gmanley/0eaf04bca307d68eaa897a8af5c8be81 to your computer and use it in GitHub Desktop.
Save gmanley/0eaf04bca307d68eaa897a8af5c8be81 to your computer and use it in GitHub Desktop.
{
"default": {
"template": "{author.display_name|author.name}{message}",
"keys": {
"time_text": "{} | ",
"timestamp": {
"template": "{} | ",
"format": "%Y-%m-%d %H:%M:%S"
},
"author.badges": {
"template": "({}) ",
"separator": ", "
},
"money.text": "*{}* ",
"message": ": {}"
}
},
"24_hour": {
"inherit": "default",
"keys": {
"timestamp": {
"format": "%H:%M"
}
}
},
"12_hour": {
"inherit": "default",
"keys": {
"timestamp": {
"template": "{} | ",
"format": "%I:%M %p"
}
}
},
"padded_time": {
"inherit": "default",
"keys": {
"time_text": {
"template": "{} | ",
"format": "{:02}:{:02}:{:02}",
"collapse_leading_zeroes": true
}
}
},
"youtube":[
{
"matching":[
"viewer_engagement_message",
"deleted_message",
"ban_user"
],
"template":"{message}",
"inherit": "default",
"keys": {
"message": "{}"
}
}
],
"twitch": [
{
"matching": [
"text_message"
],
"inherit": "default"
},
{
"matching": [
"ban_user"
],
"template": "{timestamp}{banned_user} was {ban_duration|ban_type}.",
"inherit": "default",
"keys": {
"ban_duration": "timed out for {} seconds",
"ban_type": "{}ly banned"
}
},
{
"matching": [
"subscription_gift",
"resubscription"
],
"template": "{time_text|timestamp}{system_message}{message}",
"inherit": "default",
"keys": {
"system_message": "{} ",
"message": "{}"
}
},
{
"matching": [
"room_state"
],
"template": "Room state | {channel_id}{emote_only}{follower_only}{minutes_to_follow_before_chatting}{slow_mode}{seconds_to_wait}{subscriber_only}{r9k_mode}{rituals_enabled}",
"keys": {
"channel_id": "Channel ID = {}",
"emote_only": ", emote only = {}",
"follower_only": ", follower only = {}",
"seconds_to_wait": " ({} seconds)",
"minutes_to_follow_before_chatting": " ({} minutes)",
"slow_mode": ", slow mode = {}",
"subscriber_only": ", subscriber only = {}",
"r9k_mode": ", r9k mode = {}",
"rituals_enabled": ", rituals enabled = {}"
}
},
{
"matching": "all",
"inherit": "default"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment