Skip to main content

dispander (Discord Message URL Expander)

DiscordのメッセージURLを検知して展開する機能を追加する discord.py Bot拡張用ライブラリ

使い方

python3 -m pip install dispander

extensionとして使用する場合

load_extensionで読み込んでください

from discord.ext import commands

bot = commands.Bot(command_prefix='/')
bot.load_extension('dispander')
bot.run(token)

関数として使用する場合

on_message内のどこかで実行してください

import discord
from dispander import dispand

client = discord.Client()

@client.event
async def on_message(message):
    if message.author.bot:
        return
    await dispand(message)

client.run(token)

Metadata

Release files for dispander 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dispander 0.5.0
File Size Uploaded Provenance Actions
dispander-0.5.0.tar.gz 3.3 kB Without provenance Details for dispander-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dispander 0.5.0
File Interpreter ABI Platform Actions
dispander-0.5.0-py3-none-any.whl Python 3 none any Details for dispander-0.5.0-py3-none-any.whl

Total release size: 7.0 kB

Release files / dispander-0.5.0.tar.gz

Download URL dispander-0.5.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
94aa597c9413d3e3c476b1cd91cb72c429bca42efaf173a3f12e0ece98ebc0b0
BLAKE2b-256 checksum
How to use checksums
126ea3c42040289679207b2be8474bf10e118272e438c509647d514828d9462f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.1

Release files / dispander-0.5.0-py3-none-any.whl

Download URL dispander-0.5.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ede52cf8569d91fed23fad57389068e8a9bd8c34271de452bf0f948433e1aae
BLAKE2b-256 checksum
How to use checksums
e907c0cc36309a286ce9a3d428584fd98d6bc7d550091c516f576aeba02e5386
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.1

Security for dispander 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page