|
7 | 7 | import me.earth.earthhack.impl.Earthhack; |
8 | 8 | import me.earth.earthhack.impl.modules.misc.rpc.RPC; |
9 | 9 | import me.earth.earthhack.impl.util.math.StopWatch; |
10 | | -import net.minecraft.client.Minecraft; |
11 | | -import net.minecraft.client.gui.GuiMainMenu; |
12 | 10 | import org.apache.logging.log4j.LogManager; |
13 | 11 | import org.apache.logging.log4j.Logger; |
14 | 12 |
|
@@ -36,14 +34,13 @@ public synchronized void start() |
36 | 34 |
|
37 | 35 | LOGGER.info("Initializing Discord RPC"); |
38 | 36 | DiscordEventHandlers handlers = new DiscordEventHandlers(); |
39 | | - rpc.Discord_Initialize("964981608941776966", handlers, true, ""); |
| 37 | + rpc.Discord_Initialize("1010130512439955496", handlers, true, ""); |
40 | 38 | presence.startTimestamp = System.currentTimeMillis() / 1000L; |
41 | 39 | presence.details = getDetails(); |
42 | 40 | presence.state = module.state.getValue(); |
43 | | - presence.largeImageKey = "phobosrpc"; |
44 | | - presence.largeImageText = Earthhack.NAME; |
45 | | - presence.smallImageKey = "phobosrpc"; |
46 | | - presence.smallImageText = Earthhack.NAME; |
| 41 | + presence.largeImageKey = "logo_1024x1024"; |
| 42 | + presence.smallImageKey = "skin"; |
| 43 | + presence.smallImageText = Earthhack.NAME + " " + Earthhack.VERSION; |
47 | 44 | presence.largeImageText = Earthhack.NAME + " " + Earthhack.VERSION; |
48 | 45 | rpc.Discord_UpdatePresence(DiscordPresence.presence); |
49 | 46 | StopWatch timer = new StopWatch(); |
|
0 commit comments