Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Vatuu committed Jan 20, 2019
2 parents dcd032b + 373e8bb commit ee49c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static class ReadyEvent implements ReadyCallback{

public class MainClass{
public void startup(){
DiscordEventHandler handler = new DiscordEventHandler.Build().setReadyEventHandler((user) -> {
DiscordEventHandlers handlers = new DiscordEventHandler.Build().setReadyEventHandler((user) -> {
System.out.println("Welcome " + user.username + "#" + user.discriminator + "!");
}).build();
}
Expand All @@ -70,7 +70,7 @@ simply pass an empty DiscordEventHandler Object.*
To summarize:
```java
public void startup(){
DiscordEventHandler handler = new DiscordEventHandler.Build().setReadyEventHandler((user) -> {
DiscordEventHandlers handlers = new DiscordEventHandler.Build().setReadyEventHandler((user) -> {
System.out.println("Welcome " + user.username + "#" + user.discriminator + "!");
}).build();
DiscordRPC.initialize("1234567890", handler, true);
Expand Down

0 comments on commit ee49c4f

Please sign in to comment.