Skip to main content

An API wrapper for discord.

Project description

discord.wrapper

PyPI - Version PyPI - Downloads PyPI - Supported Python Versions s

An API wrapper for discord wich uses async and await api.

How to install

python3 -m pip install discord.wrapper

Bot Example

import sys
from discord import wrapper

bot = wrapper.Bot(token="your bot token")

@bot.event()
async def on_ready():
	print("Ready!")

if __name__ == "__main__":
	bot.run()

Subclassed Bot

from discord import wrapper

class MyBot(wrapper.Bot):
	def __init__(self, *args, **kwargs):
		super().__init__(*args, **kwargs)

bot = MyBot(token="Your Bot Token")

bot.run()

For more info, check out the docs.

Links:

Official Support Server

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

discord.wrapper-3.0.3.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

discord.wrapper-3.0.3-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file discord.wrapper-3.0.3.tar.gz.

File metadata

  • Download URL: discord.wrapper-3.0.3.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for discord.wrapper-3.0.3.tar.gz
Algorithm Hash digest
SHA256 a752f337e385f8b673e242c2201d7d544d527b91576b038d5b73473cc6875be5
MD5 25de6a424589e9a021e31e17e37cbfcf
BLAKE2b-256 bf4b28051e73496b1c97407a8e59211cc87fd463f8f5399a66073736bc5f8981

See more details on using hashes here.

File details

Details for the file discord.wrapper-3.0.3-py3-none-any.whl.

File metadata

  • Download URL: discord.wrapper-3.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for discord.wrapper-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 28a545f6fd4cfa37d5a345b64b6d90b4a908bcc740140695561fb496e73d52be
MD5 b7eafe69372a00805f67a374061bf264
BLAKE2b-256 f14daa5b95b2ecbbe62e84355f8a54e00cd39fa7250ddde4ffcbe7eb5b5c7527

See more details on using hashes here.

Supported by

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