From e295b159c54e70b2e35ea8710c4f4e89be0ecca6 Mon Sep 17 00:00:00 2001 From: io Date: Sun, 11 Jul 2021 03:03:32 +0000 Subject: [PATCH] update license headers --- bot.py | 16 ++-------------- cogs/__init__.py | 0 cogs/emote.py | 16 ++-------------- cogs/meta.py | 16 ++-------------- data/short-license.txt | 2 +- utils/__init__.py | 3 ++- utils/archive.py | 16 ++-------------- utils/converter.py | 16 ++-------------- utils/emote.py | 16 ++-------------- utils/errors.py | 16 ++-------------- utils/image.py | 16 ++-------------- utils/misc.py | 16 ++-------------- utils/paginator.py | 16 ++-------------- 13 files changed, 23 insertions(+), 142 deletions(-) delete mode 100644 cogs/__init__.py diff --git a/bot.py b/bot.py index c44e804..cdda77f 100755 --- a/bot.py +++ b/bot.py @@ -1,19 +1,7 @@ #!/usr/bin/env python3 -# © 2018–2020 io mintz -# -# Emote Manager is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# Emote Manager is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Emote Manager. If not, see . +# © lambda#0987 +# SPDX-License-Identifier: AGPL-3.0-or-later import base64 import logging diff --git a/cogs/__init__.py b/cogs/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/cogs/emote.py b/cogs/emote.py index 4115f92..54a225f 100644 --- a/cogs/emote.py +++ b/cogs/emote.py @@ -1,17 +1,5 @@ -# © 2018–2020 io mintz -# -# Emote Manager is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# Emote Manager is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Emote Manager. If not, see . +# © lambda#0987 +# SPDX-License-Identifier: AGPL-3.0-or-later import asyncio import cgi diff --git a/cogs/meta.py b/cogs/meta.py index 024e1e1..d9538b1 100644 --- a/cogs/meta.py +++ b/cogs/meta.py @@ -1,17 +1,5 @@ -# © 2018–2020 io mintz -# -# Emote Manager is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# Emote Manager is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Emote Manager. If not, see . +# © lambda#0987 +# SPDX-License-Identifier: AGPL-3.0-or-later import contextlib diff --git a/data/short-license.txt b/data/short-license.txt index 44436dd..3201d23 100644 --- a/data/short-license.txt +++ b/data/short-license.txt @@ -1,4 +1,4 @@ -© 2018–2020 lambda#0987 +© lambda#0987 Emote Manager is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as diff --git a/utils/__init__.py b/utils/__init__.py index af5395c..4d9c3e8 100644 --- a/utils/__init__.py +++ b/utils/__init__.py @@ -1,4 +1,5 @@ -#!/usr/bin/env python3 +# © lambda#0987 +# SPDX-License-Identifier: AGPL-3.0-or-later from .misc import * from . import archive diff --git a/utils/archive.py b/utils/archive.py index b58fbaf..1adbbf7 100644 --- a/utils/archive.py +++ b/utils/archive.py @@ -1,17 +1,5 @@ -# © 2018–2020 io mintz -# -# Emote Manager is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# Emote Manager is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Emote Manager. If not, see . +# © lambda#0987 +# SPDX-License-Identifier: AGPL-3.0-or-later import asyncio import collections diff --git a/utils/converter.py b/utils/converter.py index 9de0820..2fcc79e 100644 --- a/utils/converter.py +++ b/utils/converter.py @@ -1,17 +1,5 @@ -# © 2018–2020 io mintz -# -# Emote Manager is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# Emote Manager is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Emote Manager. If not, see . +# © lambda#0987 +# SPDX-License-Identifier: AGPL-3.0-or-later import functools from discord.ext.commands import BadArgument diff --git a/utils/emote.py b/utils/emote.py index adcb459..f3d0456 100644 --- a/utils/emote.py +++ b/utils/emote.py @@ -1,17 +1,5 @@ -# © 2018–2020 io mintz -# -# Emote Manager is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# Emote Manager is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Emote Manager. If not, see . +# © lambda#0987 +# SPDX-License-Identifier: AGPL-3.0-or-later import re diff --git a/utils/errors.py b/utils/errors.py index 1e636c4..cb4241a 100644 --- a/utils/errors.py +++ b/utils/errors.py @@ -1,17 +1,5 @@ -# © 2018–2020 io mintz -# -# Emote Manager is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# Emote Manager is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Emote Manager. If not, see . +# © lambda#0987 +# SPDX-License-Identifier: AGPL-3.0-or-later import utils import asyncio diff --git a/utils/image.py b/utils/image.py index ac78443..044755e 100755 --- a/utils/image.py +++ b/utils/image.py @@ -1,17 +1,5 @@ -# © 2018–2020 io mintz -# -# Emote Manager is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# Emote Manager is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Emote Manager. If not, see . +# © lambda#0987 +# SPDX-License-Identifier: AGPL-3.0-or-later import asyncio import base64 diff --git a/utils/misc.py b/utils/misc.py index 2d1b606..000c51d 100644 --- a/utils/misc.py +++ b/utils/misc.py @@ -1,17 +1,5 @@ -# © 2018–2020 io mintz -# -# Emote Manager is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# Emote Manager is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Emote Manager. If not, see . +# © lambda#0987 +# SPDX-License-Identifier: AGPL-3.0-or-later """various utilities for use within the bot""" diff --git a/utils/paginator.py b/utils/paginator.py index f56ff91..1dd4185 100644 --- a/utils/paginator.py +++ b/utils/paginator.py @@ -1,17 +1,5 @@ -# © 2018–2020 io mintz -# -# Emote Manager is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# Emote Manager is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Emote Manager. If not, see . +# © lambda#0987 +# SPDX-License-Identifier: AGPL-3.0-or-later import asyncio import contextlib