You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can contact us via the [Discord Server](https://discord.gg/8NXaEyV)
4
3
5
4
Small, library for creating an IRC connection to the Twitch chat.
6
5
7
-
The library is intended to make communication via Twitch chat as easy as possible, and uses Java objects to represent most events that can occur in Twitch chat.
6
+
The library is intended to make communication via Twitch chat as easy as possible, and uses Java objects to represent
7
+
most events that can occur in Twitch chat.
8
8
9
9
Java 8 compatible.
10
10
@@ -21,14 +21,25 @@ Include the following in your pom.xml
21
21
<dependencies>
22
22
<dependency>
23
23
<groupId>com.github.gikkman</groupId>
24
-
<artifactId>Java-Twirk</artifactId>
25
-
<version>0.6.2</version>
24
+
<artifactId>Java-Twirk</artifactId>
25
+
<version>0.6.3</version>
26
26
</dependency>
27
27
</dependencies>
28
28
```
29
29
Or simply download the latest version of the library jar from the release page.
30
30
31
31
## Changes
32
+
### 0.6.3
33
+
Some pretty big changes behind the scenes, but they should be fully backwards compatible. Below is a list of changes:
34
+
*`Cheer.getImageURL(...)` should now return a proper URL. Fix #30
35
+
* You can now set a custom PING interval, for how often the connection should ping Twitch.
36
+
See `TwirkBuilder.setPingInterval` Fix #29
37
+
* You can now assign custom log methods to Twirk, in case you use some kind of logging framework. You can also set
38
+
different log levels, which gives a bit more control of what to log.
39
+
See `TwirkBuilder.setLogLevel` and`TwirkBuilder.setXXXLogMethod`. Fix #28 (thanks to PR #31).
40
+
* Calling connect after a disconnect should now work. Fix #26
41
+
* You don't need to include the '#' anymore in the channel name. Fix #21
42
+
32
43
### 0.6.2
33
44
Hotfix release since some emote IDs were still not parsed correctly (see #22). This hotfix should hopefully fix this issue.
34
45
Please report any further issues with parsing emotes.
@@ -40,12 +51,15 @@ There has only been minor changes between 0.5 and 0.6. Nothing that should break
40
51
* Fixed SockerClosedException stacktrace printing on some locales
41
52
* I think I fixed it at least, but this one is hard to test since there are so many locales.
42
53
* Updated the emotes parse for a safer and faster implementation.
43
-
* This deprecates a previously public method (`EmoteParse.parseEmote(String, String)`), and the new method is package private. There isn't really any need to call these methods from outside the library
54
+
* This deprecates a previously public method (`EmoteParse.parseEmote(String, String)`), and the new method is package
55
+
private. There isn't really any need to call these methods from outside the library
44
56
* Twirk will not only show the "User X was not online" or "User X was already online", when in verbose mode.
45
-
* This happened when we see a leave/part message but didn't track the user correctly. I felt like it was not needed unless you want the verbose output
57
+
* This happened when we see a leave/part message but didn't track the user correctly. I felt like it was not needed
58
+
unless you want the verbose output
46
59
* Updated the example a bit
47
60
* Started to move towards proper JUnit tests
48
-
* My home rolled test setup wasn't very user friendly, so now I started moving to user regular `@Test` tests. I'll eventually convert all tests to this format
61
+
* My home rolled test setup wasn't very user friendly, so now I started moving to user regular `@Test` tests. I'll
62
+
eventually convert all tests to this format
49
63
50
64
And probably some more...
51
65
@@ -68,21 +82,34 @@ message with a "pong USER_NAME".
68
82
} );
69
83
```
70
84
71
-
For a more complex example, which shows how to connect properly and how to write simple bot commands, check out the example code in `src/example/java`
85
+
For a more complex example, which shows how to connect properly and how to write simple bot commands, check out the
86
+
example code in `src/example/java`
72
87
73
88
#### Extendable
74
-
You can make Twirk use your own implementation of all event types by using custom builder classes. By extending the types Builder interface, and then passing an instance of your custom builder to the TwirkBuilder, you can use your own custom implementation of whichever type you want.
89
+
You can make Twirk use your own implementation of all event types by using custom builder classes. By extending the
90
+
types Builder interface, and then passing an instance of your custom builder to the TwirkBuilder, you can use your own
This isn't strictly necessary if you are just making a bot for your own account, as you might not reach the message
103
+
limits. For larger/more frequently used bots, it might
104
+
be necessary.
105
+
82
106
# Contribute
83
-
If you find any issues, or have suggestions for features (which does not clutter the library), feel free to submit an [Issue](https://github.com/Gikkman/Java-Twirk/issues) or make a pull request. You can also reach me on [Twitter](https://twitter.com/gikkman) or on [Twitch](http://twitch.com/gikkman)
107
+
If you find any issues, or have suggestions for features (which does not clutter the library), feel free to submit
108
+
an [Issue](https://github.com/Gikkman/Java-Twirk/issues) or make a pull request. You can also reach me
109
+
on [Twitter](https://twitter.com/gikkman) or on [Twitch](http://twitch.com/gikkman)
84
110
85
111
86
112
# License
87
-
This library is licensed under the [MIT License](https://tldrlegal.com/license/mit-license). If you use it, a link to this GitHub page is also greatly appriciated, if possible :)
113
+
This library is licensed under the [MIT License](https://tldrlegal.com/license/mit-license). If you use it, a link to
114
+
this GitHub page is also greatly appriciated, if possible :)
0 commit comments