Skip to content

Commit

Permalink
Update username
Browse files Browse the repository at this point in the history
  • Loading branch information
hypergonial committed Aug 22, 2023
1 parent 569090f commit 5504ea7
Show file tree
Hide file tree
Showing 46 changed files with 197 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: HyperGH
github: hypergonial
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)
2 changes: 1 addition & 1 deletion docs/source/changelogs/v1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/HyperGH/hikari-miru/issues/17>`_)
- Fix a bug where URL buttons would fail to initialize. (`#17 <https://github.com/hypergonial/hikari-miru/issues/17>`_)

- Fix a bug where ``miru.Context.edit_response()`` would not work correctly after initial response.

Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
11 changes: 1 addition & 10 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ miru is a component handler library for use with `Hikari <https://github.com/hik
The aim of the library is to simplify and empower component creation and management,
while abstracting away interaction listeners, timeout handling, and much more!

Repository: `View on GitHub <https://github.com/HyperGH/hikari-miru>`_
Repository: `View on GitHub <https://github.com/hypergonial/hikari-miru>`_

PyPi: `View Here <https://pypi.org/project/hikari-miru/>`_

Expand All @@ -22,15 +22,6 @@ Helpful Resources:

- `Hikari Documentation <https://www.hikari-py.dev/>`_

Major Contributors:
-------------------

- `Hyper#0001 (creator) <https://github.com/HyperGH>`_

- `sadru#5438 <https://github.com/thesadru>`_

- `thomm.o#8637 <https://github.com/tandemdude>`_

Index:
------

Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)!
2 changes: 1 addition & 1 deletion examples/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/modals.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/navigator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/persistence.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/subclassed.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/abc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/abc/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/abc/item_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/context/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/context/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/context/modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/context/raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/context/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/ext/nav/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion miru/ext/nav/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/ext/nav/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/ext/nav/navigator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/ext/nav/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/ext/nav/utils/paginator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion miru/modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions miru/select/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
22 changes: 22 additions & 0 deletions miru/select/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Loading

0 comments on commit 5504ea7

Please sign in to comment.