From 5504ea7e1d92893e6f8dcb05ec9f10554205cb29 Mon Sep 17 00:00:00 2001 From: HyperGH <46067571+HyperGH@users.noreply.github.com> Date: Wed, 23 Aug 2023 01:39:31 +0200 Subject: [PATCH] Update username --- .github/FUNDING.yml | 2 +- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- LICENSE | 2 +- README.md | 8 ++++---- docs/source/changelogs/v1.rst | 2 +- docs/source/conf.py | 4 ++-- docs/source/index.rst | 11 +---------- examples/README.md | 2 +- examples/basic.py | 2 +- examples/modals.py | 2 +- examples/navigator.py | 2 +- examples/persistence.py | 2 +- examples/subclassed.py | 2 +- miru/__init__.py | 2 +- miru/__main__.py | 2 +- miru/abc/__init__.py | 2 +- miru/abc/item.py | 2 +- miru/abc/item_handler.py | 2 +- miru/bootstrap.py | 2 +- miru/button.py | 2 +- miru/context/__init__.py | 2 +- miru/context/base.py | 2 +- miru/context/modal.py | 2 +- miru/context/raw.py | 2 +- miru/context/view.py | 2 +- miru/events.py | 2 +- miru/exceptions.py | 2 +- miru/ext/nav/README.md | 2 +- miru/ext/nav/__init__.py | 2 +- miru/ext/nav/items.py | 2 +- miru/ext/nav/navigator.py | 2 +- miru/ext/nav/utils/__init__.py | 2 +- miru/ext/nav/utils/paginator.py | 2 +- miru/modal.py | 2 +- miru/select/__init__.py | 22 ++++++++++++++++++++++ miru/select/base.py | 22 ++++++++++++++++++++++ miru/select/channel.py | 22 ++++++++++++++++++++++ miru/select/mentionable.py | 22 ++++++++++++++++++++++ miru/select/role.py | 22 ++++++++++++++++++++++ miru/select/text.py | 22 ++++++++++++++++++++++ miru/select/user.py | 22 ++++++++++++++++++++++ miru/text_input.py | 2 +- miru/traits.py | 2 +- miru/view.py | 2 +- noxfile.py | 2 +- setup.py | 2 +- 46 files changed, 197 insertions(+), 52 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 8854a03a..8f74f144 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1 @@ -github: HyperGH +github: hypergonial diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 88f21ff1..4f0d3c23 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -2,7 +2,7 @@ name: Bug report description: Found a bug with the library? Report it here! labels: ["bug"] assignees: - - HyperGH + - hypergonial body: - type: textarea diff --git a/LICENSE b/LICENSE index 4134731c..857b470a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022-present HyperGH +Copyright (c) 2022-present hypergonial 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/README.md b/README.md index 4a2d05d5..3a953e48 100644 --- a/README.md +++ b/README.md @@ -69,11 +69,11 @@ async def buttons(event: hikari.GuildMessageCreateEvent) -> None: bot.run() ``` -For more examples see [examples](https://github.com/HyperGH/hikari-miru/tree/main/examples), or refer to the [documentation](https://hikari-miru.readthedocs.io/en/latest/). +For more examples see [examples](https://github.com/hypergonial/hikari-miru/tree/main/examples), or refer to the [documentation](https://hikari-miru.readthedocs.io/en/latest/). ## Issues and support -For general usage help or questions, see the `#miru` channel in the [hikari discord](https://discord.gg/Jx4cNGG), if you have found a bug or have a feature request, feel free to [open an issue](https://github.com/HyperGH/hikari-miru/issues/new)! +For general usage help or questions, see the `#miru` channel in the [hikari discord](https://discord.gg/Jx4cNGG), if you have found a bug or have a feature request, feel free to [open an issue](https://github.com/hypergonial/hikari-miru/issues/new)! ## Contributing @@ -82,5 +82,5 @@ If you wish to contribute, make sure to run [nox](https://nox.thea.codes/en/stab ## Links - [**Documentation**](https://hikari-miru.readthedocs.io/en/latest/index.html) -- [**Examples**](https://github.com/HyperGH/hikari-miru/tree/main/examples) -- [**License**](https://github.com/HyperGH/hikari-miru/blob/main/LICENSE) +- [**Examples**](https://github.com/hypergonial/hikari-miru/tree/main/examples) +- [**License**](https://github.com/hypergonial/hikari-miru/blob/main/LICENSE) diff --git a/docs/source/changelogs/v1.rst b/docs/source/changelogs/v1.rst index 008cac9f..c8f89338 100644 --- a/docs/source/changelogs/v1.rst +++ b/docs/source/changelogs/v1.rst @@ -34,7 +34,7 @@ Version 1.1.0 - Make colorama an optional Windows-only dependency. -- Fix a bug where URL buttons would fail to initialize. (`#17 `_) +- Fix a bug where URL buttons would fail to initialize. (`#17 `_) - Fix a bug where ``miru.Context.edit_response()`` would not work correctly after initial response. diff --git a/docs/source/conf.py b/docs/source/conf.py index 5c25541c..cc4f01dc 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -19,8 +19,8 @@ # -- Project information ----------------------------------------------------- project = "hikari-miru" -copyright = "2022, HyperGH" -author = "HyperGH" +copyright = "2022, hypergonial" +author = "hypergonial" with open("../../miru/__init__.py") as fp: file = fp.read() diff --git a/docs/source/index.rst b/docs/source/index.rst index 57f3bfc6..1d1f8e04 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -11,7 +11,7 @@ miru is a component handler library for use with `Hikari `_ +Repository: `View on GitHub `_ PyPi: `View Here `_ @@ -22,15 +22,6 @@ Helpful Resources: - `Hikari Documentation `_ -Major Contributors: -------------------- - -- `Hyper#0001 (creator) `_ - -- `sadru#5438 `_ - -- `thomm.o#8637 `_ - Index: ------ diff --git a/examples/README.md b/examples/README.md index d8751a44..7f4e2013 100644 --- a/examples/README.md +++ b/examples/README.md @@ -10,4 +10,4 @@ To run and test the examples, simply insert your bot token in into the construct python example_name.py ``` -If you have any questions, or found an issue with one of the examples, feel free to [open an issue](https://github.com/HyperGH/hikari-miru/issues/new), or join the [hikari discord](https://discord.gg/Jx4cNGG)! +If you have any questions, or found an issue with one of the examples, feel free to [open an issue](https://github.com/hypergonial/hikari-miru/issues/new), or join the [hikari discord](https://discord.gg/Jx4cNGG)! diff --git a/examples/basic.py b/examples/basic.py index e5345191..ee08de69 100644 --- a/examples/basic.py +++ b/examples/basic.py @@ -60,7 +60,7 @@ async def buttons(event: hikari.GuildMessageCreateEvent) -> None: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/examples/modals.py b/examples/modals.py index 8148653d..d5baf10d 100644 --- a/examples/modals.py +++ b/examples/modals.py @@ -51,7 +51,7 @@ async def modals(event: hikari.GuildMessageCreateEvent) -> None: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/examples/navigator.py b/examples/navigator.py index deff448e..a4458697 100644 --- a/examples/navigator.py +++ b/examples/navigator.py @@ -62,7 +62,7 @@ async def navigator(event: hikari.GuildMessageCreateEvent) -> None: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/examples/persistence.py b/examples/persistence.py index a3d299f1..249ae781 100644 --- a/examples/persistence.py +++ b/examples/persistence.py @@ -68,7 +68,7 @@ async def buttons(event: hikari.GuildMessageCreateEvent) -> None: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/examples/subclassed.py b/examples/subclassed.py index f2e1a78f..a71cd500 100644 --- a/examples/subclassed.py +++ b/examples/subclassed.py @@ -66,7 +66,7 @@ async def buttons(event: hikari.GuildMessageCreateEvent) -> None: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/__init__.py b/miru/__init__.py index 845ca148..8ffc00d9 100644 --- a/miru/__init__.py +++ b/miru/__init__.py @@ -54,7 +54,7 @@ # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/__main__.py b/miru/__main__.py index 92f5b9d5..bb182540 100644 --- a/miru/__main__.py +++ b/miru/__main__.py @@ -34,7 +34,7 @@ # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/abc/__init__.py b/miru/abc/__init__.py index 286df443..a9b59990 100644 --- a/miru/abc/__init__.py +++ b/miru/abc/__init__.py @@ -11,7 +11,7 @@ # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/abc/item.py b/miru/abc/item.py index 03e3534a..6e19f6ea 100644 --- a/miru/abc/item.py +++ b/miru/abc/item.py @@ -286,7 +286,7 @@ def __call__(self, *args: t.Any, **kwargs: t.Any) -> t.Any: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/abc/item_handler.py b/miru/abc/item_handler.py index b899e805..05bcb1bb 100644 --- a/miru/abc/item_handler.py +++ b/miru/abc/item_handler.py @@ -349,7 +349,7 @@ async def wait(self, timeout: t.Optional[float] = None) -> None: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/bootstrap.py b/miru/bootstrap.py index b37791ad..04f48591 100644 --- a/miru/bootstrap.py +++ b/miru/bootstrap.py @@ -54,7 +54,7 @@ def uninstall() -> None: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/button.py b/miru/button.py index e55c1a21..68fec675 100644 --- a/miru/button.py +++ b/miru/button.py @@ -218,7 +218,7 @@ def decorator(func: t.Callable[..., t.Any]) -> t.Any: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/context/__init__.py b/miru/context/__init__.py index c22e38ba..0c52ee18 100644 --- a/miru/context/__init__.py +++ b/miru/context/__init__.py @@ -15,7 +15,7 @@ # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/context/base.py b/miru/context/base.py index 0d388cb9..a9149b23 100644 --- a/miru/context/base.py +++ b/miru/context/base.py @@ -516,7 +516,7 @@ async def defer( # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/context/modal.py b/miru/context/modal.py index 746fd935..61c6ff59 100644 --- a/miru/context/modal.py +++ b/miru/context/modal.py @@ -96,7 +96,7 @@ def get_value_by_predicate( # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/context/raw.py b/miru/context/raw.py index 7e6253a7..1c89c4f2 100644 --- a/miru/context/raw.py +++ b/miru/context/raw.py @@ -42,7 +42,7 @@ class RawModalContext(Context[hikari.ModalInteraction]): # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/context/view.py b/miru/context/view.py index 643e071d..b0e5c1c9 100644 --- a/miru/context/view.py +++ b/miru/context/view.py @@ -29,7 +29,7 @@ def view(self) -> View: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/events.py b/miru/events.py index 27844452..7156e82e 100644 --- a/miru/events.py +++ b/miru/events.py @@ -188,7 +188,7 @@ async def _handle_events(self, event: hikari.InteractionCreateEvent) -> None: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/exceptions.py b/miru/exceptions.py index 0cdd62fe..2a3e29d3 100644 --- a/miru/exceptions.py +++ b/miru/exceptions.py @@ -23,7 +23,7 @@ class ItemAlreadyAttachedError(MiruException): # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/ext/nav/README.md b/miru/ext/nav/README.md index b20106c3..9fbe71ea 100644 --- a/miru/ext/nav/README.md +++ b/miru/ext/nav/README.md @@ -26,4 +26,4 @@ async def navigator(event: hikari.GuildMessageCreateEvent) -> None: await navigator.send(event.channel_id) ``` -For more examples see the [detailed example](https://github.com/HyperGH/hikari-miru/tree/main/examples/navigator.py), or refer to the [documentation](https://hikari-miru.readthedocs.io/en/latest/guides/navigators.html). +For more examples see the [detailed example](https://github.com/hypergonial/hikari-miru/tree/main/examples/navigator.py), or refer to the [documentation](https://hikari-miru.readthedocs.io/en/latest/guides/navigators.html). diff --git a/miru/ext/nav/__init__.py b/miru/ext/nav/__init__.py index d4477c5b..b743d4d0 100644 --- a/miru/ext/nav/__init__.py +++ b/miru/ext/nav/__init__.py @@ -36,7 +36,7 @@ # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/ext/nav/items.py b/miru/ext/nav/items.py index dce06452..7f535025 100644 --- a/miru/ext/nav/items.py +++ b/miru/ext/nav/items.py @@ -279,7 +279,7 @@ async def callback(self, context: ViewContext) -> None: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/ext/nav/navigator.py b/miru/ext/nav/navigator.py index 428f043f..f9c51c9c 100644 --- a/miru/ext/nav/navigator.py +++ b/miru/ext/nav/navigator.py @@ -310,7 +310,7 @@ async def send( # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/ext/nav/utils/__init__.py b/miru/ext/nav/utils/__init__.py index 4b500e62..82050fae 100644 --- a/miru/ext/nav/utils/__init__.py +++ b/miru/ext/nav/utils/__init__.py @@ -2,7 +2,7 @@ # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/ext/nav/utils/paginator.py b/miru/ext/nav/utils/paginator.py index a9c81bfa..5813c985 100644 --- a/miru/ext/nav/utils/paginator.py +++ b/miru/ext/nav/utils/paginator.py @@ -72,7 +72,7 @@ def pages(self) -> t.Sequence[str]: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/modal.py b/miru/modal.py index 0a1bbb75..fe7295bf 100644 --- a/miru/modal.py +++ b/miru/modal.py @@ -304,7 +304,7 @@ async def send(self, interaction: hikari.ModalResponseMixin) -> None: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/select/__init__.py b/miru/select/__init__.py index 6a98394f..05dd5011 100644 --- a/miru/select/__init__.py +++ b/miru/select/__init__.py @@ -19,3 +19,25 @@ "mentionable_select", "text_select", ) + +# MIT License +# +# Copyright (c) 2022-present hypergonial +# +# 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. diff --git a/miru/select/base.py b/miru/select/base.py index 6396c419..6fd6d498 100644 --- a/miru/select/base.py +++ b/miru/select/base.py @@ -103,3 +103,25 @@ def _build(self, action_row: hikari.api.MessageActionRowBuilder) -> None: """ Called internally to build and append to an action row """ + +# MIT License +# +# Copyright (c) 2022-present hypergonial +# +# 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. diff --git a/miru/select/channel.py b/miru/select/channel.py index 27fb31b8..a053af67 100644 --- a/miru/select/channel.py +++ b/miru/select/channel.py @@ -144,3 +144,25 @@ def decorator(func: t.Callable[..., t.Any]) -> t.Any: return DecoratedItem(item, func) return decorator + +# MIT License +# +# Copyright (c) 2022-present hypergonial +# +# 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. diff --git a/miru/select/mentionable.py b/miru/select/mentionable.py index cd088c3f..7f693fe2 100644 --- a/miru/select/mentionable.py +++ b/miru/select/mentionable.py @@ -136,3 +136,25 @@ def decorator(func: t.Callable[..., t.Any]) -> t.Any: return DecoratedItem(item, func) return decorator + +# MIT License +# +# Copyright (c) 2022-present hypergonial +# +# 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. diff --git a/miru/select/role.py b/miru/select/role.py index e69ed44d..c7985e82 100644 --- a/miru/select/role.py +++ b/miru/select/role.py @@ -127,3 +127,25 @@ def decorator(func: t.Callable[..., t.Any]) -> t.Any: return DecoratedItem(item, func) return decorator + +# MIT License +# +# Copyright (c) 2022-present hypergonial +# +# 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. diff --git a/miru/select/text.py b/miru/select/text.py index eb5c7e55..d850b29e 100644 --- a/miru/select/text.py +++ b/miru/select/text.py @@ -224,3 +224,25 @@ def decorator(func: t.Callable[..., t.Any]) -> t.Any: return DecoratedItem(item, func) return decorator + +# MIT License +# +# Copyright (c) 2022-present hypergonial +# +# 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. diff --git a/miru/select/user.py b/miru/select/user.py index 61811886..2a639b69 100644 --- a/miru/select/user.py +++ b/miru/select/user.py @@ -135,3 +135,25 @@ def decorator(func: t.Callable[..., t.Any]) -> t.Any: return DecoratedItem(item, func) return decorator + +# MIT License +# +# Copyright (c) 2022-present hypergonial +# +# 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. diff --git a/miru/text_input.py b/miru/text_input.py index 0de3789b..ca0e6dcb 100644 --- a/miru/text_input.py +++ b/miru/text_input.py @@ -174,7 +174,7 @@ async def _refresh_state(self, context: Context[hikari.ModalInteraction]) -> Non # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/traits.py b/miru/traits.py index 0c499e4c..27aa2e85 100644 --- a/miru/traits.py +++ b/miru/traits.py @@ -14,7 +14,7 @@ class MiruAware(hikari.RESTAware, hikari.EventManagerAware, typing.Protocol): # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/miru/view.py b/miru/view.py index 25648684..bf807e6d 100644 --- a/miru/view.py +++ b/miru/view.py @@ -428,7 +428,7 @@ def get_view(message: hikari.SnowflakeishOr[hikari.PartialMessage]) -> t.Optiona # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/noxfile.py b/noxfile.py index 3a9dc84b..59650576 100644 --- a/noxfile.py +++ b/noxfile.py @@ -55,7 +55,7 @@ def sphinx(session: nox.Session) -> None: # MIT License # -# Copyright (c) 2022-present HyperGH +# Copyright (c) 2022-present hypergonial # # 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/setup.py b/setup.py index cbe6822c..7c85eb4e 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ def parse_requirements_file(path: str) -> t.List[str]: long_description=long_description(), long_description_content_type="text/markdown", author="hypergonial", - author_email="46067571+HyperGH@users.noreply.github.com", + author_email="46067571+hypergonial@users.noreply.github.com", url="https://github.com/hypergonial/hikari-miru", packages=find_namespace_packages(include=[name + "*"]), package_data={"miru": ["py.typed"], "miru.ext.nav": ["py.typed"]},