معرفی شرکت ها


dpyrandmeme-1.0.1rc32.post1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Random memes fetched for use in discord.py bot commands.
ویژگی مقدار
سیستم عامل -
نام فایل dpyrandmeme-1.0.1rc32.post1
نام dpyrandmeme
نسخه کتابخانه 1.0.1rc32.post1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده aviance <relations@aviance.app>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/dpyrandmeme/
مجوز -
# dpyrandmeme: random memes for discord.py **What does the library do?** This library simply uses aiohttp to collect json data from a reddit page and turns it into a link inorder to be used while also storing the memes and returning the meme as a discord embed before sending back to the discord bot to send to the member who sent that command. It is the same meme library that is currently being used inside Paradigm. <br> **PyPi library link:** https://pypi.org/project/dpyrandmeme/ <br><br> **USAGE OF CODE IN A DISCORD SLASH COMMAND COG:** ```python """ This snippet is the actual meme slash command code from the Paradigm Source Code. """ from discord.ext import commands from dpyrandmeme import pyrandmeme class Meme(commands.Cog): def __init__(self, client): self.client = client @commands.hybrid_command() @commands.cooldown(1, 1, commands.BucketType.user) async def meme(self, ctx): """ Get some random memes from reddit. """ await ctx.send(embed=await pyrandmeme()) async def setup(client): await client.add_cog(Meme(client)) ``` <br> <br> **Credits:** d33pak123: https://github.com/d33pak123/Pyrandmeme-python-library, <br> Microsoft for the template. <br> <br> <br> <br> ©2023 aviance. Project is open-source through the MIT License.


نیازمندی

مقدار نام
- aiohttp>=3.8.4
- discord-py>=2.2.2
- pyspark>=3.0.0
- bandit[toml]==1.7.4
- black==22.1.0
- check-manifest==0.48
- flake8-bugbear==22.1.11
- aiohttp===3.8.4
- discord-py==2.2.2
- flake8-docstrings
- flake8-formatter_junit_xml
- flake8==4.0.1
- pre-commit==2.17.0
- pylint==2.12.2
- pylint_junit
- pytest-cov==3.0.0
- pytest-mock<3.7.1
- pytest-runner
- pytest==7.1.0
- pytest-github-actions-annotate-failures
- shellcheck-py==0.8.0.4


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl dpyrandmeme-1.0.1rc32.post1:

    pip install dpyrandmeme-1.0.1rc32.post1.whl


نصب پکیج tar.gz dpyrandmeme-1.0.1rc32.post1:

    pip install dpyrandmeme-1.0.1rc32.post1.tar.gz