{"_id":"@0ttooo/totoutils","name":"@0ttooo/totoutils","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@0ttooo/totoutils","version":"1.0.0","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"bun build src/index.ts --outdir=dist --target=bun && tsc","dev":"bun --watch src/index.ts","prepublishOnly":"bun run build"},"peerDependencies":{"discord.js":"^14.19.3"},"dependencies":{"@totoutilsv2/shared":"workspace:*","fast-glob":"^3.3.3"},"devDependencies":{"@types/bun":"^1.2.10","discord.js":"^14.19.3","typescript":"^5.7.2"},"repository":{"type":"git","url":"git+https://github.com/yourusername/totoutilsv2.git"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_id":"@0ttooo/totoutils@1.0.0","gitHead":"9bf0b841a264e751d4fccf5e397a4ac3b0c74221","description":"A professional Discord.js bot framework with class-based architecture.","bugs":{"url":"https://github.com/yourusername/totoutilsv2/issues"},"homepage":"https://github.com/yourusername/totoutilsv2#readme","_nodeVersion":"24.2.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-GXGBTJ/0uT7ewV5+QhsZe0hGA9eM9qx5Js9QSf2IxnO8hth+ub90o5FWHHTwofsIFt6KwYEidaB/EtMeGEBh7g==","shasum":"31505d4b1edf2d54d32b380f39dd150fc16b2708","tarball":"https://registry.npmjs.org/@0ttooo/totoutils/-/totoutils-1.0.0.tgz","fileCount":3,"unpackedSize":1519660,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEaWxPT8JJLLHmtUM1Ssx9ojGxq5MEPa/fg4bgpPFx0AAiEAjKfT/BFGxjmcq2DBY2iVngxlbizuz3VBOeBE3h3OjHY="}]},"_npmUser":{"name":"hmo0ody","email":"mego.mesbahi@gmail.com","actor":{"name":"hmo0ody","email":"mego.mesbahi@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"hmo0ody","email":"mego.mesbahi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/totoutils_1.0.0_1751678710192_0.8786652404834927"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-05T01:25:10.126Z","1.0.0":"2025-07-05T01:25:10.428Z","modified":"2025-07-05T01:25:10.730Z"},"maintainers":[{"name":"hmo0ody","email":"mego.mesbahi@gmail.com"}],"description":"A professional Discord.js bot framework with class-based architecture.","homepage":"https://github.com/yourusername/totoutilsv2#readme","repository":{"type":"git","url":"git+https://github.com/yourusername/totoutilsv2.git"},"bugs":{"url":"https://github.com/yourusername/totoutilsv2/issues"},"readme":"# @0ttooo/totoutils\r\n\r\nA professional Discord.js bot framework with class-based architecture.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @0ttooo/totoutils\r\n```\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { Bot, Command, Event } from '@0ttooo/totoutils';\r\n\r\n// Create a bot instance\r\nconst bot = new Bot({\r\n  intents: [...],\r\n  prefix: '!',\r\n  paths: {\r\n    commands: './commands',\r\n    events: './events',\r\n    responders: './responders'\r\n  }\r\n});\r\n\r\n// Create a command\r\nexport default class PingCommand extends Command {\r\n  constructor() {\r\n    super({\r\n      name: 'ping',\r\n      description: 'Ping command',\r\n      category: 'general'\r\n    });\r\n  }\r\n  \r\n  async run(ctx) {\r\n    await ctx.reply.success('Pong!');\r\n  }\r\n}\r\n\r\n// Start the bot\r\nbot.init(process.env.TOKEN);\r\n```\r\n\r\n## Features\r\n\r\n- Class-based command and event system\r\n- Built-in reply system with color-coded responses\r\n- Automatic command and event loading\r\n- TypeScript support\r\n- Context-aware command execution\r\n- Permission handling\r\n- Cooldown system","readmeFilename":"README.md","_rev":"1-42200001bf17553e6d8a42851fd7a8e2"}