-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
462e82f
commit 7e48d86
Showing
16 changed files
with
164 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
defmodule TMI.Events.EmoteMode do | ||
@moduledoc false | ||
use TMI.Event, fields: [ | ||
:channel, | ||
:emote_only? | ||
] | ||
use TMI.Event, | ||
fields: [ | ||
:channel, | ||
:emote_only? | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ defmodule TMI.Events.Message do | |
:timestamp, | ||
:user_id, | ||
:user_login, | ||
:user_type | ||
:user_type, | ||
:reward_id | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
defmodule TMI.Events.Resub do | ||
@moduledoc """ | ||
Sub event. | ||
IRC `msg-id` is `sub` and EventSub name is `sub`. | ||
""" | ||
use TMI.Event, | ||
fields: [ | ||
:id, | ||
:channel_id, | ||
:channel, | ||
:plan, | ||
:plan_name, | ||
:system_message, | ||
:timestamp, | ||
:gifted?, | ||
:goal_type, | ||
:goal_current, | ||
:goal_target, | ||
:goal_contributions, | ||
:share_streak?, | ||
:months, | ||
:badge_info, | ||
:badges, | ||
:color, | ||
:cumulative_months, | ||
:login, | ||
:display_name, | ||
:is_mod?, | ||
:is_turbo?, | ||
:is_sub?, | ||
:is_vip?, | ||
:user_id, | ||
:user_type | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
[ | ||
{:unrecognized, "@msg-id=emote_only_off", %ExIRC.Message{server: [], nick: [], user: [], host: [], ctcp: false, cmd: "@msg-id=emote_only_off", args: ["tmi.twitch.tv NOTICE #spirodonfl :This room is no longer in emote-only mode."]}} | ||
{:unrecognized, "@msg-id=emote_only_off", | ||
%ExIRC.Message{ | ||
server: [], | ||
nick: [], | ||
user: [], | ||
host: [], | ||
ctcp: false, | ||
cmd: "@msg-id=emote_only_off", | ||
args: ["tmi.twitch.tv NOTICE #spirodonfl :This room is no longer in emote-only mode."] | ||
}} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
[ | ||
{:unrecognized, "@msg-id=emote_only_on", %ExIRC.Message{server: [], nick: [], user: [], host: [], ctcp: false, cmd: "@msg-id=emote_only_on", args: ["tmi.twitch.tv NOTICE #spirodonfl :This room is now in emote-only mode."]}} | ||
{:unrecognized, "@msg-id=emote_only_on", | ||
%ExIRC.Message{ | ||
server: [], | ||
nick: [], | ||
user: [], | ||
host: [], | ||
ctcp: false, | ||
cmd: "@msg-id=emote_only_on", | ||
args: ["tmi.twitch.tv NOTICE #spirodonfl :This room is now in emote-only mode."] | ||
}} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
[ | ||
{:unrecognized, "@msg-id=msg_emoteonly", %ExIRC.Message{server: [], nick: [], user: [], host: [], ctcp: false, cmd: "@msg-id=msg_emoteonly", args: ["tmi.twitch.tv NOTICE #spirodonfl :This room is in emote only mode. You can find your currently available emoticons using the smiley in the chat text area."]}} | ||
{:unrecognized, "@msg-id=msg_emoteonly", | ||
%ExIRC.Message{ | ||
server: [], | ||
nick: [], | ||
user: [], | ||
host: [], | ||
ctcp: false, | ||
cmd: "@msg-id=msg_emoteonly", | ||
args: [ | ||
"tmi.twitch.tv NOTICE #spirodonfl :This room is in emote only mode. You can find your currently available emoticons using the smiley in the chat text area." | ||
] | ||
}} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ | ||
{:unrecognized, | ||
"@badge-info=subscriber/2;badges=subscriber/0,sub-gifter/1;color=#00FF7F;display-name=NegZaxis;emotes=;flags=;id=64fe3ad1-083a-4fcc-a35b-6c612575f4e5;login=negzaxis;mod=0;msg-id=resub;msg-param-cumulative-months=2;msg-param-months=0;msg-param-multimonth-duration=0;msg-param-multimonth-tenure=0;msg-param-should-share-streak=0;msg-param-sub-plan-name=Download\\sA\\sPirate;msg-param-sub-plan=1000;msg-param-was-gifted=false;room-id=151368796;subscriber=1;system-msg=NegZaxis\\ssubscribed\\sat\\sTier\\s1.\\sThey've\\ssubscribed\\sfor\\s2\\smonths!;tmi-sent-ts=1705495897497;user-id=95193003;user-type=;vip=0", | ||
%ExIRC.Message{ | ||
server: [], | ||
nick: [], | ||
user: [], | ||
host: [], | ||
ctcp: false, | ||
cmd: | ||
"@badge-info=subscriber/2;badges=subscriber/0,sub-gifter/1;color=#00FF7F;display-name=NegZaxis;emotes=;flags=;id=64fe3ad1-083a-4fcc-a35b-6c612575f4e5;login=negzaxis;mod=0;msg-id=resub;msg-param-cumulative-months=2;msg-param-months=0;msg-param-multimonth-duration=0;msg-param-multimonth-tenure=0;msg-param-should-share-streak=0;msg-param-sub-plan-name=Download\\sA\\sPirate;msg-param-sub-plan=1000;msg-param-was-gifted=false;room-id=151368796;subscriber=1;system-msg=NegZaxis\\ssubscribed\\sat\\sTier\\s1.\\sThey've\\ssubscribed\\sfor\\s2\\smonths!;tmi-sent-ts=1705495897497;user-id=95193003;user-type=;vip=0", | ||
args: ["tmi.twitch.tv USERNOTICE #piratesoftware"] | ||
}} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters