{"id":15287509,"url":"https://github.com/shysolocup/willclient","last_synced_at":"2025-04-13T05:33:03.434Z","repository":{"id":65938222,"uuid":"593906966","full_name":"shysolocup/willclient","owner":"shysolocup","description":"Custom Discord API mod made in Node.JS that combines elements from Discord.PY and Discord.JS","archived":false,"fork":false,"pushed_at":"2023-09-22T02:54:39.000Z","size":886,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-30T03:22:28.408Z","etag":null,"topics":["bot","discord","discord-api","discord-bot","discord-js","discord-js-v14","discordjs","discordjs-v14","javascript","js","nodejs","package","stews","voice-support","willclient"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/willclient","language":"JavaScript","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/shysolocup.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,"governance":null}},"created_at":"2023-01-27T05:32:50.000Z","updated_at":"2024-01-17T12:29:03.000Z","dependencies_parsed_at":"2023-02-21T01:45:32.472Z","dependency_job_id":"e15df7c1-0188-4148-b50c-a00dbe5e76f9","html_url":"https://github.com/shysolocup/willclient","commit_stats":null,"previous_names":["paigeroid/psc","nuttmegg/discordpps","paigeroid/willclient","paishee/willclient","shysolocup/willclient"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shysolocup%2Fwillclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shysolocup%2Fwillclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shysolocup%2Fwillclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shysolocup%2Fwillclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shysolocup","download_url":"https://codeload.github.com/shysolocup/willclient/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670513,"owners_count":21142896,"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":["bot","discord","discord-api","discord-bot","discord-js","discord-js-v14","discordjs","discordjs-v14","javascript","js","nodejs","package","stews","voice-support","willclient"],"created_at":"2024-09-30T15:29:52.056Z","updated_at":"2025-04-13T05:33:03.402Z","avatar_url":"https://github.com/shysolocup.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n\n\u003cdiv align=\"center\" text-align=\"center\"\u003e\n\t\u003cbr /\u003e\n\t\u003cimg src=\"https://github.com/paigeroid/willclient/blob/main/assets/willclient-logo.png\"\u003e\n\t\u003cbr /\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/willclient\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/willclient?style=flat\u0026color=red\u0026logo=npm\u0026logoColor=white\" alt=\"version\" /\u003e\n\t\u003ca href=\"https://www.npmjs.com/package/willclient\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/willclient?style=flat\u0026color=green\u0026logo=docusign\u0026logoColor=white\" alt=\"downloads\" /\u003e\n\t\u003ca href=\"https://discord.js.org/\"\u003e\u003cimg src=\"https://img.shields.io/badge/discord.js-v14.13.0-blue?style=flat\u0026color=7289da\u0026logo=discord\u0026logoColor=white\" alt=\"discord.js version\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/paigeroid/willclient/discussions\"\u003e\u003cimg src=\"https://img.shields.io/github/discussions/paigeroid/willclient?logo=google%20chat\u0026logoColor=white\" alt=\"discussions\" /\u003e\n\t\u003ca href=\"https://github.com/paigeroid/willclient/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/paigeroid/willclient\" alt=\"issues\" /\u003e\n \t\u003ca href=\"https://npmjs.com/package/stews\"\u003e\u003cimg src=\"https://custom-icon-badges.demolab.com/badge/Stews-v1.7.1-orange.svg?logo=stew\u0026logoColor=white\" alt=\"stews\"\u003e\u003c/a\u003e\n  \t\u003cimg src=\"https://github.com/paigeroid/willclient/actions/workflows/publish-shit.yml/badge.svg\" alt=\"stews\"\u003e\n\t\n\nWillClient (WC) is a custom Discord API mod that combines elements from [Discord.JS](https://discord.js.org/) and [Discord.PY](https://github.com/Rapptz/discord.py) made in [Node.JS](https://nodejs.org/en/) to solve most of the annoying parts of Discord.JS and possibly welcome users into Node.JS\n\n\u003cbr\u003e\n\n*__THIS IS A VERY EARLY VERSION AND I WILL UPDATE IT OVER TIME__*\u003cbr\u003e\u003cbr\u003e\n\nfor a look at some examples check out the [examples folder](https://github.com/paigeroid/willclient/tree/main/examples)\u003cbr\u003e\nfor a full look at everything go check out the [wiki pages](https://github.com/paigeroid/willclient/wiki)\n\n\u003c/div\u003e\n\n\u003cbr\u003e\u003cbr\u003e\n\n---\n\n\u003cbr\u003e\n\t\t\n## Usage\nWillClient simplifies prefix commands and is heavily inspried by the design and functionality of Discord.PY while still being made with Discord.JS\n```js\n// willclient\nwc.command( \"ping\", async (ctx) =\u003e {\n\tawait ctx.reply(\"Pong!\");\t\t\n});\n```\n```py\n# discord.py\n@bot.command()\nasync def ping(ctx):\n\tawait ctx.reply(\"Pong!\")\n```\nIt also has aliases for commands\n```js\n// works with avatar or av\nwc.command( {name: \"avatar\", aliases: [\"av\"]}, (ctx) =\u003e {\n\tctx.reply(wc.author.avatar());\t\n});\n```\nIt has built in arguments or parameters whatever you prefer to call them that you can use\n```js\n// tagify \u003c@id\u003e or id\nwc.command( \"tagify\", (ctx, cmd) =\u003e {\n\tlet user = await wc.fetchUser(cmd.args[0]);\n\t\n\tctx.reply(user.tag);\n});\n```\nAnd built in cooldowns\n```js\nwc.command( {name: \"ping\", cooldown: \"30s\"}, (ctx, cmd) =\u003e {\n\tif (cmd.onCooldown) return wc.reply(\"Command is on cooldown!\", {deleteAfter: \"3s\"});\n\t\n\tctx.reply(\"Pong!\");\n});\n```\n\t\t\n\u003cbr\u003e\n\n## Installation\n```console\nnpm i willclient\n```\n```console\nnpm i paigeroid/willclient\n```\n\n\u003cbr\u003e\n\n## Setting Up\n### **Discord.JS Client**\nWC is built off of Discord.JS so for it to work you need Discord.JS.\n```js\nconst { Client } = require('discord.js');\nconst client = new Client({\n\t// your stuff here\n});\n```\n### **WC Client**\nonce you have your Discord.JS client you can add in WC\n```js\nconst { WillClient } = require('willclient');\nconst wc = new WillClient({\n\tclient: client,\n\tprefix: \"!\",\n\ttoken: token\n});\n```\nonce you have your client set up and working you can run it using either of these:\n```js\nclient.login(token); // normal discord.js\n\nwc.run(token); // optional alternative\n```\n\u003cbr\u003e\n\n## Disclaimer\nThis mod is not associated with the creators of [Discord](https://discord.com), [Discord.JS](https://discord.js.org), or [Discord.PY](https://github.com/Rapptz/discord.py) this was created out of love for Discord bot development because I wanted to make things easier for people. I do not condone harassment of the original developers and or anyone else involved in the creation of them.\u003cbr\u003e\u003cbr\u003e\nI am not responsible for anything made with this mod and be sure to follow [Discord's terms of service](https://discord.com/terms) and their [community guildlines](https://discord.com/guidelines) while developing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshysolocup%2Fwillclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshysolocup%2Fwillclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshysolocup%2Fwillclient/lists"}