{"id":14983492,"url":"https://github.com/foxcord/foxcord","last_synced_at":"2025-10-29T22:30:43.585Z","repository":{"id":42551213,"uuid":"382267549","full_name":"Foxcord/foxcord","owner":"Foxcord","description":"A modern and simple way to interact with the Discord API !","archived":false,"fork":false,"pushed_at":"2022-03-31T21:16:31.000Z","size":291,"stargazers_count":44,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-24T12:02:51.954Z","etag":null,"topics":["bot","discord","discord-api","discord-bot","discord-js","foxcord","javascript","nodejs","npm","typescript"],"latest_commit_sha":null,"homepage":"https://foxcord.xyz/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Foxcord.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"https://foxcord.xyz","patreon":"foxcord"}},"created_at":"2021-07-02T07:32:50.000Z","updated_at":"2024-03-23T18:25:44.000Z","dependencies_parsed_at":"2022-09-07T23:12:59.910Z","dependency_job_id":null,"html_url":"https://github.com/Foxcord/foxcord","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcord%2Ffoxcord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcord%2Ffoxcord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcord%2Ffoxcord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcord%2Ffoxcord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Foxcord","download_url":"https://codeload.github.com/Foxcord/foxcord/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867875,"owners_count":16554375,"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","foxcord","javascript","nodejs","npm","typescript"],"created_at":"2024-09-24T14:07:17.270Z","updated_at":"2025-10-29T22:30:43.286Z","avatar_url":"https://github.com/Foxcord.png","language":"TypeScript","funding_links":["https://foxcord.xyz","https://patreon.com/foxcord"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\r\n    \u003cimg src=\"https://media.discordapp.net/attachments/774598287712845864/867789487664005140/foxcord-text.png\" alt=\"Foxcord logo\" width=\"80%\" height=\"80%\"\u003e\u003c/img\u003e\r\n        \u003cbr\u003e\r\n    \u003ca href=\"https://www.npmjs.com/package/foxcord\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/foxcord.svg?maxAge=3600\" alt=\"NPM downloads\" /\u003e\u003c/a\u003e\r\n        \u003cbr\u003e\r\n    \u003cimg src=\"https://forthebadge.com/images/badges/made-with-typescript.svg\" alt=\"Made with Typescript\"\u003e\u003c/img\u003e\r\n        \u003cbr\u003e\r\n        \u003cbr\u003e\r\n    \u003cfont\u003e\u003cstrong\u003eFoxcord is a modern and simple way to interact with the Discord API !\u003c/strong\u003e\u003c/font\u003e\r\n\u003c/p\u003e\r\n\u003cbr\u003e\r\n\r\n\r\n# 🔑 Features\r\n- Easy to use\r\n- Latest Discord API version and latest additions \r\n- Discord support\r\n- Lightweight\r\n\r\n\r\n# 🪓 Installation\r\n\r\n**Node.Js v12.0.0 is required at least**\r\n\r\n```\r\n$ npm install foxcord\r\n$ yarn add foxcord\r\n```\r\n\r\n\r\n# 💾 Code example\r\n\r\n- Basic code example\r\n```js\r\nconst { Client } = require('foxcord');\r\n\r\nconst client = new Client({\r\n    device: 'MOBILE',\r\n    intents: ['ALL'],\r\n    reconnect: true\r\n});\r\n\r\nclient.on('READY', () =\u003e {\r\n    client.setGame('powered by Foxcord');\r\n    console.log(client.user.tag + ' is online!');\r\n})\r\n\r\nclient.on('MESSAGE', (message) =\u003e {\r\n    if(message.author.bot) return;\r\n    if(message.content === 'ping') return message.channel.send('🏓 Pong, my ping is ' + client.ping + 'ms!');\r\n})\r\n\r\nclient.connect('TOKEN');\r\n```\r\n\r\n- Registering slash command\r\n```js\r\nconst { SlashCommandBuilder, SlashCommandsManager } = require('foxcord');\r\n\r\nconst slashCommandsManager = new SlashCommandsManager('CLIENT_ID', 'CLIENT_TOKEN');\r\n\r\nconst coolSlashCommand = new SlashCommandBuilder()\r\n    .setName('cool-command')\r\n    .setDescription('My cool command description');\r\n\r\nslashCommandsManager.pushCommand(coolSlashCommand, {\r\n    guildID: 'GUILD_ID' // Optional\r\n});\r\n```\r\n\r\n- Client using slash commands\r\n```js\r\nconst { Client } = require('foxcord');\r\n\r\nconst client = new Client();\r\n\r\nclient.on('SLASH_COMMAND_USED', (slashCommand) =\u003e {\r\n    slashCommand.reply(slashCommand.member.tag + ' used ' + slashCommand.name, {\r\n        ephemeral: false // Optional, false by default\r\n    });\r\n});\r\n\r\nclient.connect('TOKEN');\r\n```\r\n\r\n\u003c/p\u003e\r\n\r\n# 🔗 Links\r\n\r\n- [Github](https://github.com/Foxcord/foxcord)\r\n- [NPM](https://www.npmjs.com/package/foxcord)\r\n- [Website](https://foxcord.xyz/)\r\n- [Discord server](https://discord.gg/sTahUmwTsr)\r\n\r\n**The documentation is coming very soon, In order to have more information about Foxcord, you can join the [Discord server](https://discord.gg/sTahUmwTsr) !**\r\n\r\n# 🔧 Contributing\r\n\r\nBefore creating an issue, be sure that it has not already been deferred and try to come up with a simple approach to the issue so that deferral is accessible to all.\r\n\r\nIn order to submit a PR, make sure you have read the [contribution guide](https://github.com/Foxcord/foxcord/blob/main/.github/CONTRIBUTING.md)\r\n\r\n\r\n# 🚀 Other\r\n\r\n*Note: The project is in alpha version and still under development, so it is perfectly normal that you have many errors, we advise you to wait for a stable version before using it for your bot.*\r\n\r\n**This project is under `Apache-2.0` license**\r\n\r\n*Note: This package is not affiliated with Discord Inc*\r\n\r\n[![Discord invite link](https://media.discordapp.net/attachments/774598287712845864/870975617003315230/2021-07-31_12h26_02.png)](https://discord.gg/sTahUmwTsr)\r\n\r\n**You can join the Foxcord official Discord server using [this link](https://discord.gg/sTahUmwTsr)**\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxcord%2Ffoxcord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxcord%2Ffoxcord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxcord%2Ffoxcord/lists"}