Skip to content

Commit

Permalink
Update no longer maintained library links (emoji-java and lavaplayer)…
Browse files Browse the repository at this point in the history
… to new maintained ones
  • Loading branch information
felldo committed Aug 15, 2023
1 parent 59e23da commit f751555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/wiki/advanced-topics/playing-audio.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ channel.connect().thenAccept(audioConnection -> {

There are plenty of sources for audio (e.g., YouTube, local files, etc.).
The current de facto standard library for extracting audio from these sources with Java is the
[LavaPlayer](https://github.com/sedmelluq/lavaplayer) library.
[LavaPlayer](https://github.com/lavalink-devs/lavaplayer) library.

To use it with Javacord, you have to add it as a dependency to your project (e.g., with Gradle or Maven) and
create a Javacord audio source like this:
Expand Down
4 changes: 2 additions & 2 deletions docs/wiki/basic-tutorials/emojis-and-reactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Known custom emojis are emojis that the bot knows because it's a member of the s

## :ok_hand: Recommended libraries

If you are working a lot with Unicode emojis, it's recommended to use a library like [emoji-java](https://github.com/vdurmont/emoji-java). It enables you to do things like the following:
If you are working a lot with Unicode emojis, it's recommended to use a library like [JEmoji](https://github.com/felldo/JEmoji). It enables you to do things like the following:
```java
message.addReaction(EmojiParser.parseToUnicode(":thumbsup:"));
message.addReaction(EmojiManager.getByAlias(":thumbsup:"));
```

0 comments on commit f751555

Please sign in to comment.