diff options
author | nea <nea@nea.moe> | 2023-03-05 15:57:15 +0100 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-03-05 15:57:15 +0100 |
commit | bbc5868b2aff78f1375cf8632ad94b0a6b68e620 (patch) | |
tree | 8a8e1df9a87fdb27d14273cd0e6e5124dd7d9144 | |
parent | 5a79ff410eb64e906c555751b32bef87cc7caee9 (diff) | |
download | NotEnoughUpdates-bbc5868b2aff78f1375cf8632ad94b0a6b68e620.tar.gz NotEnoughUpdates-bbc5868b2aff78f1375cf8632ad94b0a6b68e620.tar.bz2 NotEnoughUpdates-bbc5868b2aff78f1375cf8632ad94b0a6b68e620.zip |
Fix /neudevtest useragent command
-rw-r--r-- | src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DevTestCommand.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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] |