diff --git a/src/main/kotlin/dev/jansel/aglaea/extensions/ReplayExtension.kt b/src/main/kotlin/dev/jansel/aglaea/extensions/ReplayExtension.kt index 29a9a02..ac73dd7 100644 --- a/src/main/kotlin/dev/jansel/aglaea/extensions/ReplayExtension.kt +++ b/src/main/kotlin/dev/jansel/aglaea/extensions/ReplayExtension.kt @@ -19,6 +19,8 @@ class ReplayExtension : Extension() { @OptIn(ExperimentalUnsignedTypes::class, ExperimentalUuidApi::class) override suspend fun setup() { ephemeralSlashCommand(::ReplayArgs) { + name = Translations.Commands.Replay.name + description = Translations.Commands.Replay.description check { inChannel(Snowflake(1130954956892029060)) } diff --git a/src/main/resources/translations/aglaea/strings.properties b/src/main/resources/translations/aglaea/strings.properties index 9ca975f..faca416 100644 --- a/src/main/resources/translations/aglaea/strings.properties +++ b/src/main/resources/translations/aglaea/strings.properties @@ -1,12 +1,5 @@ -commands.slap.name=slap -commands.slap.description=Ask the bot to slap another user -commands.slap.response=*slaps {target} with their {weapon}* - -commands.button.name=button -commands.button.description=A simple example command, which sends a button. - -components.button.label=Button! -components.button.response=You pushed the button! +commands.replay.name=replay +commands.replay.description=Upload a replay file to get an auth code arguments.file.name=file arguments.file.description=The file to upload