{"_id":"7945cord","_rev":"2-51db521c76c7413b5cfae62a6829dc58","name":"7945cord","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.1":{"name":"7945cord","version":"1.0.1","keywords":["discord"],"author":{"name":"sbusiedcake7945"},"license":"MIT","_id":"7945cord@1.0.1","maintainers":[{"name":"sbusiedcake7945","email":"mamananam665@gmail.com"}],"homepage":"https://github.com/sbusiedcake7945/7945cord#readme","bugs":{"url":"https://github.com/sbusiedcake7945/7945cord/issues"},"dist":{"shasum":"ac5951ddfaf92a5ee6d2a28ce2c3f66550bc1c1b","tarball":"https://registry.npmjs.org/7945cord/-/7945cord-1.0.1.tgz","fileCount":4,"integrity":"sha512-DhW268VGI4Zxl696czumShE4XbtnRsWl8lS9E2ohY205KIH88z++ITNle9oeoB6bUwc9zb/MsjomyAy4wMQ4KA==","signatures":[{"sig":"MEQCIEtKQA0iEIKSMJEjaBpGh38Qh85c24KXl98DFU2RJpvLAiB2wIQoAdQfSF25Iqu00yOIIx/X+ItSS6nx4UjOx+i0Ng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75682},"main":"7945cord.js","type":"commonjs","_npmUser":{"name":"sbusiedcake7945","email":"mamananam665@gmail.com"},"repository":{"url":"git+https://github.com/sbusiedcake7945/7945cord.git","type":"git"},"_npmVersion":"10.9.4","description":"A lightweight Discord library.","directories":{},"_nodeVersion":"22.22.0","dependencies":{"ws":"^8.16.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/7945cord_1.0.1_1777576588984_0.9842546598600599","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"7945cord","version":"1.1.1","description":"A lightweight Discord library.","main":"7945cord.js","keywords":["discord"],"dependencies":{"ws":"^8.16.0"},"repository":{"type":"git","url":"git+https://github.com/sbusiedcake7945/7945cord.git"},"license":"MIT","author":{"name":"sbusiedcake7945"},"type":"commonjs","_id":"7945cord@1.1.1","types":"./7945cord.d.ts","bugs":{"url":"https://github.com/sbusiedcake7945/7945cord/issues"},"homepage":"https://github.com/sbusiedcake7945/7945cord#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-mlXr782L9rTqLQGqTq76ClDkrIGvTRm/W7WZxvjpFwbU+/sk2Pa2VNvj/XNdvCcXlQW3RGVh41i/BOXzmfQYCA==","shasum":"9bfb4ef0d771c14f88c0f8eaa590fb7c4cb4159e","tarball":"https://registry.npmjs.org/7945cord/-/7945cord-1.1.1.tgz","fileCount":5,"unpackedSize":82843,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDZdV/Ckx0/vvtKX2eJBlOtBL3yfGki6zb05IAVVBjaWgIgQdVTh/HGjrl4Nd1ra9kvPSGscVDwt4oTZPmgSvrPPso="}]},"_npmUser":{"name":"sbusiedcake7945","email":"mamananam665@gmail.com"},"directories":{},"maintainers":[{"name":"sbusiedcake7945","email":"mamananam665@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/7945cord_1.1.1_1777716613133_0.8041222750234331"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-30T19:16:28.983Z","modified":"2026-05-02T10:10:13.462Z","1.0.1":"2026-04-30T19:16:29.172Z","1.1.1":"2026-05-02T10:10:13.302Z"},"bugs":{"url":"https://github.com/sbusiedcake7945/7945cord/issues"},"author":{"name":"sbusiedcake7945"},"license":"MIT","homepage":"https://github.com/sbusiedcake7945/7945cord#readme","keywords":["discord"],"repository":{"type":"git","url":"git+https://github.com/sbusiedcake7945/7945cord.git"},"description":"A lightweight Discord library.","maintainers":[{"name":"sbusiedcake7945","email":"mamananam665@gmail.com"}],"readme":"# 🚀 7945cord v4.0 - Advanced Documentation\n\n7945cord is a flexible, lightweight framework designed to give developers full control over their Discord bots.\n\n---\n\n## ⚡ Case Insensitivity\nAs of v4.0, all functions and commands are case-insensitive.\n- `%FUNC.PING()` == `%func.ping()`\n- `!HELP` == `!help`\n\n---\n\n## 💾 Extended Variable System\nAll data retrieval is now centralized under the `%get.` tag.\n\n### Data Retrieval (Getters)\nThe `%get.key` structure retrieves both context data (message, channel, server) and stored variables.\n\n**Reserved System Keys:**\n- `%get.msg`: Returns all arguments.\n- `%get.msg(n)`: Returns the n-th argument.\n- `%get.author`: Username of the sender.\n- `%get.authorid`: ID of the sender.\n- `%get.guildid` or `%get.serverid`: Server ID.\n- `%get.channelid`: Channel ID.\n- `%get.botid`: Bot's own ID.\n\n### Data Assignment (Setters)\n- `%set.var(key, value)`: Sets a variable in the current context (Server+User).\n- `%set.UserVar(key, value, userId, guildId)`: Sets data for a specific user in a server.\n- `%set.ServerVar(key, value, guildId)`: Sets server-wide data.\n- `%set.tempVar(key, value)`: Sets a session-only temporary variable.\n\n---\n\n## 🛠️ Extensibility\n\n### Custom Functions\n```javascript\nbot.function(\"add\", (ctx, args) => {\n    return (parseInt(args[0]) + parseInt(args[1])).toString();\n});\n```\n\n### Commands and Aliases\n```javascript\nbot.command({\n    name: \"help\",\n    aliases: [\"h\", \"info\"],\n    code: \"Help content...\"\n});\n```\n\n---\n*7945cord - \"Infrastructure for infrastructure, control is in your hands.\"*\n","readmeFilename":"README.md"}