The Python module for discord.js.
Project description
discord.js
This module let's you use discord.js in python by offering a similar syntax to the actual discord.js.
Simple bot
from discordjs import Client, console
client = Client()
client.on("ready", lambda:
console.log("Bot is ready")
)
async def msg(message):
if message.startswith("!ping"):
await message.channel.send("pong")
client.on("message", msg)
client.login('Token')
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.js-1.0.2.tar.gz
(1.7 kB
view details)
File details
Details for the file discord.js-1.0.2.tar.gz
.
File metadata
- Download URL: discord.js-1.0.2.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.10.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7161625a455d352bcf305e0446d4e0e5b9945655937b801a12efc810298068ca |
|
MD5 | 9255dd7152acfcb36d566ed5df443405 |
|
BLAKE2b-256 | f5e3a4b1f75dfcf3c89d339dda676a0051472378a2f8bff4a565d06f8e53a4a3 |