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.8.tar.gz
(8.3 kB
view hashes)
Built Distribution
Close
Hashes for discord.wrapper-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae87b4d8a2cbe08a8ab39ceda07c551da5118ee0ff7e98f9b426889fc61314fe |
|
MD5 | d6072d453cea063ba4071a645568636c |
|
BLAKE2b-256 | 00054452dfb58ff3ec4306cd54dcf5a23183eb070ef23c7e2f51455571356f41 |