{"id":15042287,"url":"https://github.com/codewithswastik/discord-lib","last_synced_at":"2025-06-16T01:33:45.367Z","repository":{"id":48963016,"uuid":"381906341","full_name":"CodeWithSwastik/discord-lib","owner":"CodeWithSwastik","description":"discord-lib currently supports discord bots written in JSON, XML and yaml. ","archived":false,"fork":false,"pushed_at":"2021-07-04T12:02:47.000Z","size":95,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T08:51:15.204Z","etag":null,"topics":["discord"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-01T04:14:24.000Z","updated_at":"2023-03-26T02:57:15.000Z","dependencies_parsed_at":"2022-09-26T20:21:08.880Z","dependency_job_id":null,"html_url":"https://github.com/CodeWithSwastik/discord-lib","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSwastik%2Fdiscord-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSwastik%2Fdiscord-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSwastik%2Fdiscord-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithSwastik%2Fdiscord-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeWithSwastik","download_url":"https://codeload.github.com/CodeWithSwastik/discord-lib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248956113,"owners_count":21189298,"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":["discord"],"created_at":"2024-09-24T20:47:05.369Z","updated_at":"2025-04-14T20:33:06.052Z","avatar_url":"https://github.com/CodeWithSwastik.png","language":"Python","readme":"# discord-lib 0.0.6\r\n\r\ndiscord-lib currently supports discord bots written in JSON, XML and yaml. It will soon support toml, etc\r\n\r\n## Installation\r\n\r\n```\r\npip install git+https://github.com/CodeWithSwastik/discord-lib\r\n```\r\n\r\n## Usage\r\n\r\n### CLI\r\n\r\n```\r\npythom -m discordlib [filepath]\r\n```\r\n\r\n### Code\r\n\r\n```python\r\nfrom discordlib import Client\r\n\r\nclient = Client(\"filepath\")\r\nclient.run()\r\n```\r\n\r\nNote:\r\nYou can access the commands.Bot object by referencing `client.bot` and with it you can manipulate it however you want (add commands, listeners, anything that can be done with discord.py).\r\n\r\n## Current Limitations:\r\n\r\n- There is no way to extend the namespace outside a command\r\n- There is no way to use a database\r\n- Listeners don't work well\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithswastik%2Fdiscord-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithswastik%2Fdiscord-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithswastik%2Fdiscord-lib/lists"}