%global _empty_manifest_terminate_build 0 Name: python-DiscordEconomy Version: 1.3.8 Release: 1 Summary: Discord.py, other libs(hikari etc.), and forks(pycord, nextcord etc.) extension to create economy easily with support of Sqlite/MongoDB. License: MIT URL: https://github.com/Nohet/DiscordEconomy Source0: https://mirrors.nju.edu.cn/pypi/web/packages/37/18/ce3dc677655a1af7b7e944c4376d868efbc60acb8e2e724214c4e13e33bc/DiscordEconomy-1.3.8.tar.gz BuildArch: noarch Requires: python3-aiosqlite Requires: python3-aiohttp Requires: python3-motor Requires: python3-dnspython Requires: python3-nest-asyncio %description # DiscordEconomy 1.3.8 [![Downloads](https://pepy.tech/badge/discordeconomy)](https://pepy.tech/project/discordeconomy) ![PyPI - License](https://img.shields.io/pypi/l/DiscordEconomy) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Nohet/DiscordEconomy.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Nohet/DiscordEconomy/context:python) [![Total alerts](https://img.shields.io/lgtm/alerts/g/Nohet/DiscordEconomy.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Nohet/DiscordEconomy/alerts/) Discord.py, other libs(hikari etc.), and forks(pycord, nextcord etc.) extension to create economy easily with support of **Sqlite**/**MongoDB**. ## Release Information
Release 1.3.8 - fixed typing for get_all_data function
Release 1.3.7 - added full typing for functions
Release 1.3.6 - deprecated DiscordEconomy.Economy(), use 'from DiscordEconomy.Sqlite import Economy' instead - added support for mongodb
Release 1.3.5 - code rewrite - add some more examples(including new discord.py slash commands, and adding a new minigame)
Release 1.3.4 - added checking for the latest version - code rewrite
Release 1.3.3 - Added simple documentation
## Important Links * [Documentation](https://nohet.github.io/DiscordEconomy/) ## Installation You can install package directly from pypi `pip install DiscordEconomy` ## Functions available The current list of asynchronous functions available are: ```python await .is_registered(user_id) await .get_user(user_id) await .delete_user_account(user_id) await .get_all_data() await .add_money(user_id, value, amount) await .remove_money(user_id, value, amount) await .set_money(user_id, value, amount) await .add_item(user_id, item) await .remove_item(user_id, item) ``` ## Example Usage **All the examples for this package are available on [GitHub](https://github.com/Nohet/DiscordEconomy/tree/main/examples)** Note that for using this examples you have to change token to yours and: - enable message and member intent in discord developer portal while using message commands example - enable member intent in discord developer portal and pass guild id where to register slash commands while using slash commands example %package -n python3-DiscordEconomy Summary: Discord.py, other libs(hikari etc.), and forks(pycord, nextcord etc.) extension to create economy easily with support of Sqlite/MongoDB. Provides: python-DiscordEconomy BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-DiscordEconomy # DiscordEconomy 1.3.8 [![Downloads](https://pepy.tech/badge/discordeconomy)](https://pepy.tech/project/discordeconomy) ![PyPI - License](https://img.shields.io/pypi/l/DiscordEconomy) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Nohet/DiscordEconomy.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Nohet/DiscordEconomy/context:python) [![Total alerts](https://img.shields.io/lgtm/alerts/g/Nohet/DiscordEconomy.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Nohet/DiscordEconomy/alerts/) Discord.py, other libs(hikari etc.), and forks(pycord, nextcord etc.) extension to create economy easily with support of **Sqlite**/**MongoDB**. ## Release Information
Release 1.3.8 - fixed typing for get_all_data function
Release 1.3.7 - added full typing for functions
Release 1.3.6 - deprecated DiscordEconomy.Economy(), use 'from DiscordEconomy.Sqlite import Economy' instead - added support for mongodb
Release 1.3.5 - code rewrite - add some more examples(including new discord.py slash commands, and adding a new minigame)
Release 1.3.4 - added checking for the latest version - code rewrite
Release 1.3.3 - Added simple documentation
## Important Links * [Documentation](https://nohet.github.io/DiscordEconomy/) ## Installation You can install package directly from pypi `pip install DiscordEconomy` ## Functions available The current list of asynchronous functions available are: ```python await .is_registered(user_id) await .get_user(user_id) await .delete_user_account(user_id) await .get_all_data() await .add_money(user_id, value, amount) await .remove_money(user_id, value, amount) await .set_money(user_id, value, amount) await .add_item(user_id, item) await .remove_item(user_id, item) ``` ## Example Usage **All the examples for this package are available on [GitHub](https://github.com/Nohet/DiscordEconomy/tree/main/examples)** Note that for using this examples you have to change token to yours and: - enable message and member intent in discord developer portal while using message commands example - enable member intent in discord developer portal and pass guild id where to register slash commands while using slash commands example %package help Summary: Development documents and examples for DiscordEconomy Provides: python3-DiscordEconomy-doc %description help # DiscordEconomy 1.3.8 [![Downloads](https://pepy.tech/badge/discordeconomy)](https://pepy.tech/project/discordeconomy) ![PyPI - License](https://img.shields.io/pypi/l/DiscordEconomy) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Nohet/DiscordEconomy.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Nohet/DiscordEconomy/context:python) [![Total alerts](https://img.shields.io/lgtm/alerts/g/Nohet/DiscordEconomy.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Nohet/DiscordEconomy/alerts/) Discord.py, other libs(hikari etc.), and forks(pycord, nextcord etc.) extension to create economy easily with support of **Sqlite**/**MongoDB**. ## Release Information
Release 1.3.8 - fixed typing for get_all_data function
Release 1.3.7 - added full typing for functions
Release 1.3.6 - deprecated DiscordEconomy.Economy(), use 'from DiscordEconomy.Sqlite import Economy' instead - added support for mongodb
Release 1.3.5 - code rewrite - add some more examples(including new discord.py slash commands, and adding a new minigame)
Release 1.3.4 - added checking for the latest version - code rewrite
Release 1.3.3 - Added simple documentation
## Important Links * [Documentation](https://nohet.github.io/DiscordEconomy/) ## Installation You can install package directly from pypi `pip install DiscordEconomy` ## Functions available The current list of asynchronous functions available are: ```python await .is_registered(user_id) await .get_user(user_id) await .delete_user_account(user_id) await .get_all_data() await .add_money(user_id, value, amount) await .remove_money(user_id, value, amount) await .set_money(user_id, value, amount) await .add_item(user_id, item) await .remove_item(user_id, item) ``` ## Example Usage **All the examples for this package are available on [GitHub](https://github.com/Nohet/DiscordEconomy/tree/main/examples)** Note that for using this examples you have to change token to yours and: - enable message and member intent in discord developer portal while using message commands example - enable member intent in discord developer portal and pass guild id where to register slash commands while using slash commands example %prep %autosetup -n DiscordEconomy-1.3.8 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-DiscordEconomy -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 1.3.8-1 - Package Spec generated