An API wrapper for discord.
Project description
discord.wrapper
An API wrapper for discord wich uses async
and await
.
How to install
python3 -m pip install discord.wrapper
Bot Example
from discord import wrapper
bot = wrapper.Bot(public_key = "Your Public Key", token="Your Bot Token")
bot.run()
Subclassed Bot
from discord import wrapper
class MyBot(wrapper.Bot):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
bot = MyBot(public_key = "public_key", token="Your Bot Token")
bot.run()
Fore more info, check out the docs.
Links:
Project details
Release history Release notifications | RSS feed
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-0.2.7.tar.gz
(8.3 kB
view hashes)
Built Distribution
Close
Hashes for discord.wrapper-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 926a0e292d72e536dfccb444fbdeecc0420068c7b489c68d57dcf26e7aee05f7 |
|
MD5 | 49950fa48cbd8d6ae2c571e34e4a57da |
|
BLAKE2b-256 | 8ac68d2a681cf888f62396e9efc388f5d70c1ab206aeb4f35a183b8c79129ac5 |