From 0ee93d0237f29f7ee296fd694c260dba58a92a67 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Sat, 5 Aug 2023 23:11:39 +1000 Subject: Some changes to the backup repo (#796) * maybe fix the backup repo not working sometimes * change wording --- .../github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/kotlin') diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt index d5a39cb8..771da58c 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/NEUStatsCommand.kt @@ -53,7 +53,7 @@ import javax.management.ObjectName class NEUStatsCommand { @SubscribeEvent fun onCommands(event: RegisterBrigadierCommandEvent) { - event.command("stats", "neustats") { + event.command( "neustats") { thenLiteralExecute("modlist") { clipboardAndSendMessage( DiscordMarkdownBuilder() @@ -198,6 +198,7 @@ class NEUStatsCommand { builder.append("Last Commit", NotEnoughUpdates.INSTANCE.manager.latestRepoCommit) builder.append("Repo Location", "https://github.com/${apiData.repoUser}/${apiData.repoName}/tree/${apiData.repoBranch}") } + builder.append("Using Backup", NotEnoughUpdates.INSTANCE.manager.onBackupRepo) builder.append("Loaded Items", NotEnoughUpdates.INSTANCE.manager.itemInformation.size.toString()) if (apiData.moulberryCodesApi.isEmpty()) { apiData.moulberryCodesApi = "moulberry.codes" -- cgit