From b7b2eca6446c39155902f8c4a8d8f9335e9ffb1b Mon Sep 17 00:00:00 2001 From: shedaniel Date: Thu, 17 Mar 2022 11:53:46 +0800 Subject: [PATCH] Fix license header Signed-off-by: shedaniel --- .../linkie/discord/utils/PresentableModalSpec.kt | 16 ++++++++++++++++ .../discord/commands/GenerateTemplateCommand.kt | 16 ++++++++++++++++ .../linkie/discord/template/AbstractTemplate.kt | 16 ++++++++++++++++ .../linkie/discord/template/FabricTemplate.kt | 16 ++++++++++++++++ 4 files changed, 64 insertions(+) diff --git a/src/discord_api/kotlin/me/shedaniel/linkie/discord/utils/PresentableModalSpec.kt b/src/discord_api/kotlin/me/shedaniel/linkie/discord/utils/PresentableModalSpec.kt index 946b491..eb76a86 100644 --- a/src/discord_api/kotlin/me/shedaniel/linkie/discord/utils/PresentableModalSpec.kt +++ b/src/discord_api/kotlin/me/shedaniel/linkie/discord/utils/PresentableModalSpec.kt @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2019, 2020, 2021 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package me.shedaniel.linkie.discord.utils import discord4j.core.GatewayDiscordClient diff --git a/src/main/kotlin/me/shedaniel/linkie/discord/commands/GenerateTemplateCommand.kt b/src/main/kotlin/me/shedaniel/linkie/discord/commands/GenerateTemplateCommand.kt index b396afa..592e2c0 100644 --- a/src/main/kotlin/me/shedaniel/linkie/discord/commands/GenerateTemplateCommand.kt +++ b/src/main/kotlin/me/shedaniel/linkie/discord/commands/GenerateTemplateCommand.kt @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2019, 2020, 2021 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package me.shedaniel.linkie.discord.commands import me.shedaniel.linkie.discord.Command diff --git a/src/main/kotlin/me/shedaniel/linkie/discord/template/AbstractTemplate.kt b/src/main/kotlin/me/shedaniel/linkie/discord/template/AbstractTemplate.kt index 3b7ac9f..2e8bc94 100644 --- a/src/main/kotlin/me/shedaniel/linkie/discord/template/AbstractTemplate.kt +++ b/src/main/kotlin/me/shedaniel/linkie/discord/template/AbstractTemplate.kt @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2019, 2020, 2021 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package me.shedaniel.linkie.discord.template import kotlinx.serialization.json.JsonElement diff --git a/src/main/kotlin/me/shedaniel/linkie/discord/template/FabricTemplate.kt b/src/main/kotlin/me/shedaniel/linkie/discord/template/FabricTemplate.kt index abb9b56..9707f3a 100644 --- a/src/main/kotlin/me/shedaniel/linkie/discord/template/FabricTemplate.kt +++ b/src/main/kotlin/me/shedaniel/linkie/discord/template/FabricTemplate.kt @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2019, 2020, 2021 shedaniel + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package me.shedaniel.linkie.discord.template object FabricTemplate : AbstractTemplate("fabric") {