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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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