{"id":23046545,"url":"https://github.com/agenthackeryt/discordaudiov13","last_synced_at":"2025-07-05T04:02:56.390Z","repository":{"id":57212764,"uuid":"407657377","full_name":"AgentHackerYT/discordaudiov13","owner":"AgentHackerYT","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-17T19:56:42.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T16:44:56.084Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/AgentHackerYT.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}},"created_at":"2021-09-17T19:27:28.000Z","updated_at":"2022-02-13T10:05:30.000Z","dependencies_parsed_at":"2022-09-12T11:32:18.483Z","dependency_job_id":null,"html_url":"https://github.com/AgentHackerYT/discordaudiov13","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/AgentHackerYT%2Fdiscordaudiov13","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentHackerYT%2Fdiscordaudiov13/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentHackerYT%2Fdiscordaudiov13/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentHackerYT%2Fdiscordaudiov13/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AgentHackerYT","download_url":"https://codeload.github.com/AgentHackerYT/discordaudiov13/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246927809,"owners_count":20856193,"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-12-15T22:28:15.268Z","updated_at":"2025-04-03T02:43:11.414Z","avatar_url":"https://github.com/AgentHackerYT.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discordaudiov13\n- A Audio Player Which Very Easy to use\n## Docs\n- Installing discordaudiov13\n```\nnpm install discordaudiov13\n```\n- Joining Voice Channels\n```js\nconst da = require('discordaudiov13')\nclient.on('messageCreate', async message =\u003e {\n    const msg = da.init(message , client).message\n\t// Join the same voice channel of the author of the message\n    if(message.content === \"join\"){\n\tif (message.member.voice.channel) {\n\t\tconst connection = msg.member.voice.channel.join();\n\t}\n    }\n});\n```\n- Playing Audio\n```js\nconst da = require('discordaudiov13')\nconst prefix = \"!\"\nclient.on('messageCreate', async message =\u003e {\n    \tif (!message.content.startsWith(prefix) || message.author.bot) return;\n\n\tconst args = message.content.slice(prefix.length).trim().split(' ');\n\tconst command = args.shift().toLowerCase();\n    const msg = da.init(message , client).message\n\t// Join the same voice channel of the author of the message\n    if(command === \"audio\"){\n        const connection = msg.member.voice.channel.join();\n        const options = {\n            inlineVolume: data,\n            inputType: data,\n            silencePaddingFrames: data,\n            metadata: data\n        }\n        connection.setSelfDeaf(true) // default false\n        const dispatcher = connection.play('URL/Path As in v12' , options/*Options in Beta and will be according to v13*/)\n         if(args[0] == \"pause\"){\n            dispatcher.pause()\n        }else if(args[0] == \"disconnect\"){\n            dispatcher.disconnect()\n        }else if(args[0] == \"resume\"){\n            dispatcher.resume()\n        }else if(args[0] == \"volume\"){\n            dispatcher.setVolume(args[1] || 0.25)\n        }\n    }\n});\n```\n- All Functions\n```js\nconst da = require('discordaudiov13')\nconst msg = da.init(message , client).message\nconst connection = message.member.voice.channel.join()\nconnection.setSelfDeaf(true) // default is false\nconnection.setSelfMute(true) // default is false\nconst dispatcher = connection.play(`URL/Path As in v12`)\ndispatcher.pause()\ndispatcher.resume()\ndispatcher.distroy()\ndispatcher.disconnect()\ndispatcher.rejoin()\ndispatcher.setVolume(SomeNumber)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagenthackeryt%2Fdiscordaudiov13","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagenthackeryt%2Fdiscordaudiov13","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagenthackeryt%2Fdiscordaudiov13/lists"}