mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-05 00:31:57 +00:00
Update (#394)
Closes #393 - Sophanem city gates now functioning Closes #392 - Improved rug travel, added missing travel options Closes #391 - Added those curtains, along with many more curtains and other functional objects Closes #390 - Dramen branch now untradeable/same with staff Closes #389 - Lumbridge door should no longer get stuck, should fix other doors aswell Closes #388 - Added Rasolo npc spawn Closes #385 - Added missing fishing guild spawns Closes #384 - Added missing port khazard npcs and a few other missing npcs too Closes #379 - Added smelt x option Closes #334 - Fixed dragon dagger store price and fixed high alch/low alch value for it Closes #278 - Fixed strange numbers on runecrafting interface Closes #244 -These were previously fixed Also included: - Added recieving random gems when mining (thanks to ben for pointing this out) - Reduced door usage delay - Random cleanup and deleted some unsued files/code - Fixed many npc item drop names (thanks to iizyy for pointing them out) - Fixed a few wizard tower doors - Did more cleanup with the some of the old boundary methods - Tidied up the discord commands and added the proper urls for them
This commit is contained in:
@@ -26,7 +26,6 @@ public class JavaCord {
|
||||
//System.out.println("You can invite the bot by using the following url: " + api.createBotInvite());
|
||||
api.addListener(new Commands());
|
||||
api.addListener(new Forum());
|
||||
api.addListener(new HeatMap());
|
||||
api.addListener(new Hiscores());
|
||||
api.addListener(new Issues());
|
||||
api.addListener(new Online());
|
||||
|
||||
-2
@@ -13,8 +13,6 @@ public class Commands implements MessageCreateListener {
|
||||
+ System.lineSeparator() +
|
||||
"::forum/::forums"
|
||||
+ System.lineSeparator() +
|
||||
"::heatmap"
|
||||
+ System.lineSeparator() +
|
||||
"::hiscores/::highscores"
|
||||
+ System.lineSeparator() +
|
||||
"::issues/::bugs"
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ public class Forum implements MessageCreateListener {
|
||||
public void onMessageCreate(MessageCreateEvent event) {
|
||||
Message message = event.getMessage();
|
||||
if (message.getContent().equalsIgnoreCase("::forum") || message.getContent().equalsIgnoreCase("::forums")) {
|
||||
event.getChannel().sendMessage("https://2006rebotted.tk/forums/");
|
||||
event.getChannel().sendMessage("https://rsrebotted.com/forums/index.php");
|
||||
}
|
||||
}
|
||||
}
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
package com.rebotted.integrations.discord.commands;
|
||||
|
||||
import org.javacord.api.entity.message.Message;
|
||||
import org.javacord.api.event.message.MessageCreateEvent;
|
||||
import org.javacord.api.listener.message.MessageCreateListener;
|
||||
|
||||
public class HeatMap implements MessageCreateListener {
|
||||
@Override
|
||||
public void onMessageCreate(MessageCreateEvent event) {
|
||||
Message message = event.getMessage();
|
||||
if (message.getContent().equalsIgnoreCase("::heatmap")) {
|
||||
event.getChannel().sendMessage("https://2006rebotted.tk/heatmap.html");
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -9,7 +9,7 @@ public class Hiscores implements MessageCreateListener {
|
||||
public void onMessageCreate(MessageCreateEvent event) {
|
||||
Message message = event.getMessage();
|
||||
if (message.getContent().equalsIgnoreCase("::hiscores") || message.getContent().equalsIgnoreCase("::highscores")) {
|
||||
event.getChannel().sendMessage("https://2006rebotted.tk/hiscores.html");
|
||||
event.getChannel().sendMessage("https://rsrebotted.com/hiscores.html");
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -8,7 +8,7 @@ public class Vote implements MessageCreateListener {
|
||||
public void onMessageCreate(MessageCreateEvent event) {
|
||||
Message message = event.getMessage();
|
||||
if (message.getContent().equalsIgnoreCase("::vote")) {
|
||||
event.getChannel().sendMessage("Visit https://2006rebotted.tk/vote.html then type \"::claimvote\" in-game to receive your reward!");
|
||||
event.getChannel().sendMessage("Visit https://rsrebotted.com/vote.html then type \"::claimvote\" in-game to receive your reward!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ public class Website implements MessageCreateListener {
|
||||
public void onMessageCreate(MessageCreateEvent event) {
|
||||
Message message = event.getMessage();
|
||||
if (message.getContent().equalsIgnoreCase("::website") || message.getContent().equalsIgnoreCase("::site")) {
|
||||
event.getChannel().sendMessage("https://2006rebotted.tk/");
|
||||
event.getChannel().sendMessage("www.rsrebotted.com");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user