An API wrapper for discord.
Project description
discord.wrapper
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:
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-3.0.3.tar.gz
(10.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a752f337e385f8b673e242c2201d7d544d527b91576b038d5b73473cc6875be5
|
|
| MD5 |
25de6a424589e9a021e31e17e37cbfcf
|
|
| BLAKE2b-256 |
bf4b28051e73496b1c97407a8e59211cc87fd463f8f5399a66073736bc5f8981
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28a545f6fd4cfa37d5a345b64b6d90b4a908bcc740140695561fb496e73d52be
|
|
| MD5 |
b7eafe69372a00805f67a374061bf264
|
|
| BLAKE2b-256 |
f14daa5b95b2ecbbe62e84355f8a54e00cd39fa7250ddde4ffcbe7eb5b5c7527
|