diff --git a/.gitignore b/.gitignore index 3d13032..cd5483c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,6 @@ build/ .gradle/ lib/ -.idea/ \ No newline at end of file +.idea/ + +dev/ \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b3715e1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2015 Austin Keener, Michael Ritter, Florian Spieß, and the JDA contributors + + 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. diff --git a/build.gradle.kts b/build.gradle.kts index fd9dce6..70316eb 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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. + */ + import java.time.Instant plugins { diff --git a/src/main/java/at/xirado/bean/Bean.java b/src/main/java/at/xirado/bean/Bean.java index 52363a2..43765df 100644 --- a/src/main/java/at/xirado/bean/Bean.java +++ b/src/main/java/at/xirado/bean/Bean.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean; import at.xirado.bean.command.handler.CommandHandler; diff --git a/src/main/java/at/xirado/bean/Config.kt b/src/main/java/at/xirado/bean/Config.kt index 0e5b4d4..420cc9b 100644 --- a/src/main/java/at/xirado/bean/Config.kt +++ b/src/main/java/at/xirado/bean/Config.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean import com.akuleshov7.ktoml.Toml diff --git a/src/main/java/at/xirado/bean/command/AutoComplete.java b/src/main/java/at/xirado/bean/command/AutoComplete.java index dcfe2ca..764ba7c 100644 --- a/src/main/java/at/xirado/bean/command/AutoComplete.java +++ b/src/main/java/at/xirado/bean/command/AutoComplete.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/at/xirado/bean/command/BasicSlashCommand.kt b/src/main/java/at/xirado/bean/command/BasicSlashCommand.kt index 6125237..0a0ac73 100644 --- a/src/main/java/at/xirado/bean/command/BasicSlashCommand.kt +++ b/src/main/java/at/xirado/bean/command/BasicSlashCommand.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command import kotlinx.serialization.Serializable diff --git a/src/main/java/at/xirado/bean/command/Command.kt b/src/main/java/at/xirado/bean/command/Command.kt index 2fb44f0..7d139c2 100644 --- a/src/main/java/at/xirado/bean/command/Command.kt +++ b/src/main/java/at/xirado/bean/command/Command.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command import net.dv8tion.jda.api.Permission diff --git a/src/main/java/at/xirado/bean/command/CommandArgument.java b/src/main/java/at/xirado/bean/command/CommandArgument.java index ca17650..2050347 100644 --- a/src/main/java/at/xirado/bean/command/CommandArgument.java +++ b/src/main/java/at/xirado/bean/command/CommandArgument.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command; import net.dv8tion.jda.internal.utils.Checks; diff --git a/src/main/java/at/xirado/bean/command/CommandContext.java b/src/main/java/at/xirado/bean/command/CommandContext.java index ac6c620..c25dc91 100644 --- a/src/main/java/at/xirado/bean/command/CommandContext.java +++ b/src/main/java/at/xirado/bean/command/CommandContext.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/command/CommandFlag.java b/src/main/java/at/xirado/bean/command/CommandFlag.java index 38d1ef0..58ca41b 100644 --- a/src/main/java/at/xirado/bean/command/CommandFlag.java +++ b/src/main/java/at/xirado/bean/command/CommandFlag.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command; public enum CommandFlag { diff --git a/src/main/java/at/xirado/bean/command/GenericCommand.java b/src/main/java/at/xirado/bean/command/GenericCommand.java index 1bb7d17..9a2c9f6 100644 --- a/src/main/java/at/xirado/bean/command/GenericCommand.java +++ b/src/main/java/at/xirado/bean/command/GenericCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command; import net.dv8tion.jda.api.Permission; diff --git a/src/main/java/at/xirado/bean/command/SlashCommand.java b/src/main/java/at/xirado/bean/command/SlashCommand.java index 0f984ed..0588a3d 100644 --- a/src/main/java/at/xirado/bean/command/SlashCommand.java +++ b/src/main/java/at/xirado/bean/command/SlashCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/command/SlashCommandContext.java b/src/main/java/at/xirado/bean/command/SlashCommandContext.java index 64af8bd..1294ce7 100644 --- a/src/main/java/at/xirado/bean/command/SlashCommandContext.java +++ b/src/main/java/at/xirado/bean/command/SlashCommandContext.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/command/commands/EvalCommand.kt b/src/main/java/at/xirado/bean/command/commands/EvalCommand.kt index 91778e4..14be3a6 100644 --- a/src/main/java/at/xirado/bean/command/commands/EvalCommand.kt +++ b/src/main/java/at/xirado/bean/command/commands/EvalCommand.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.commands import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/command/handler/CommandHandler.kt b/src/main/java/at/xirado/bean/command/handler/CommandHandler.kt index f976128..41187cd 100644 --- a/src/main/java/at/xirado/bean/command/handler/CommandHandler.kt +++ b/src/main/java/at/xirado/bean/command/handler/CommandHandler.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.handler import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/command/handler/InteractionHandler.kt b/src/main/java/at/xirado/bean/command/handler/InteractionHandler.kt index db9ef9c..451a481 100644 --- a/src/main/java/at/xirado/bean/command/handler/InteractionHandler.kt +++ b/src/main/java/at/xirado/bean/command/handler/InteractionHandler.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.handler import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/command/slashcommands/AvatarCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/AvatarCommand.java index c4b5170..e141604 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/AvatarCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/AvatarCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands; import at.xirado.bean.command.SlashCommand; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/ChooseCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/ChooseCommand.java index 5c0ea92..41fdf65 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/ChooseCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/ChooseCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands; import at.xirado.bean.command.SlashCommand; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/InfoCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/InfoCommand.java index 01b0264..fc8123b 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/InfoCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/InfoCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/LaTeXCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/LaTeXCommand.java index a6016ac..5ca3830 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/LaTeXCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/LaTeXCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands; import at.xirado.bean.command.SlashCommand; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/MockCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/MockCommand.java index 4a6389c..8c4cf91 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/MockCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/MockCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands; import at.xirado.bean.command.SlashCommand; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/ReactionRoleCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/ReactionRoleCommand.java index 24fff9e..4bbd118 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/ReactionRoleCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/ReactionRoleCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands; import at.xirado.bean.command.SlashCommand; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/SlapCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/SlapCommand.java index 4a134f0..76d6592 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/SlapCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/SlapCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands; import at.xirado.bean.command.SlashCommand; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/UrbanDictionaryCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/UrbanDictionaryCommand.java index 700bb48..e18a408 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/UrbanDictionaryCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/UrbanDictionaryCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/leveling/LeaderboardCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/leveling/LeaderboardCommand.java index 3b768a5..f205f68 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/leveling/LeaderboardCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/leveling/LeaderboardCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands.leveling; import at.xirado.bean.command.SlashCommand; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/leveling/Mee6TransferCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/leveling/Mee6TransferCommand.java index 88b3ac0..4f01862 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/leveling/Mee6TransferCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/leveling/Mee6TransferCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands.leveling; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/leveling/RankCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/leveling/RankCommand.java index 600235e..3762a72 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/leveling/RankCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/leveling/RankCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands.leveling; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/leveling/SetXPBackgroundCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/leveling/SetXPBackgroundCommand.java index fbf80dd..bae369b 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/leveling/SetXPBackgroundCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/leveling/SetXPBackgroundCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands.leveling; import at.xirado.bean.command.SlashCommand; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/leveling/XPAlertCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/leveling/XPAlertCommand.java index 3b95b7f..c7123aa 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/leveling/XPAlertCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/leveling/XPAlertCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands.leveling; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/leveling/XPRoleRewardCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/leveling/XPRoleRewardCommand.java index 580a1d4..060bf36 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/leveling/XPRoleRewardCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/leveling/XPRoleRewardCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands.leveling; import at.xirado.bean.command.SlashCommand; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/moderation/BanCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/moderation/BanCommand.java index b409b33..fcccaba 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/moderation/BanCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/moderation/BanCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands.moderation; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/moderation/KickCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/moderation/KickCommand.java index 0c97992..c7e46e5 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/moderation/KickCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/moderation/KickCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands.moderation; import at.xirado.bean.command.SlashCommand; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/moderation/ModeratorCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/moderation/ModeratorCommand.java index f3ae20b..1d1d122 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/moderation/ModeratorCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/moderation/ModeratorCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands.moderation; import at.xirado.bean.command.SlashCommand; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/moderation/SoftbanCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/moderation/SoftbanCommand.java index d022276..1472e84 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/moderation/SoftbanCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/moderation/SoftbanCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands.moderation; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/command/slashcommands/moderation/UnbanCommand.java b/src/main/java/at/xirado/bean/command/slashcommands/moderation/UnbanCommand.java index 814b696..d101c3a 100644 --- a/src/main/java/at/xirado/bean/command/slashcommands/moderation/UnbanCommand.java +++ b/src/main/java/at/xirado/bean/command/slashcommands/moderation/UnbanCommand.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.command.slashcommands.moderation; import at.xirado.bean.command.SlashCommand; diff --git a/src/main/java/at/xirado/bean/data/BasicAutocompletionChoice.java b/src/main/java/at/xirado/bean/data/BasicAutocompletionChoice.java index 4490050..703f667 100644 --- a/src/main/java/at/xirado/bean/data/BasicAutocompletionChoice.java +++ b/src/main/java/at/xirado/bean/data/BasicAutocompletionChoice.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data; import net.dv8tion.jda.api.interactions.commands.Command; diff --git a/src/main/java/at/xirado/bean/data/Bookmark.java b/src/main/java/at/xirado/bean/data/Bookmark.java index 5e9e8d1..2e7ffb0 100644 --- a/src/main/java/at/xirado/bean/data/Bookmark.java +++ b/src/main/java/at/xirado/bean/data/Bookmark.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data; import net.dv8tion.jda.api.interactions.commands.Command; diff --git a/src/main/java/at/xirado/bean/data/GuildData.kt b/src/main/java/at/xirado/bean/data/GuildData.kt index 2ca2974..b77d65f 100644 --- a/src/main/java/at/xirado/bean/data/GuildData.kt +++ b/src/main/java/at/xirado/bean/data/GuildData.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data import kotlinx.serialization.ExperimentalSerializationApi diff --git a/src/main/java/at/xirado/bean/data/IAutocompleteChoice.java b/src/main/java/at/xirado/bean/data/IAutocompleteChoice.java index be5c32b..c007810 100644 --- a/src/main/java/at/xirado/bean/data/IAutocompleteChoice.java +++ b/src/main/java/at/xirado/bean/data/IAutocompleteChoice.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data; import net.dv8tion.jda.api.interactions.commands.Command; diff --git a/src/main/java/at/xirado/bean/data/MEE6Player.java b/src/main/java/at/xirado/bean/data/MEE6Player.java index d57fd8d..621622f 100644 --- a/src/main/java/at/xirado/bean/data/MEE6Player.java +++ b/src/main/java/at/xirado/bean/data/MEE6Player.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data; import net.dv8tion.jda.api.utils.data.DataObject; diff --git a/src/main/java/at/xirado/bean/data/OkHttpInterceptor.java b/src/main/java/at/xirado/bean/data/OkHttpInterceptor.java index 9605955..06eccfc 100644 --- a/src/main/java/at/xirado/bean/data/OkHttpInterceptor.java +++ b/src/main/java/at/xirado/bean/data/OkHttpInterceptor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data; import at.xirado.bean.misc.Metrics; diff --git a/src/main/java/at/xirado/bean/data/PokerCard.java b/src/main/java/at/xirado/bean/data/PokerCard.java index 00c8f27..acd5f2a 100644 --- a/src/main/java/at/xirado/bean/data/PokerCard.java +++ b/src/main/java/at/xirado/bean/data/PokerCard.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data; import java.util.Arrays; diff --git a/src/main/java/at/xirado/bean/data/RankedUser.java b/src/main/java/at/xirado/bean/data/RankedUser.java index 3070678..6a70cce 100644 --- a/src/main/java/at/xirado/bean/data/RankedUser.java +++ b/src/main/java/at/xirado/bean/data/RankedUser.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data; public class RankedUser { diff --git a/src/main/java/at/xirado/bean/data/RankingSystem.java b/src/main/java/at/xirado/bean/data/RankingSystem.java index fd15d87..8c0acdc 100644 --- a/src/main/java/at/xirado/bean/data/RankingSystem.java +++ b/src/main/java/at/xirado/bean/data/RankingSystem.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data; import at.xirado.bean.command.slashcommands.leveling.SetXPBackgroundCommand; diff --git a/src/main/java/at/xirado/bean/data/SearchEntry.java b/src/main/java/at/xirado/bean/data/SearchEntry.java index dc0caaf..1c29de4 100644 --- a/src/main/java/at/xirado/bean/data/SearchEntry.java +++ b/src/main/java/at/xirado/bean/data/SearchEntry.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data; import net.dv8tion.jda.api.interactions.commands.Command; diff --git a/src/main/java/at/xirado/bean/data/content/BookmarkDismissableContent.java b/src/main/java/at/xirado/bean/data/content/BookmarkDismissableContent.java index 8121dbc..5ab1f37 100644 --- a/src/main/java/at/xirado/bean/data/content/BookmarkDismissableContent.java +++ b/src/main/java/at/xirado/bean/data/content/BookmarkDismissableContent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.content; import net.dv8tion.jda.api.EmbedBuilder; diff --git a/src/main/java/at/xirado/bean/data/content/DismissableContentManager.java b/src/main/java/at/xirado/bean/data/content/DismissableContentManager.java index 56d0cc8..2a08ea7 100644 --- a/src/main/java/at/xirado/bean/data/content/DismissableContentManager.java +++ b/src/main/java/at/xirado/bean/data/content/DismissableContentManager.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.content; import at.xirado.bean.data.database.SQLBuilder; diff --git a/src/main/java/at/xirado/bean/data/content/DismissableProgress.java b/src/main/java/at/xirado/bean/data/content/DismissableProgress.java index bbb280a..0a0c675 100644 --- a/src/main/java/at/xirado/bean/data/content/DismissableProgress.java +++ b/src/main/java/at/xirado/bean/data/content/DismissableProgress.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.content; import at.xirado.bean.data.database.SQLBuilder; diff --git a/src/main/java/at/xirado/bean/data/content/DismissableState.java b/src/main/java/at/xirado/bean/data/content/DismissableState.java index 729fed0..6429b67 100644 --- a/src/main/java/at/xirado/bean/data/content/DismissableState.java +++ b/src/main/java/at/xirado/bean/data/content/DismissableState.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.content; public enum DismissableState { diff --git a/src/main/java/at/xirado/bean/data/content/IDismissable.java b/src/main/java/at/xirado/bean/data/content/IDismissable.java index 695cde4..aeb4252 100644 --- a/src/main/java/at/xirado/bean/data/content/IDismissable.java +++ b/src/main/java/at/xirado/bean/data/content/IDismissable.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.content; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/at/xirado/bean/data/content/MessageEmbedDismissable.java b/src/main/java/at/xirado/bean/data/content/MessageEmbedDismissable.java index 8216e96..618f2ba 100644 --- a/src/main/java/at/xirado/bean/data/content/MessageEmbedDismissable.java +++ b/src/main/java/at/xirado/bean/data/content/MessageEmbedDismissable.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.content; import net.dv8tion.jda.api.entities.MessageEmbed; diff --git a/src/main/java/at/xirado/bean/data/content/RankCustomBackgroundDismissableContent.java b/src/main/java/at/xirado/bean/data/content/RankCustomBackgroundDismissableContent.java index 78cc6d2..ffbefde 100644 --- a/src/main/java/at/xirado/bean/data/content/RankCustomBackgroundDismissableContent.java +++ b/src/main/java/at/xirado/bean/data/content/RankCustomBackgroundDismissableContent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.content; import net.dv8tion.jda.api.EmbedBuilder; diff --git a/src/main/java/at/xirado/bean/data/database/Database.kt b/src/main/java/at/xirado/bean/data/database/Database.kt index 87f64b6..1b9f478 100644 --- a/src/main/java/at/xirado/bean/data/database/Database.kt +++ b/src/main/java/at/xirado/bean/data/database/Database.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.database import at.xirado.bean.DatabaseConfig diff --git a/src/main/java/at/xirado/bean/data/database/ExposedMiddleman.kt b/src/main/java/at/xirado/bean/data/database/ExposedMiddleman.kt index 3cd3b6b..d7ee822 100644 --- a/src/main/java/at/xirado/bean/data/database/ExposedMiddleman.kt +++ b/src/main/java/at/xirado/bean/data/database/ExposedMiddleman.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.database import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/data/database/SQLBuilder.java b/src/main/java/at/xirado/bean/data/database/SQLBuilder.java index 9b92fb6..5e7241d 100644 --- a/src/main/java/at/xirado/bean/data/database/SQLBuilder.java +++ b/src/main/java/at/xirado/bean/data/database/SQLBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.database; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/data/database/entity/DiscordGuild.kt b/src/main/java/at/xirado/bean/data/database/entity/DiscordGuild.kt index 8095f1c..8b172a6 100644 --- a/src/main/java/at/xirado/bean/data/database/entity/DiscordGuild.kt +++ b/src/main/java/at/xirado/bean/data/database/entity/DiscordGuild.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.database.entity import at.xirado.bean.data.ReactionRole diff --git a/src/main/java/at/xirado/bean/data/database/entity/DiscordOAuthSession.kt b/src/main/java/at/xirado/bean/data/database/entity/DiscordOAuthSession.kt index 2488107..e5fe1db 100644 --- a/src/main/java/at/xirado/bean/data/database/entity/DiscordOAuthSession.kt +++ b/src/main/java/at/xirado/bean/data/database/entity/DiscordOAuthSession.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.database.entity import at.xirado.bean.data.database.table.DiscordOAuthSessions diff --git a/src/main/java/at/xirado/bean/data/database/table/DiscordGuilds.kt b/src/main/java/at/xirado/bean/data/database/table/DiscordGuilds.kt index 782a29b..8e7c151 100644 --- a/src/main/java/at/xirado/bean/data/database/table/DiscordGuilds.kt +++ b/src/main/java/at/xirado/bean/data/database/table/DiscordGuilds.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.database.table import at.xirado.bean.data.ReactionRole diff --git a/src/main/java/at/xirado/bean/data/database/table/DiscordOAuthSessions.kt b/src/main/java/at/xirado/bean/data/database/table/DiscordOAuthSessions.kt index fe29dac..70b0c1a 100644 --- a/src/main/java/at/xirado/bean/data/database/table/DiscordOAuthSessions.kt +++ b/src/main/java/at/xirado/bean/data/database/table/DiscordOAuthSessions.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.database.table import org.jetbrains.exposed.dao.id.IdTable diff --git a/src/main/java/at/xirado/bean/data/repository/GuildRepository.kt b/src/main/java/at/xirado/bean/data/repository/GuildRepository.kt index ab9d2e7..76d1924 100644 --- a/src/main/java/at/xirado/bean/data/repository/GuildRepository.kt +++ b/src/main/java/at/xirado/bean/data/repository/GuildRepository.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.repository import at.xirado.bean.data.database.Database diff --git a/src/main/java/at/xirado/bean/data/repository/Repository.kt b/src/main/java/at/xirado/bean/data/repository/Repository.kt index 8a2548c..d6a3bca 100644 --- a/src/main/java/at/xirado/bean/data/repository/Repository.kt +++ b/src/main/java/at/xirado/bean/data/repository/Repository.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.data.repository import at.xirado.bean.data.database.Database diff --git a/src/main/java/at/xirado/bean/event/DismissableContentButtonListener.java b/src/main/java/at/xirado/bean/event/DismissableContentButtonListener.java index 959c4cb..5f401aa 100644 --- a/src/main/java/at/xirado/bean/event/DismissableContentButtonListener.java +++ b/src/main/java/at/xirado/bean/event/DismissableContentButtonListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.event; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/event/EvalListener.kt b/src/main/java/at/xirado/bean/event/EvalListener.kt index 41dcfc3..a1822b4 100644 --- a/src/main/java/at/xirado/bean/event/EvalListener.kt +++ b/src/main/java/at/xirado/bean/event/EvalListener.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.event import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/event/GuildJoinListener.java b/src/main/java/at/xirado/bean/event/GuildJoinListener.java index 85080bd..44fd1b2 100644 --- a/src/main/java/at/xirado/bean/event/GuildJoinListener.java +++ b/src/main/java/at/xirado/bean/event/GuildJoinListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.event; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/event/GuildMemberJoinListener.java b/src/main/java/at/xirado/bean/event/GuildMemberJoinListener.java index 1ef3f53..15858b9 100644 --- a/src/main/java/at/xirado/bean/event/GuildMemberJoinListener.java +++ b/src/main/java/at/xirado/bean/event/GuildMemberJoinListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.event; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/event/JDAReadyListener.java b/src/main/java/at/xirado/bean/event/JDAReadyListener.java index 41017af..b48eab8 100644 --- a/src/main/java/at/xirado/bean/event/JDAReadyListener.java +++ b/src/main/java/at/xirado/bean/event/JDAReadyListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.event; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/event/MessageCreateListener.java b/src/main/java/at/xirado/bean/event/MessageCreateListener.java index d6ce631..fd20b22 100644 --- a/src/main/java/at/xirado/bean/event/MessageCreateListener.java +++ b/src/main/java/at/xirado/bean/event/MessageCreateListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.event; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/event/MessageReactionAddListener.java b/src/main/java/at/xirado/bean/event/MessageReactionAddListener.java index 1fd4932..883322c 100644 --- a/src/main/java/at/xirado/bean/event/MessageReactionAddListener.java +++ b/src/main/java/at/xirado/bean/event/MessageReactionAddListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.event; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/event/MessageReactionRemoveListener.java b/src/main/java/at/xirado/bean/event/MessageReactionRemoveListener.java index 7f3bc94..8fc8eee 100644 --- a/src/main/java/at/xirado/bean/event/MessageReactionRemoveListener.java +++ b/src/main/java/at/xirado/bean/event/MessageReactionRemoveListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.event; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/event/SlashCommandListener.java b/src/main/java/at/xirado/bean/event/SlashCommandListener.java index 96f7be3..1fb18c9 100644 --- a/src/main/java/at/xirado/bean/event/SlashCommandListener.java +++ b/src/main/java/at/xirado/bean/event/SlashCommandListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.event; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/event/XPMessageListener.java b/src/main/java/at/xirado/bean/event/XPMessageListener.java index 2db1db3..af6c287 100644 --- a/src/main/java/at/xirado/bean/event/XPMessageListener.java +++ b/src/main/java/at/xirado/bean/event/XPMessageListener.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.event; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/http/HttpServer.kt b/src/main/java/at/xirado/bean/http/HttpServer.kt index 7ea99b4..6144486 100644 --- a/src/main/java/at/xirado/bean/http/HttpServer.kt +++ b/src/main/java/at/xirado/bean/http/HttpServer.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http import at.xirado.bean.Config diff --git a/src/main/java/at/xirado/bean/http/auth/AuthPrincipal.kt b/src/main/java/at/xirado/bean/http/auth/AuthPrincipal.kt index 3e1e557..827684a 100644 --- a/src/main/java/at/xirado/bean/http/auth/AuthPrincipal.kt +++ b/src/main/java/at/xirado/bean/http/auth/AuthPrincipal.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.auth import com.auth0.jwt.interfaces.Payload diff --git a/src/main/java/at/xirado/bean/http/exception/APIException.kt b/src/main/java/at/xirado/bean/http/exception/APIException.kt index 1a49af8..89a8681 100644 --- a/src/main/java/at/xirado/bean/http/exception/APIException.kt +++ b/src/main/java/at/xirado/bean/http/exception/APIException.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.exception import at.xirado.bean.http.response.error.ForbiddenError diff --git a/src/main/java/at/xirado/bean/http/model/DiscordLoginUrlResponse.kt b/src/main/java/at/xirado/bean/http/model/DiscordLoginUrlResponse.kt index de0408f..fe72d5a 100644 --- a/src/main/java/at/xirado/bean/http/model/DiscordLoginUrlResponse.kt +++ b/src/main/java/at/xirado/bean/http/model/DiscordLoginUrlResponse.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.model import kotlinx.serialization.Serializable diff --git a/src/main/java/at/xirado/bean/http/model/GuildInfo.kt b/src/main/java/at/xirado/bean/http/model/GuildInfo.kt index bbf2d8a..82ca14b 100644 --- a/src/main/java/at/xirado/bean/http/model/GuildInfo.kt +++ b/src/main/java/at/xirado/bean/http/model/GuildInfo.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.model import at.xirado.bean.http.oauth.model.BotMetadata diff --git a/src/main/java/at/xirado/bean/http/oauth/DiscordAPI.kt b/src/main/java/at/xirado/bean/http/oauth/DiscordAPI.kt index 117dcc7..4fcf6bf 100644 --- a/src/main/java/at/xirado/bean/http/oauth/DiscordAPI.kt +++ b/src/main/java/at/xirado/bean/http/oauth/DiscordAPI.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.oauth import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/http/oauth/model/DiscordLoginResponse.kt b/src/main/java/at/xirado/bean/http/oauth/model/DiscordLoginResponse.kt index 7012a2a..1fbdbf4 100644 --- a/src/main/java/at/xirado/bean/http/oauth/model/DiscordLoginResponse.kt +++ b/src/main/java/at/xirado/bean/http/oauth/model/DiscordLoginResponse.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.oauth.model import kotlinx.serialization.Serializable diff --git a/src/main/java/at/xirado/bean/http/oauth/model/DiscordUser.kt b/src/main/java/at/xirado/bean/http/oauth/model/DiscordUser.kt index d3ac9dc..58facea 100644 --- a/src/main/java/at/xirado/bean/http/oauth/model/DiscordUser.kt +++ b/src/main/java/at/xirado/bean/http/oauth/model/DiscordUser.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.oauth.model import kotlinx.serialization.SerialName diff --git a/src/main/java/at/xirado/bean/http/oauth/model/Guild.kt b/src/main/java/at/xirado/bean/http/oauth/model/Guild.kt index 2aae5fd..f5b1a88 100644 --- a/src/main/java/at/xirado/bean/http/oauth/model/Guild.kt +++ b/src/main/java/at/xirado/bean/http/oauth/model/Guild.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.oauth.model import kotlinx.serialization.SerialName diff --git a/src/main/java/at/xirado/bean/http/oauth/model/OAuthLoginRequest.kt b/src/main/java/at/xirado/bean/http/oauth/model/OAuthLoginRequest.kt index 3b9c8bc..2c96e3e 100644 --- a/src/main/java/at/xirado/bean/http/oauth/model/OAuthLoginRequest.kt +++ b/src/main/java/at/xirado/bean/http/oauth/model/OAuthLoginRequest.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.oauth.model import kotlinx.serialization.Serializable diff --git a/src/main/java/at/xirado/bean/http/oauth/model/OAuthTokenResponse.kt b/src/main/java/at/xirado/bean/http/oauth/model/OAuthTokenResponse.kt index c7491f9..a7e738c 100644 --- a/src/main/java/at/xirado/bean/http/oauth/model/OAuthTokenResponse.kt +++ b/src/main/java/at/xirado/bean/http/oauth/model/OAuthTokenResponse.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.oauth.model import kotlinx.serialization.SerialName diff --git a/src/main/java/at/xirado/bean/http/oauth/model/SelfUserResponse.kt b/src/main/java/at/xirado/bean/http/oauth/model/SelfUserResponse.kt index a33fb7e..7d18b1a 100644 --- a/src/main/java/at/xirado/bean/http/oauth/model/SelfUserResponse.kt +++ b/src/main/java/at/xirado/bean/http/oauth/model/SelfUserResponse.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.oauth.model import kotlinx.serialization.Serializable diff --git a/src/main/java/at/xirado/bean/http/response/error/BadRequestError.kt b/src/main/java/at/xirado/bean/http/response/error/BadRequestError.kt index 62f749d..574081e 100644 --- a/src/main/java/at/xirado/bean/http/response/error/BadRequestError.kt +++ b/src/main/java/at/xirado/bean/http/response/error/BadRequestError.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.response.error import io.ktor.http.* diff --git a/src/main/java/at/xirado/bean/http/response/error/ForbiddenError.kt b/src/main/java/at/xirado/bean/http/response/error/ForbiddenError.kt index 7d43f89..852bbaf 100644 --- a/src/main/java/at/xirado/bean/http/response/error/ForbiddenError.kt +++ b/src/main/java/at/xirado/bean/http/response/error/ForbiddenError.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.response.error import io.ktor.http.* diff --git a/src/main/java/at/xirado/bean/http/response/error/HttpError.kt b/src/main/java/at/xirado/bean/http/response/error/HttpError.kt index 101316f..e17df01 100644 --- a/src/main/java/at/xirado/bean/http/response/error/HttpError.kt +++ b/src/main/java/at/xirado/bean/http/response/error/HttpError.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.response.error import io.ktor.http.* diff --git a/src/main/java/at/xirado/bean/http/response/error/InternalServerError.kt b/src/main/java/at/xirado/bean/http/response/error/InternalServerError.kt index bbe4243..9cf3966 100644 --- a/src/main/java/at/xirado/bean/http/response/error/InternalServerError.kt +++ b/src/main/java/at/xirado/bean/http/response/error/InternalServerError.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.response.error import io.ktor.http.* diff --git a/src/main/java/at/xirado/bean/http/response/error/NotFoundError.kt b/src/main/java/at/xirado/bean/http/response/error/NotFoundError.kt index 7200bc9..8374625 100644 --- a/src/main/java/at/xirado/bean/http/response/error/NotFoundError.kt +++ b/src/main/java/at/xirado/bean/http/response/error/NotFoundError.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.response.error import io.ktor.http.* diff --git a/src/main/java/at/xirado/bean/http/response/error/UnauthorizedError.kt b/src/main/java/at/xirado/bean/http/response/error/UnauthorizedError.kt index b4f0a78..8cb0a3f 100644 --- a/src/main/java/at/xirado/bean/http/response/error/UnauthorizedError.kt +++ b/src/main/java/at/xirado/bean/http/response/error/UnauthorizedError.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.response.error import io.ktor.http.* diff --git a/src/main/java/at/xirado/bean/http/routes/CommandsRoute.kt b/src/main/java/at/xirado/bean/http/routes/CommandsRoute.kt index 2fe3bdc..b8602f8 100644 --- a/src/main/java/at/xirado/bean/http/routes/CommandsRoute.kt +++ b/src/main/java/at/xirado/bean/http/routes/CommandsRoute.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.routes import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/http/routes/DiscordAuthorizeURLRoute.kt b/src/main/java/at/xirado/bean/http/routes/DiscordAuthorizeURLRoute.kt index f422419..5a07157 100644 --- a/src/main/java/at/xirado/bean/http/routes/DiscordAuthorizeURLRoute.kt +++ b/src/main/java/at/xirado/bean/http/routes/DiscordAuthorizeURLRoute.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.routes import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/http/routes/DiscordInviteURLRoute.kt b/src/main/java/at/xirado/bean/http/routes/DiscordInviteURLRoute.kt index 4884d65..fb213ad 100644 --- a/src/main/java/at/xirado/bean/http/routes/DiscordInviteURLRoute.kt +++ b/src/main/java/at/xirado/bean/http/routes/DiscordInviteURLRoute.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.routes import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/http/routes/DiscordOAuthCallbackRoute.kt b/src/main/java/at/xirado/bean/http/routes/DiscordOAuthCallbackRoute.kt index 610616d..1694656 100644 --- a/src/main/java/at/xirado/bean/http/routes/DiscordOAuthCallbackRoute.kt +++ b/src/main/java/at/xirado/bean/http/routes/DiscordOAuthCallbackRoute.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.routes import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/http/routes/GuildRoute.kt b/src/main/java/at/xirado/bean/http/routes/GuildRoute.kt index 0546c50..edb796a 100644 --- a/src/main/java/at/xirado/bean/http/routes/GuildRoute.kt +++ b/src/main/java/at/xirado/bean/http/routes/GuildRoute.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.routes import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/http/routes/GuildsRoute.kt b/src/main/java/at/xirado/bean/http/routes/GuildsRoute.kt index 33fd62e..b9a93c3 100644 --- a/src/main/java/at/xirado/bean/http/routes/GuildsRoute.kt +++ b/src/main/java/at/xirado/bean/http/routes/GuildsRoute.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.routes import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/http/routes/LeaderboardRoute.kt b/src/main/java/at/xirado/bean/http/routes/LeaderboardRoute.kt index 1562759..3b31694 100644 --- a/src/main/java/at/xirado/bean/http/routes/LeaderboardRoute.kt +++ b/src/main/java/at/xirado/bean/http/routes/LeaderboardRoute.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.routes import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/http/routes/RemoveRankedMemberRoute.kt b/src/main/java/at/xirado/bean/http/routes/RemoveRankedMemberRoute.kt index 95b1706..84f1869 100644 --- a/src/main/java/at/xirado/bean/http/routes/RemoveRankedMemberRoute.kt +++ b/src/main/java/at/xirado/bean/http/routes/RemoveRankedMemberRoute.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.http.routes import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/ktx/Utils.kt b/src/main/java/at/xirado/bean/ktx/Utils.kt index 54617fc..5da89b8 100644 --- a/src/main/java/at/xirado/bean/ktx/Utils.kt +++ b/src/main/java/at/xirado/bean/ktx/Utils.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.ktx import kotlinx.coroutines.CoroutineScope diff --git a/src/main/java/at/xirado/bean/ktx/events.kt b/src/main/java/at/xirado/bean/ktx/events.kt index 0a6b7a7..fad6cce 100644 --- a/src/main/java/at/xirado/bean/ktx/events.kt +++ b/src/main/java/at/xirado/bean/ktx/events.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.ktx import kotlinx.coroutines.suspendCancellableCoroutine diff --git a/src/main/java/at/xirado/bean/log/WebhookAppender.kt b/src/main/java/at/xirado/bean/log/WebhookAppender.kt index 78fc7f3..f511df4 100644 --- a/src/main/java/at/xirado/bean/log/WebhookAppender.kt +++ b/src/main/java/at/xirado/bean/log/WebhookAppender.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.log import ch.qos.logback.classic.Logger diff --git a/src/main/java/at/xirado/bean/mee6/MEE6Queue.java b/src/main/java/at/xirado/bean/mee6/MEE6Queue.java index 710d6f2..374867d 100644 --- a/src/main/java/at/xirado/bean/mee6/MEE6Queue.java +++ b/src/main/java/at/xirado/bean/mee6/MEE6Queue.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.mee6; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/mee6/MEE6Request.java b/src/main/java/at/xirado/bean/mee6/MEE6Request.java index fdd8d26..7a2b9b2 100644 --- a/src/main/java/at/xirado/bean/mee6/MEE6Request.java +++ b/src/main/java/at/xirado/bean/mee6/MEE6Request.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.mee6; import org.jetbrains.annotations.NotNull; diff --git a/src/main/java/at/xirado/bean/misc/CoroutineScope.kt b/src/main/java/at/xirado/bean/misc/CoroutineScope.kt index df2e680..3465468 100644 --- a/src/main/java/at/xirado/bean/misc/CoroutineScope.kt +++ b/src/main/java/at/xirado/bean/misc/CoroutineScope.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.misc import at.xirado.bean.Bean diff --git a/src/main/java/at/xirado/bean/misc/EmbedUtil.java b/src/main/java/at/xirado/bean/misc/EmbedUtil.java index 6fc9714..5725c74 100644 --- a/src/main/java/at/xirado/bean/misc/EmbedUtil.java +++ b/src/main/java/at/xirado/bean/misc/EmbedUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.misc; import net.dv8tion.jda.api.EmbedBuilder; diff --git a/src/main/java/at/xirado/bean/misc/EvalUtil.java b/src/main/java/at/xirado/bean/misc/EvalUtil.java index 2d50a89..1012fe1 100644 --- a/src/main/java/at/xirado/bean/misc/EvalUtil.java +++ b/src/main/java/at/xirado/bean/misc/EvalUtil.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.misc; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/misc/Hastebin.java b/src/main/java/at/xirado/bean/misc/Hastebin.java index 473e0ef..94e6b0f 100644 --- a/src/main/java/at/xirado/bean/misc/Hastebin.java +++ b/src/main/java/at/xirado/bean/misc/Hastebin.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.misc; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/misc/Metrics.java b/src/main/java/at/xirado/bean/misc/Metrics.java index 015dc77..369998b 100644 --- a/src/main/java/at/xirado/bean/misc/Metrics.java +++ b/src/main/java/at/xirado/bean/misc/Metrics.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.misc; import io.prometheus.client.Counter; diff --git a/src/main/java/at/xirado/bean/misc/Util.java b/src/main/java/at/xirado/bean/misc/Util.java index 1910af9..99a530d 100644 --- a/src/main/java/at/xirado/bean/misc/Util.java +++ b/src/main/java/at/xirado/bean/misc/Util.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.misc; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/misc/objects/CachedMessage.java b/src/main/java/at/xirado/bean/misc/objects/CachedMessage.java index 1cc776d..10ab315 100644 --- a/src/main/java/at/xirado/bean/misc/objects/CachedMessage.java +++ b/src/main/java/at/xirado/bean/misc/objects/CachedMessage.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.misc.objects; import net.dv8tion.jda.api.JDA; diff --git a/src/main/java/at/xirado/bean/misc/objects/TrackInfo.java b/src/main/java/at/xirado/bean/misc/objects/TrackInfo.java index 81ebd65..9895102 100644 --- a/src/main/java/at/xirado/bean/misc/objects/TrackInfo.java +++ b/src/main/java/at/xirado/bean/misc/objects/TrackInfo.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.misc.objects; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/misc/urbandictionary/UrbanDefinition.java b/src/main/java/at/xirado/bean/misc/urbandictionary/UrbanDefinition.java index 9ed44d1..fe8fcca 100644 --- a/src/main/java/at/xirado/bean/misc/urbandictionary/UrbanDefinition.java +++ b/src/main/java/at/xirado/bean/misc/urbandictionary/UrbanDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.misc.urbandictionary; import net.dv8tion.jda.api.utils.data.DataObject; diff --git a/src/main/java/at/xirado/bean/moderation/CaseType.java b/src/main/java/at/xirado/bean/moderation/CaseType.java index 1a9715f..4a50c53 100644 --- a/src/main/java/at/xirado/bean/moderation/CaseType.java +++ b/src/main/java/at/xirado/bean/moderation/CaseType.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.moderation; import java.awt.*; diff --git a/src/main/java/at/xirado/bean/moderation/ModCase.java b/src/main/java/at/xirado/bean/moderation/ModCase.java index 064aeae..3810e29 100644 --- a/src/main/java/at/xirado/bean/moderation/ModCase.java +++ b/src/main/java/at/xirado/bean/moderation/ModCase.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.moderation; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/prometheus/MetricsJob.java b/src/main/java/at/xirado/bean/prometheus/MetricsJob.java index 4ab98f9..c49e0f8 100644 --- a/src/main/java/at/xirado/bean/prometheus/MetricsJob.java +++ b/src/main/java/at/xirado/bean/prometheus/MetricsJob.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.prometheus; import at.xirado.bean.Bean; diff --git a/src/main/java/at/xirado/bean/prometheus/Prometheus.java b/src/main/java/at/xirado/bean/prometheus/Prometheus.java index f412257..61b2193 100644 --- a/src/main/java/at/xirado/bean/prometheus/Prometheus.java +++ b/src/main/java/at/xirado/bean/prometheus/Prometheus.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.prometheus; import io.prometheus.client.exporter.HTTPServer; diff --git a/src/main/java/at/xirado/bean/translation/LocaleLoader.java b/src/main/java/at/xirado/bean/translation/LocaleLoader.java index b625e2b..6cbc809 100644 --- a/src/main/java/at/xirado/bean/translation/LocaleLoader.java +++ b/src/main/java/at/xirado/bean/translation/LocaleLoader.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 Marcel Korzonek and contributors + * + * 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 at.xirado.bean.translation; import at.xirado.bean.misc.Util;