summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-discord-py-interactions.spec254
-rw-r--r--sources2
3 files changed, 207 insertions, 50 deletions
diff --git a/.gitignore b/.gitignore
index 31219aa..b990305 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/discord-py-interactions-5.0.0.tar.gz
+/discord-py-interactions-5.1.0.tar.gz
diff --git a/python-discord-py-interactions.spec b/python-discord-py-interactions.spec
index 7ccdefb..8d18ae9 100644
--- a/python-discord-py-interactions.spec
+++ b/python-discord-py-interactions.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-discord-py-interactions
-Version: 5.0.0
+Version: 5.1.0
Release: 1
Summary: Easy, simple, scalable and modular: a Python API wrapper for interactions.
License: MIT License
URL: https://github.com/interactions-py/interactions.py
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d1/21/b92acd10006b940c9fe90518f10aa6a623dd134ffac78e7ad50d2739f252/discord-py-interactions-5.0.0.tar.gz
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ec/c5/57b28e50b8bde797fd38af0c65d3cfd6b00d667a3ddb741bdeb7aee985ea/discord-py-interactions-5.1.0.tar.gz
BuildArch: noarch
Requires: python3-aiohttp
@@ -78,47 +78,99 @@ Requires: python3-typeguard
Requires: python3-PyNaCl
%description
-# Interactions.py - A Feature-rich Discord Bot Framework for Python
+<div align="center">
+
+ # Interactions.py
+ <br>
+
+ ![](https://img.shields.io/pypi/v/discord-py-interactions.svg?label=Version&logo=pypi)
+ ![](https://img.shields.io/badge/Python-3.10+-1081c1?logo=python)
+ [![](https://img.shields.io/pypi/dm/discord-py-slash-command.svg?logo=python&label=Downloads)](https://pypi.org/project/discord-py-interactions/)
+
+ [![](https://img.shields.io/badge/Code%20Style-black-000000.svg)](https://github.com/psf/black)
+ [![License](https://img.shields.io/badge/License-GPL-blue)](https://github.com/interactions-py/interactions.py/blob/stable/LICENSE)
+
+ [![](https://img.shields.io/badge/Docs-latest-x?logo=readthedocs)](https://interactions-py.github.io/interactions.py/)
+ [![](https://img.shields.io/badge/Guides-latest-x?logo=readthedocs)](https://interactions-py.github.io/interactions.py/Guides/01%20Getting%20Started)
+ [![image](https://discord.com/api/guilds/789032594456576001/embed.png)](https://discord.gg/interactions)
+
+</div>
+
+## A Feature-rich Discord Bot Framework for Python
+
A highly extensible, easy to use, and feature complete framework for Discord.
-interactions.py is the culmination of years of experience with Discord's APIs and bot development. This framework has been built from the ground up with community feedback and suggestions in mind. Our framework provides a modern and intuitive set of language bindings for easy interaction with Discord.
+
+`interactions.py` is the culmination of years of experience with Discord's APIs and bot development. This framework has been built from the ground up with community feedback and suggestions in mind. Our framework provides a modern and intuitive set of language bindings for easy interaction with Discord.
+
## Key Features
interactions.py offers a wide range of features for building Python-powered Discord bots and web applications alike:
-- ✅ 100% coverage of the Discord API
-- ✅ Dynamic cache with TTL support
-- ✅ Modern and Pythonic API for easy interaction with Discord
-- ✅ Proper rate-limit handling
-- ✅ Feature parity with most other Discord API wrappers
-- ✅ Fully automated command synchronisation
-In addition to core functionality, interactions.py provides a range of optional extensions, allowing you to further customize your bot and add new features with ease.
+- ✅ 100% coverage of the Discord API
+- ✅ Dynamic cache with TTL support
+- ✅ Modern and Pythonic API for easy interaction with Discord
+- ✅ Proper rate-limit handling
+- ✅ Feature parity with most other Discord API wrappers
+- ✅ Fully automated command synchronisation
+
+In addition to core functionality, `interactions.py` provides a range of optional extensions, allowing you to further customize your bot and add new features with ease.
+
## Extensibility
+
So the base library doesn't do what you want? No problem! With builtin extensions, you are able to extend the functionality of the library. And if none of those pique your interest, there are a myriad of other extension libraries available.
+
Just type `bot.load("extension")`
+
<details>
<summary>Extensions</summary>
+
### Prefixed Commands
+
Prefixed commands, message commands, or legacy commands.
Whatever you want to call them, by default the `interactions.py` library will not handle these. But rest assured this extension will get you going
- - ✅ Automatic command registration
- - ✅ Annotation support
- ### Debug Ext
+
+ - ✅ Automatic command registration
+ - ✅ Annotation support
+
+ ### Debug Extension
+
A fully featured debug and utilities suite to help you get your bots made
+
### Jurigged
+
A hot reloading extension allowing you to automagically update your bot without reboots
+
### Sentry
+
Integrates Sentry.io error tracking into your bot with a single line
+
+ ### Console
+
+ Adds `aiomonitor` support with enables cli commands over a web interface
+
+ ### Paginators
+
+ Easily create multi-page embeds without having to implement the UX
+
</details>
+
## Where do I start?
-Getting started with interactions.py is easy! Simply install it via `pip` and start building your Discord application in Python:
+
+Getting started with `interactions.py` is easy! Simply install it via `pip` and start building your Discord application in Python:
+
`pip install -U discord-py-interactions`
```python
import interactions
+
bot = interactions.Client()
+
@interactions.listen()
-async def on_start():
+async def on_startup():
print("Bot is ready!")
+
bot.start("token")
```
-With interactions.py, you can quickly and easily build complex Discord applications with Python. Check out our [guides](https://interactions-py.github.io/interactions.py/Guides/01%20Getting%20Started) for more information. Or join our [discord](https://discord.gg/interactions).
+
+With `interactions.py`, you can quickly and easily build complex Discord applications with Python. Check out our [guides](https://interactions-py.github.io/interactions.py/Guides/01%20Getting%20Started) for more information. Or join our [discord](https://discord.gg/interactions).
+
%package -n python3-discord-py-interactions
Summary: Easy, simple, scalable and modular: a Python API wrapper for interactions.
@@ -127,96 +179,200 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-discord-py-interactions
-# Interactions.py - A Feature-rich Discord Bot Framework for Python
+<div align="center">
+
+ # Interactions.py
+ <br>
+
+ ![](https://img.shields.io/pypi/v/discord-py-interactions.svg?label=Version&logo=pypi)
+ ![](https://img.shields.io/badge/Python-3.10+-1081c1?logo=python)
+ [![](https://img.shields.io/pypi/dm/discord-py-slash-command.svg?logo=python&label=Downloads)](https://pypi.org/project/discord-py-interactions/)
+
+ [![](https://img.shields.io/badge/Code%20Style-black-000000.svg)](https://github.com/psf/black)
+ [![License](https://img.shields.io/badge/License-GPL-blue)](https://github.com/interactions-py/interactions.py/blob/stable/LICENSE)
+
+ [![](https://img.shields.io/badge/Docs-latest-x?logo=readthedocs)](https://interactions-py.github.io/interactions.py/)
+ [![](https://img.shields.io/badge/Guides-latest-x?logo=readthedocs)](https://interactions-py.github.io/interactions.py/Guides/01%20Getting%20Started)
+ [![image](https://discord.com/api/guilds/789032594456576001/embed.png)](https://discord.gg/interactions)
+
+</div>
+
+## A Feature-rich Discord Bot Framework for Python
+
A highly extensible, easy to use, and feature complete framework for Discord.
-interactions.py is the culmination of years of experience with Discord's APIs and bot development. This framework has been built from the ground up with community feedback and suggestions in mind. Our framework provides a modern and intuitive set of language bindings for easy interaction with Discord.
+
+`interactions.py` is the culmination of years of experience with Discord's APIs and bot development. This framework has been built from the ground up with community feedback and suggestions in mind. Our framework provides a modern and intuitive set of language bindings for easy interaction with Discord.
+
## Key Features
interactions.py offers a wide range of features for building Python-powered Discord bots and web applications alike:
-- ✅ 100% coverage of the Discord API
-- ✅ Dynamic cache with TTL support
-- ✅ Modern and Pythonic API for easy interaction with Discord
-- ✅ Proper rate-limit handling
-- ✅ Feature parity with most other Discord API wrappers
-- ✅ Fully automated command synchronisation
-In addition to core functionality, interactions.py provides a range of optional extensions, allowing you to further customize your bot and add new features with ease.
+- ✅ 100% coverage of the Discord API
+- ✅ Dynamic cache with TTL support
+- ✅ Modern and Pythonic API for easy interaction with Discord
+- ✅ Proper rate-limit handling
+- ✅ Feature parity with most other Discord API wrappers
+- ✅ Fully automated command synchronisation
+
+In addition to core functionality, `interactions.py` provides a range of optional extensions, allowing you to further customize your bot and add new features with ease.
+
## Extensibility
+
So the base library doesn't do what you want? No problem! With builtin extensions, you are able to extend the functionality of the library. And if none of those pique your interest, there are a myriad of other extension libraries available.
+
Just type `bot.load("extension")`
+
<details>
<summary>Extensions</summary>
+
### Prefixed Commands
+
Prefixed commands, message commands, or legacy commands.
Whatever you want to call them, by default the `interactions.py` library will not handle these. But rest assured this extension will get you going
- - ✅ Automatic command registration
- - ✅ Annotation support
- ### Debug Ext
+
+ - ✅ Automatic command registration
+ - ✅ Annotation support
+
+ ### Debug Extension
+
A fully featured debug and utilities suite to help you get your bots made
+
### Jurigged
+
A hot reloading extension allowing you to automagically update your bot without reboots
+
### Sentry
+
Integrates Sentry.io error tracking into your bot with a single line
+
+ ### Console
+
+ Adds `aiomonitor` support with enables cli commands over a web interface
+
+ ### Paginators
+
+ Easily create multi-page embeds without having to implement the UX
+
</details>
+
## Where do I start?
-Getting started with interactions.py is easy! Simply install it via `pip` and start building your Discord application in Python:
+
+Getting started with `interactions.py` is easy! Simply install it via `pip` and start building your Discord application in Python:
+
`pip install -U discord-py-interactions`
```python
import interactions
+
bot = interactions.Client()
+
@interactions.listen()
-async def on_start():
+async def on_startup():
print("Bot is ready!")
+
bot.start("token")
```
-With interactions.py, you can quickly and easily build complex Discord applications with Python. Check out our [guides](https://interactions-py.github.io/interactions.py/Guides/01%20Getting%20Started) for more information. Or join our [discord](https://discord.gg/interactions).
+
+With `interactions.py`, you can quickly and easily build complex Discord applications with Python. Check out our [guides](https://interactions-py.github.io/interactions.py/Guides/01%20Getting%20Started) for more information. Or join our [discord](https://discord.gg/interactions).
+
%package help
Summary: Development documents and examples for discord-py-interactions
Provides: python3-discord-py-interactions-doc
%description help
-# Interactions.py - A Feature-rich Discord Bot Framework for Python
+<div align="center">
+
+ # Interactions.py
+ <br>
+
+ ![](https://img.shields.io/pypi/v/discord-py-interactions.svg?label=Version&logo=pypi)
+ ![](https://img.shields.io/badge/Python-3.10+-1081c1?logo=python)
+ [![](https://img.shields.io/pypi/dm/discord-py-slash-command.svg?logo=python&label=Downloads)](https://pypi.org/project/discord-py-interactions/)
+
+ [![](https://img.shields.io/badge/Code%20Style-black-000000.svg)](https://github.com/psf/black)
+ [![License](https://img.shields.io/badge/License-GPL-blue)](https://github.com/interactions-py/interactions.py/blob/stable/LICENSE)
+
+ [![](https://img.shields.io/badge/Docs-latest-x?logo=readthedocs)](https://interactions-py.github.io/interactions.py/)
+ [![](https://img.shields.io/badge/Guides-latest-x?logo=readthedocs)](https://interactions-py.github.io/interactions.py/Guides/01%20Getting%20Started)
+ [![image](https://discord.com/api/guilds/789032594456576001/embed.png)](https://discord.gg/interactions)
+
+</div>
+
+## A Feature-rich Discord Bot Framework for Python
+
A highly extensible, easy to use, and feature complete framework for Discord.
-interactions.py is the culmination of years of experience with Discord's APIs and bot development. This framework has been built from the ground up with community feedback and suggestions in mind. Our framework provides a modern and intuitive set of language bindings for easy interaction with Discord.
+
+`interactions.py` is the culmination of years of experience with Discord's APIs and bot development. This framework has been built from the ground up with community feedback and suggestions in mind. Our framework provides a modern and intuitive set of language bindings for easy interaction with Discord.
+
## Key Features
interactions.py offers a wide range of features for building Python-powered Discord bots and web applications alike:
-- ✅ 100% coverage of the Discord API
-- ✅ Dynamic cache with TTL support
-- ✅ Modern and Pythonic API for easy interaction with Discord
-- ✅ Proper rate-limit handling
-- ✅ Feature parity with most other Discord API wrappers
-- ✅ Fully automated command synchronisation
-In addition to core functionality, interactions.py provides a range of optional extensions, allowing you to further customize your bot and add new features with ease.
+- ✅ 100% coverage of the Discord API
+- ✅ Dynamic cache with TTL support
+- ✅ Modern and Pythonic API for easy interaction with Discord
+- ✅ Proper rate-limit handling
+- ✅ Feature parity with most other Discord API wrappers
+- ✅ Fully automated command synchronisation
+
+In addition to core functionality, `interactions.py` provides a range of optional extensions, allowing you to further customize your bot and add new features with ease.
+
## Extensibility
+
So the base library doesn't do what you want? No problem! With builtin extensions, you are able to extend the functionality of the library. And if none of those pique your interest, there are a myriad of other extension libraries available.
+
Just type `bot.load("extension")`
+
<details>
<summary>Extensions</summary>
+
### Prefixed Commands
+
Prefixed commands, message commands, or legacy commands.
Whatever you want to call them, by default the `interactions.py` library will not handle these. But rest assured this extension will get you going
- - ✅ Automatic command registration
- - ✅ Annotation support
- ### Debug Ext
+
+ - ✅ Automatic command registration
+ - ✅ Annotation support
+
+ ### Debug Extension
+
A fully featured debug and utilities suite to help you get your bots made
+
### Jurigged
+
A hot reloading extension allowing you to automagically update your bot without reboots
+
### Sentry
+
Integrates Sentry.io error tracking into your bot with a single line
+
+ ### Console
+
+ Adds `aiomonitor` support with enables cli commands over a web interface
+
+ ### Paginators
+
+ Easily create multi-page embeds without having to implement the UX
+
</details>
+
## Where do I start?
-Getting started with interactions.py is easy! Simply install it via `pip` and start building your Discord application in Python:
+
+Getting started with `interactions.py` is easy! Simply install it via `pip` and start building your Discord application in Python:
+
`pip install -U discord-py-interactions`
```python
import interactions
+
bot = interactions.Client()
+
@interactions.listen()
-async def on_start():
+async def on_startup():
print("Bot is ready!")
+
bot.start("token")
```
-With interactions.py, you can quickly and easily build complex Discord applications with Python. Check out our [guides](https://interactions-py.github.io/interactions.py/Guides/01%20Getting%20Started) for more information. Or join our [discord](https://discord.gg/interactions).
+
+With `interactions.py`, you can quickly and easily build complex Discord applications with Python. Check out our [guides](https://interactions-py.github.io/interactions.py/Guides/01%20Getting%20Started) for more information. Or join our [discord](https://discord.gg/interactions).
+
%prep
-%autosetup -n discord-py-interactions-5.0.0
+%autosetup -n discord-py-interactions-5.1.0
%build
%py3_build
@@ -256,5 +412,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 5.0.0-1
+* Sun Apr 23 2023 Python_Bot <Python_Bot@openeuler.org> - 5.1.0-1
- Package Spec generated
diff --git a/sources b/sources
index 3979c78..e0980bc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7fd06f5a406a9e4104357ad766ff8f60 discord-py-interactions-5.0.0.tar.gz
+bb4d245768789d36190aa3216d73ac04 discord-py-interactions-5.1.0.tar.gz