Skip to content

Commit 918a237

Browse files
committed
Update wiki links
1 parent d634c43 commit 918a237

File tree

3 files changed

+4
-4
lines changed
  • BotCommands-core/src/main/kotlin/io/github/freya022/botcommands/api/commands
  • BotCommands-typesafe-messages/core/src/main/kotlin/dev/freya02/botcommands/typesafe/messages/internal/codegen

3 files changed

+4
-4
lines changed

BotCommands-core/src/main/kotlin/io/github/freya022/botcommands/api/commands/application/slash/annotations/SlashOption.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import org.jspecify.annotations.Nullable
2222
*
2323
* ### Display name
2424
* Option names can be inferred from the parameter's name,
25-
* see [the wiki](https://bc.freya02.dev/3.X/using-botcommands/parameter-names/)
25+
* see [the wiki](https://bc.freya02.dev/3.X/setup/parameter-names/)
2626
* for more details.
2727
*
2828
* ### Order
@@ -62,7 +62,7 @@ annotation class SlashOption(
6262
* This can be localized, see [LocalizationFunction] on how options are mapped.
6363
*
6464
* This is optional if the parameter name is found,
65-
* see [the wiki](https://bc.freya02.dev/3.X/using-botcommands/parameter-names/) for more details.
65+
* see [the wiki](https://bc.freya02.dev/3.X/setup/parameter-names/) for more details.
6666
*/
6767
val name: String = "",
6868

BotCommands-core/src/main/kotlin/io/github/freya022/botcommands/api/commands/text/annotations/TextOption.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ annotation class TextOption(
2222
* The name of this option displayed on the help content.
2323
*
2424
* This is optional if the parameter name is available,
25-
* see [the wiki](https://bc.freya02.dev/3.X/using-botcommands/parameter-names/) for more details.
25+
* see [the wiki](https://bc.freya02.dev/3.X/setup/parameter-names/) for more details.
2626
*/
2727
val name: String = "",
2828

BotCommands-typesafe-messages/core/src/main/kotlin/dev/freya02/botcommands/typesafe/messages/internal/codegen/MessageSourceGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ internal object LocalizedContentFunctionGenerator {
179179
templateParameters.forEachIndexed { arrayIndex, parameter ->
180180
val parameterIndex = parameter.index - 1 // 1st is instance parameter
181181
val templateVarName = getTemplateArgumentParameterName(parameter)
182-
?: error("Parameter names are absent from $function ; see https://bc.freya02.dev/3.X/using-botcommands/parameter-names/")
182+
?: error("Parameter names are absent from $function ; see https://bc.freya02.dev/3.X/setup/parameter-names/")
183183

184184
// localizationEntry = new Localization.Entry(paramName, value)
185185
lineNumber.setAndIncrement()

0 commit comments

Comments
 (0)