diff --git a/cogs/basic.py b/cogs/basic.py index 4e40999..d6db904 100644 --- a/cogs/basic.py +++ b/cogs/basic.py @@ -1,3 +1,26 @@ +"""MIT License + +Copyright (c) 2023 - present Vocard Development + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +""" + import discord import voicelink import re diff --git a/cogs/effect.py b/cogs/effect.py index bfc8d21..607d56a 100644 --- a/cogs/effect.py +++ b/cogs/effect.py @@ -1,3 +1,26 @@ +"""MIT License + +Copyright (c) 2023 - present Vocard Development + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +""" + import discord import voicelink diff --git a/cogs/listeners.py b/cogs/listeners.py index a9e2a7d..dda3daf 100644 --- a/cogs/listeners.py +++ b/cogs/listeners.py @@ -1,3 +1,26 @@ +"""MIT License + +Copyright (c) 2023 - present Vocard Development + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +""" + import voicelink import asyncio import discord diff --git a/cogs/playlist.py b/cogs/playlist.py index bdba67e..449950f 100644 --- a/cogs/playlist.py +++ b/cogs/playlist.py @@ -1,3 +1,26 @@ +"""MIT License + +Copyright (c) 2023 - present Vocard Development + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +""" + import discord import voicelink diff --git a/cogs/settings.py b/cogs/settings.py index b2d0db2..4ec9c88 100644 --- a/cogs/settings.py +++ b/cogs/settings.py @@ -1,3 +1,26 @@ +"""MIT License + +Copyright (c) 2023 - present Vocard Development + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +""" + import discord import voicelink import psutil diff --git a/cogs/task.py b/cogs/task.py index 048cc0b..9620189 100644 --- a/cogs/task.py +++ b/cogs/task.py @@ -1,3 +1,26 @@ +"""MIT License + +Copyright (c) 2023 - present Vocard Development + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +""" + import voicelink import discord import function as func diff --git a/function.py b/function.py index 6e09162..a698f2c 100644 --- a/function.py +++ b/function.py @@ -50,7 +50,7 @@ def get_settings(guild_id:int) -> dict: settings = SETTINGS_DB.find_one({"_id":guild_id}) if not settings: SETTINGS_DB.insert_one({"_id":guild_id}) - + GUILD_SETTINGS[guild_id] = settings or {} return settings diff --git a/views/chapter.py b/views/chapter.py index 325baa6..b64c536 100644 --- a/views/chapter.py +++ b/views/chapter.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/views/controller.py b/views/controller.py index ea8f8b1..ad50808 100644 --- a/views/controller.py +++ b/views/controller.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/views/debug.py b/views/debug.py index 6aaac52..0f63aeb 100644 --- a/views/debug.py +++ b/views/debug.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/views/help.py b/views/help.py index 7fa0dd0..693ba53 100644 --- a/views/help.py +++ b/views/help.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/views/inbox.py b/views/inbox.py index 49b42dd..70a008e 100644 --- a/views/inbox.py +++ b/views/inbox.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/views/link.py b/views/link.py index 9f6531d..0ceb3d5 100644 --- a/views/link.py +++ b/views/link.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/views/list.py b/views/list.py index ec47306..8def253 100644 --- a/views/list.py +++ b/views/list.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/views/lyrics.py b/views/lyrics.py index 26fbe3c..b93169a 100644 --- a/views/lyrics.py +++ b/views/lyrics.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/views/playlist.py b/views/playlist.py index 57cd06d..1cc077d 100644 --- a/views/playlist.py +++ b/views/playlist.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/views/search.py b/views/search.py index f6ec9ff..6d7b344 100644 --- a/views/search.py +++ b/views/search.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/voicelink/enums.py b/voicelink/enums.py index d9e4a00..e459243 100644 --- a/voicelink/enums.py +++ b/voicelink/enums.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/voicelink/exceptions.py b/voicelink/exceptions.py index b38a0ac..0c7fca8 100644 --- a/voicelink/exceptions.py +++ b/voicelink/exceptions.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/voicelink/filters.py b/voicelink/filters.py index 75829d0..3ac9bc5 100644 --- a/voicelink/filters.py +++ b/voicelink/filters.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/voicelink/objects.py b/voicelink/objects.py index 9a3bcd4..b42ae81 100644 --- a/voicelink/objects.py +++ b/voicelink/objects.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/voicelink/player.py b/voicelink/player.py index 38875ca..8c7eb7f 100644 --- a/voicelink/player.py +++ b/voicelink/player.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/voicelink/pool.py b/voicelink/pool.py index 030499d..761f821 100644 --- a/voicelink/pool.py +++ b/voicelink/pool.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/voicelink/queue.py b/voicelink/queue.py index 3133411..1f1a017 100644 --- a/voicelink/queue.py +++ b/voicelink/queue.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/voicelink/utils.py b/voicelink/utils.py index 0a692a0..1b0025e 100644 --- a/voicelink/utils.py +++ b/voicelink/utils.py @@ -1,6 +1,6 @@ """MIT License -Copyright (c) 2023 Vocard Development +Copyright (c) 2023 - present Vocard Development Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal