From bbc5868b2aff78f1375cf8632ad94b0a6b68e620 Mon Sep 17 00:00:00 2001 From: nea Date: Sun, 5 Mar 2023 15:57:15 +0100 Subject: Fix /neudevtest useragent command --- .../io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt index 805ff114..7758e780 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt @@ -212,7 +212,7 @@ class DevTestCommand { MiscUtils.copyToClipboard(tabList) reply("Copied tablist to clipboard!") }.withHelp("Copy the tab list") - thenLiteralExecute("useragent") { + thenLiteral("useragent") { thenArgumentExecute("newuseragent", RestArgumentType) { userAgent -> reply("Setting your user agent to ${this[userAgent]}") NotEnoughUpdates.INSTANCE.config.hidden.customUserAgent = this[userAgent] -- cgit