Skip to content

Grace-codes/discord-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord.js

This module let's you use discord.js in python by offering a similar syntax to the actual discord.js.

Installation

Stable version:

pip install discord.js

Working version:

pip install git+https://github.com/CodeWithSwastik/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')

About

The Python module for discord.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%