Skip to content

Commit

Permalink
Update *discord/*services text, add new log msg & update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Vauff committed Nov 8, 2019
1 parent c987b49 commit 57f72fe
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>com.discord4j</groupId>
<artifactId>discord4j-core</artifactId>
<version>3.0.7</version>
<version>3.0.10</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
Expand All @@ -49,12 +49,12 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.12.0</version>
<version>2.12.1</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20180813</version>
<version>20190722</version>
</dependency>
<dependency>
<groupId>com.github.Vauff</groupId>
Expand All @@ -64,13 +64,13 @@
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.16</version>
<version>8.0.18</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-sync</artifactId>
<version>3.10.2</version>
<version>3.11.2</version>
</dependency>
</dependencies>
<version>r9</version>
<version>r10</version>
</project>
2 changes: 1 addition & 1 deletion src/com/vauff/maunzdiscord/commands/Discord.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class Discord extends AbstractCommand<MessageCreateEvent>
@Override
public void exe(MessageCreateEvent event, MessageChannel channel, User author) throws Exception
{
Util.msg(channel, author, "Bot invite link: ~~<https://discordapp.com/oauth2/authorize?&client_id=230780946142593025&scope=bot>~~ (currently disabled)" + System.lineSeparator() + "Maunz Hub server invite link: https://discord.gg/v55fW9b");
Util.msg(channel, author, "Bot invite link: <https://discordapp.com/oauth2/authorize?&client_id=230780946142593025&scope=bot>" + System.lineSeparator() + "Maunz Hub server invite link: https://discord.gg/v55fW9b");
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/com/vauff/maunzdiscord/commands/Services.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public void exe(MessageCreateEvent event, MessageChannel channel, User author) t
{
if (Util.hasPermission(author, event.getGuild().block()))
{
Util.msg(channel, author, "This command is temporarily unavailable until a future release");
Util.msg(channel, author, "This command is temporarily unavailable until a future release" + System.lineSeparator() + System.lineSeparator() + "In the meantime, you can head over to the **#help** channel at https://discord.gg/v55fW9b to request manual service management (additions, edits, etc.). Please see the pinned message there for more details on how to proceed.");
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion src/com/vauff/maunzdiscord/core/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class Main
{
public static DiscordClient client;
public static MongoDatabase mongoDatabase;
public static String version = "r9";
public static String version = "r10";

public static void main(String[] args)
{
Expand Down
2 changes: 2 additions & 0 deletions src/com/vauff/maunzdiscord/features/ServerTimer.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ public void run()
{
if (Main.client.isConnected())
{
Logger.log.debug("Starting a server timer run...");

for (File file : new File(Util.getJarLocation() + "data/services/server-tracking").listFiles())
{
String id = file.getName();
Expand Down

0 comments on commit 57f72fe

Please sign in to comment.