Skip to main content

A fork of Discord Message URL Expander for d.py 2.0.0a/pycord

Project description

PyPI - Downloads PyPI PyPI - Python Version

NewDispanderfixed

このライブラリは、DiscordBotPortalJP様のdispanderライブラリを
ライセンスに基づきクロヱ水族館サーバー用Bot向けに改変したものです。
このライブラリはdiscord.py 2.0.0aまたはそのフォークライブラリでしか動きません。
discord.py 1.7.3をお使いの方はdispanderfixedを使ってください。
フォーク元ライブラリ様

インストール

pip install newdispanderfixed

依存関係

discord.py-2.0.0aまたはそのフォークライブラリを要求します。

機能は?

関数としての使用を想定しています。
on_message内のどこかで実行してください。
元ライブラリ様にあった展開元メッセージ削除機能は無効化されています。

import discord
from dispanderfixed import dispand

client = discord.Client()

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

client.run(token)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

newdispanderfixed-0.1.5.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

newdispanderfixed-0.1.5-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file newdispanderfixed-0.1.5.tar.gz.

File metadata

  • Download URL: newdispanderfixed-0.1.5.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for newdispanderfixed-0.1.5.tar.gz
Algorithm Hash digest
SHA256 3f0ac74eaa7964ae0815f6719a04d5640fbd3c3320b753f1f965ef495262fc83
MD5 decab5e51233a9d9fd9aa67cf3234ade
BLAKE2b-256 630aa1ffd42eac492c65b1f0baf5f1e43a4b69bbcbd96f194ad9ab21afc4db94

See more details on using hashes here.

File details

Details for the file newdispanderfixed-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: newdispanderfixed-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for newdispanderfixed-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8a261decb40606ae0102a71e2eb44d123d91e2cffbc8b306c8732fa93fc29893
MD5 46b0d528437ba27198bd3757e04e2e08
BLAKE2b-256 4e774ec7052477a6004a896eeb0a1a2e1dbb1403a33e9fa2f078f1f005d0a7c6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page