{"id":19068483,"url":"https://github.com/codewithswastik/discord-js","last_synced_at":"2026-02-26T09:14:13.267Z","repository":{"id":48534844,"uuid":"388003122","full_name":"CodeWithSwastik/discord-js","owner":"CodeWithSwastik","description":"The Python module for discord.js","archived":false,"fork":false,"pushed_at":"2023-08-10T23:51:26.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T01:04:24.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeWithSwastik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-21T05:24:10.000Z","updated_at":"2021-07-27T06:15:36.000Z","dependencies_parsed_at":"2024-06-19T00:19:50.797Z","dependency_job_id":"447adfef-ce67-45c2-affc-b615b355b128","html_url":"https://github.com/CodeWithSwastik/discord-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSwastik%2Fdiscord-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSwastik%2Fdiscord-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSwastik%2Fdiscord-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSwastik%2Fdiscord-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeWithSwastik","download_url":"https://codeload.github.com/CodeWithSwastik/discord-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251319608,"owners_count":21570430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T01:09:08.225Z","updated_at":"2026-02-26T09:14:08.248Z","avatar_url":"https://github.com/CodeWithSwastik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discord.js\r\n\r\nThis module lets you use discord.js in python by offering a similar syntax to the actual discord.js.\r\n\r\n## Installation\r\n\r\nStable version:\r\n\r\n```\r\npip install discord.js\r\n```\r\n\r\nWorking version:\r\n\r\n```\r\npip install git+https://github.com/CodeWithSwastik/discord-js\r\n```\r\n\r\n## Simple bot\r\n\r\n```python\r\nfrom discordjs import Client\r\nfrom javascript import console\r\n\r\nclient = Client()\r\n\r\nclient.on(\"ready\", lambda:\r\n    console.log(\"Bot is ready\")\r\n)\r\n\r\nasync def msg(message):\r\n    if message.content.startswith(\"!ping\"):\r\n        await message.channel.send(\"pong\")\r\n\r\nclient.on(\"message\", msg)\r\n\r\nclient.login('Token')\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithswastik%2Fdiscord-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithswastik%2Fdiscord-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithswastik%2Fdiscord-js/lists"}