{"_id":"kakashi-self-handler","_rev":"33-10cc7912ad0d5a49582cb6e7b7d98001","name":"kakashi-self-handler","dist-tags":{"latest":"0.0.0-beta.0"},"versions":{"0.0.1":{"name":"kakashi-self-handler","version":"0.0.1","description":"package handler for kakashi bot","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/kakashidracq/kakashi-self-handler.git"},"keywords":["discord.js","discord","kakashi-handler"],"author":{"name":"KAKASHI#3709"},"homepage":"https://github.com/kakashidracq/kakashi-self-handler#readme","dependencies":{"chalk":"^4.1.2","discord.js":"^14.6.0","mongoose":"^6.7.3","path":"^0.12.7"},"gitHead":"954594165afcee773599713437bcaa48422ede6d","bugs":{"url":"https://github.com/kakashidracq/kakashi-self-handler/issues"},"_id":"kakashi-self-handler@0.0.1","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-uzWYzDetqNwsYJxHG2Npac98PedabZwvuN2xZCoSL98VKkZNWlnJPTqmqL0mihqrBGtTQGvGo8ebe1E1dlGZig==","shasum":"e5a7cc85ba2290f08f46595ae32ab5c9477b267e","tarball":"https://registry.npmjs.org/kakashi-self-handler/-/kakashi-self-handler-0.0.1.tgz","fileCount":12,"unpackedSize":20249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQvfooMpxHYL686ofwbryyfRYR1EkcUNkT0ZPyp2hxnQIgKSS3W7s0a/g1IpJkblsQCRvtCzKuIUzSwNx8Fwq+6Aw="}]},"_npmUser":{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"},"directories":{},"maintainers":[{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kakashi-self-handler_0.0.1_1689678273529_0.40076988475932085"},"_hasShrinkwrap":false,"deprecated":"message command interaction error fixed"},"0.0.0-1":{"name":"kakashi-self-handler","version":"0.0.0-1","description":"package handler for kakashi bot","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/kakashidracq/kakashi-self-handler.git"},"keywords":["discord.js","discord","kakashi-handler"],"author":{"name":"KAKASHI#3709"},"homepage":"https://github.com/kakashidracq/kakashi-self-handler#readme","dependencies":{"chalk":"^4.1.2","discord.js":"^14.6.0","mongoose":"^6.7.3","path":"^0.12.7"},"gitHead":"954594165afcee773599713437bcaa48422ede6d","bugs":{"url":"https://github.com/kakashidracq/kakashi-self-handler/issues"},"_id":"kakashi-self-handler@0.0.0-1","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-GKbdydNx7omnRlFZsoyt9GhDrhUGX4HNeSkfi4HIKf2+XuYYnjlJ6wRjCEePqx63dAyW/SQUpgFoOUKqFgFXmQ==","shasum":"d51a81eaca01adadce5d57e3ace5f267124fe6f9","tarball":"https://registry.npmjs.org/kakashi-self-handler/-/kakashi-self-handler-0.0.0-1.tgz","fileCount":12,"unpackedSize":20193,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGQhUA5USTRp7wyHDlYGO2Op23g3Vt+y+MIWnYbtOLpAIgLYAMfG6Xpuz4s/BNM9EAoDevY5D4/scny0NihaEMILQ="}]},"_npmUser":{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"},"directories":{},"maintainers":[{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kakashi-self-handler_0.0.0-1_1689679829691_0.5645226798969056"},"_hasShrinkwrap":false},"0.0.1-3":{"name":"kakashi-self-handler","version":"0.0.1-3","description":"package handler for kakashi bot","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/kakashidracq/kakashi-self-handler.git"},"keywords":["discord.js","discord","kakashi-handler"],"author":{"name":"KAKASHI#3709"},"homepage":"https://github.com/kakashidracq/kakashi-self-handler#readme","dependencies":{"chalk":"^4.1.2","discord.js":"^14.6.0","mongoose":"^6.7.3","path":"^0.12.7"},"gitHead":"954594165afcee773599713437bcaa48422ede6d","bugs":{"url":"https://github.com/kakashidracq/kakashi-self-handler/issues"},"_id":"kakashi-self-handler@0.0.1-3","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-tBnQuB9ZamP47qXV+r10GkY7E7mFrUiCXQ0jmvh6p3T+9CzE6EbIZNu/QB5x/PqfUWFlZB+maaeIANbWNCQ7iQ==","shasum":"200a8666f34d321452557b20ca6f2df93233b1e5","tarball":"https://registry.npmjs.org/kakashi-self-handler/-/kakashi-self-handler-0.0.1-3.tgz","fileCount":12,"unpackedSize":20328,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEjGQexiO0BYhnGdMa9pwgXYlBiTIIY80PHFldMhcXHXAiB+ssCK0hMVW1/h9/8M3u4b4zUrt7mrz7VHRJPTdSvGdw=="}]},"_npmUser":{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"},"directories":{},"maintainers":[{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kakashi-self-handler_0.0.1-3_1689682020384_0.6910791355910251"},"_hasShrinkwrap":false},"0.0.1-4":{"name":"kakashi-self-handler","version":"0.0.1-4","description":"package handler for kakashi bot","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/kakashidracq/kakashi-self-handler.git"},"keywords":["discord.js","discord","kakashi-handler"],"author":{"name":"KAKASHI#3709"},"homepage":"https://github.com/kakashidracq/kakashi-self-handler#readme","dependencies":{"chalk":"^4.1.2","discord.js":"^14.6.0","mongoose":"^6.7.3","path":"^0.12.7"},"gitHead":"954594165afcee773599713437bcaa48422ede6d","bugs":{"url":"https://github.com/kakashidracq/kakashi-self-handler/issues"},"_id":"kakashi-self-handler@0.0.1-4","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-FGv1xDex4qp+O/FNiMI+eC8o5ySlBwCE8WilWB7jeOJ9ho6jJYfR0Hj9CbnWc+v51b9DMdtzpvG7qsZqoLAh1Q==","shasum":"3a9808241de9aa6a6ed1e895fc0e8e693cda2181","tarball":"https://registry.npmjs.org/kakashi-self-handler/-/kakashi-self-handler-0.0.1-4.tgz","fileCount":12,"unpackedSize":20332,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGExYc7vYkM/nlW1lRQjlRvb84UPtCNxMbYk5NjSs8T7AiBZL/j3JnFxkF+BKhyjS6HaPsTsyqiK9WGkCQUl0q1QsQ=="}]},"_npmUser":{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"},"directories":{},"maintainers":[{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kakashi-self-handler_0.0.1-4_1689682324702_0.3018494382798973"},"_hasShrinkwrap":false,"deprecated":"New"},"1.0.1":{"name":"kakashi-self-handler","version":"1.0.1","description":"package handler for discord bot","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["discord.js","discord v14","discord handler","discord version 14"],"author":{"name":"KAKASHI#3709"},"dependencies":{"chalk":"^4.1.2","discord.js":"^14.6.0","mongoose":"^6.7.3","path":"^0.12.7"},"_id":"kakashi-self-handler@1.0.1","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-PzvUNUkTG3etXmpa1VsoWV3WKqmt3GfwAYgwDp4i8Ka/5ZyiMl1i2f1hFeN24iidkVf6Rd/kywnDWSEIP1DtfA==","shasum":"535d6f12958d2cb1cc01f2b93f17531ee3c7ce3f","tarball":"https://registry.npmjs.org/kakashi-self-handler/-/kakashi-self-handler-1.0.1.tgz","fileCount":11,"unpackedSize":22116,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUtu3I0FCqCMbuD9+Gy+sbrL7/T+dupNduCiKQ7c/WaQIgArUED1u9FXhQkd/3hKkkI+Ygl3NOEqGhLdY57RWk/UQ="}]},"_npmUser":{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"},"directories":{},"maintainers":[{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kakashi-self-handler_1.0.1_1696427351732_0.3074998873149193"},"_hasShrinkwrap":false},"1.0.2":{"name":"kakashi-self-handler","version":"1.0.2","description":"package handler for discord bot","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["discord.js","discord v14","discord handler","discord version 14"],"author":{"name":"KAKASHI#3709"},"dependencies":{"chalk":"^4.1.2","discord.js":"^14.6.0","kakashi-self-handler":"^1.0.1","mongoose":"^6.7.3","path":"^0.12.7"},"_id":"kakashi-self-handler@1.0.2","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-YQt31s1Cmi3pxZxxObHbRSxb2nQEEPSqGMvgCs9fNCl5UfwUOsVKHAApdxy+0E4t75lc5Y4Dknd80jPb2hiyug==","shasum":"97856e997ced629fa63a5b94a096d1d458918944","tarball":"https://registry.npmjs.org/kakashi-self-handler/-/kakashi-self-handler-1.0.2.tgz","fileCount":11,"unpackedSize":22218,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEy4kptppdS3+VGs82TnyIAqVNaK2Ba2ewwV75fjAyKSAiEAinj9uL0jB0vyLzT/XF+BI77X8rMPP7oa7z2vOrylTkk="}]},"_npmUser":{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"},"directories":{},"maintainers":[{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kakashi-self-handler_1.0.2_1696427653625_0.38533957074241565"},"_hasShrinkwrap":false},"1.0.3":{"name":"kakashi-self-handler","version":"1.0.3","description":"package handler for discord bot","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["discord.js","discord v14","discord handler","discord version 14"],"author":{"name":"KAKASHI#3709"},"dependencies":{"chalk":"^4.1.2","discord.js":"^14.6.0","kakashi-self-handler":"^1.0.1","mongoose":"^6.7.3","path":"^0.12.7"},"_id":"kakashi-self-handler@1.0.3","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-+E/1uYLu1OzfJFTBsPjXrv4ckjAUMdvu6/95KMRlIRPmODAaJtrH2KGfEScvlJnTBlOo+kM0pv+2n6j/x0fSeg==","shasum":"909eaed50de54711fe413ffeac6ba02f725a162d","tarball":"https://registry.npmjs.org/kakashi-self-handler/-/kakashi-self-handler-1.0.3.tgz","fileCount":11,"unpackedSize":22204,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAR52veNvXRJaJPtB0xem7CaSrTwLIvJlskFirfRAzKdAiEAjMjbo2arNwkHeyO8EJUP9AVIc+4OUqCitLnvJHI2/cA="}]},"_npmUser":{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"},"directories":{},"maintainers":[{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kakashi-self-handler_1.0.3_1696427962685_0.9354620605480439"},"_hasShrinkwrap":false},"1.1.0":{"name":"kakashi-self-handler","version":"1.1.0","description":"package handler for discord bot","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["discord.js","discord v14","discord handler","discord version 14"],"author":{"name":"KAKASHI#3709"},"dependencies":{"chalk":"^4.1.2","discord.js":"^14.6.0","kakashi-self-handler":"^1.0.1","mongoose":"^6.7.3","path":"^0.12.7"},"_id":"kakashi-self-handler@1.1.0","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-lVoxMtp47bQWrtcu79sz3BiDaYbAzs7OB6pU3v5JSEHrou42tE3u/IuKsoFTnyMiabFE95Or8SA05oAdmGoeQA==","shasum":"b1024bdcafef4d7e129e3c58a7e6201b07270f9a","tarball":"https://registry.npmjs.org/kakashi-self-handler/-/kakashi-self-handler-1.1.0.tgz","fileCount":11,"unpackedSize":22073,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx+1i06wqNFnL7wBQtTaSmH9w16JsqxiRh0eY3Vny0jgIhAKCohjOXE3HjSho1rQK6s3vx/b2E3J++B+HCTK0yJkSb"}]},"_npmUser":{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"},"directories":{},"maintainers":[{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kakashi-self-handler_1.1.0_1696429675884_0.9244362941459374"},"_hasShrinkwrap":false},"2.0.0":{"name":"kakashi-self-handler","version":"2.0.0","description":"package handler for kakashi bot","main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/kakashidracq/kakashi-self-handler.git"},"keywords":["discord.js","discord","kakashi-handler"],"author":{"name":"KAKASHI#3709"},"homepage":"https://github.com/kakashidracq/kakashi-self-handler#readme","dependencies":{"chalk":"^4.1.2","discord.js":"^14.6.0","mongoose":"^6.7.3","path":"^0.12.7"},"_id":"kakashi-self-handler@2.0.0","gitHead":"954594165afcee773599713437bcaa48422ede6d","bugs":{"url":"https://github.com/kakashidracq/kakashi-self-handler/issues"},"_nodeVersion":"20.5.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-jYkksp3ICih7Q/9mIw2xRFYtPU5OnoXrqQkjWar3tZWNhY82xA82rFJKNz3lmDvtWrYIhGt44whwyZqwtJWVBw==","shasum":"3e35f92875d78225aeb31f0be1485b532682a98b","tarball":"https://registry.npmjs.org/kakashi-self-handler/-/kakashi-self-handler-2.0.0.tgz","fileCount":12,"unpackedSize":20330,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZRjjQ93FFbKUOuBjCewqNgbdf0LiVD3pfFdycu1hozAIgfQILDhSTNIIpOyYijHgt5pXx7bM6yvUnS7U7J733f0k="}]},"_npmUser":{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"},"directories":{},"maintainers":[{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kakashi-self-handler_2.0.0_1705420020650_0.10829900615127408"},"_hasShrinkwrap":false},"2.1.1":{"name":"kakashi-self-handler","version":"2.1.1","description":"package handler for discord bot","main":"src/index.js","keywords":["discord.js","discord v14","discord handler","discord version 14","discord button handler","discord cooldown","discord vote only","topgg"],"repository":{"type":"git","url":"git+https://github.com/kakashidracq/kakashi-self-handler.git"},"bugs":{"url":"https://github.com/kakashidracq/kakashi-self-handler/issues"},"homepage":"https://github.com/kakashidracq/kakashi-self-handler#readme","author":{"name":"kakashidracq"},"dependencies":{"chalk":"^4.1.2","discord.js":"^14.6.0","mongoose":"^6.7.3","path":"^0.12.7","topgg-votes":"^2.2.1"},"_id":"kakashi-self-handler@2.1.1","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-AQz46zhbaofw35Kqakx6dPQ0C2qfbuPFy2+usM2h48KLqOVqyOWI98cmv5PYkhnLlbMQxPjpI+XMJWsBhAqB8Q==","shasum":"285f88c20f5f9c2c0346d97e5b6e300f4b5a43f7","tarball":"https://registry.npmjs.org/kakashi-self-handler/-/kakashi-self-handler-2.1.1.tgz","fileCount":12,"unpackedSize":29913,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQx2Difi0VfO/eg+QEEVgCGLZ9eboDoI43pnbbIHEhgQIgLBlH4OIlUPEL4rE4gaL1N9DpBgQqK6F1X1ydIsnH6GI="}]},"_npmUser":{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"},"directories":{},"maintainers":[{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kakashi-self-handler_2.1.1_1713628673458_0.17619028845268714"},"_hasShrinkwrap":false},"0.0.0-beta.0":{"name":"kakashi-self-handler","version":"0.0.0-beta.0","description":"package handler for discord bot","main":"index.js","types":"index.d.ts","keywords":["discord.js","discord v14","discord handler","discord version 14","discord button handler","discord cooldown","discord vote only","topgg"],"repository":{"type":"git","url":"git+https://github.com/kakashidracq/kakashi-self-handler.git"},"bugs":{"url":"https://github.com/kakashidracq/kakashi-self-handler/issues"},"homepage":"https://github.com/kakashidracq/kakashi-self-handler#readme","author":{"name":"kakashidracq"},"dependencies":{"chalk":"^4.1.2","discord.js":"^14.6.0","mongoose":"^6.7.3","path":"^0.12.7","topgg-votes":"^2.2.1"},"_id":"kakashi-self-handler@0.0.0-beta.0","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-9K2VeqYvWuatEU45JwJDaEhaXpe71EIqWPpSRHkAcUEt5in0137uogZeuOwcN7qCENnSIQ8YVHKoH8UYXUr4Bg==","shasum":"b1d11bc9159c89c6ed5be714dabfc22c21155f23","tarball":"https://registry.npmjs.org/kakashi-self-handler/-/kakashi-self-handler-0.0.0-beta.0.tgz","fileCount":12,"unpackedSize":48190,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBVDW2sEwpSQu/arY+LA/rM/0GwghEg2Zd8FMmUZZveQAiA/QPpeEzSakn+2nwfadp+iAwo2ozbjnZK4wTodIHccgA=="}]},"_npmUser":{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"},"directories":{},"maintainers":[{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kakashi-self-handler_0.0.0-beta.0_1714303587823_0.1390381406123744"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-18T10:37:26.059Z","0.0.0-beta":"2023-07-18T10:37:26.264Z","modified":"2024-04-28T11:26:28.243Z","0.0.1":"2023-07-18T11:04:33.758Z","0.0.0":"2023-07-18T11:14:20.970Z","0.0.1-1":"2023-07-18T11:24:01.366Z","0.0.0-1":"2023-07-18T11:30:29.826Z","0.0.1-2":"2023-07-18T12:03:03.503Z","0.0.1-3":"2023-07-18T12:07:00.543Z","0.0.1-4":"2023-07-18T12:12:04.892Z","1.0.0":"2023-10-04T13:43:45.618Z","1.0.1":"2023-10-04T13:49:12.019Z","1.0.2":"2023-10-04T13:54:13.773Z","1.0.3":"2023-10-04T13:59:22.856Z","1.1.0":"2023-10-04T14:27:56.126Z","2.0.0":"2024-01-16T15:47:00.853Z","1.1.1":"2024-04-20T15:36:23.143Z","2.1.0":"2024-04-20T15:43:43.019Z","2.1.1":"2024-04-20T15:57:53.584Z","2.1.2-beta.0":"2024-04-28T11:01:54.820Z","2.2.0-beta.0":"2024-04-28T11:05:56.260Z","2.2.0-beta.1":"2024-04-28T11:11:11.930Z","0.0.0-beta.0":"2024-04-28T11:26:28.043Z"},"maintainers":[{"name":"kakashi-dracq","email":"legendgamer988@gmail.com"}],"description":"package handler for discord bot","keywords":["discord.js","discord v14","discord handler","discord version 14","discord button handler","discord cooldown","discord vote only","topgg"],"author":{"name":"kakashidracq"},"readme":"# KAKASHI SELF HANDLER\r\n\r\n## Dev info\r\n\r\n**Mongo:** Removed\r\n\r\n**Bug Found?** Please contact us or issue on github you can also provide suggestions\r\n\r\n\r\n## Installation\r\n```bash\r\n  npm install kakashi-self-handler\r\n```\r\n    \r\n## Documentation\r\n\r\n- Index.js\r\n```js\r\nconst { Client, Partials, GatewayIntentBits } = require(\"discord.js\");\r\n\r\n/// Requiring the handler\r\nconst {Kakashi} = require('kakashi-self-handler');\r\n\r\n/// creating the client\r\nconst client = new Client(\r\n  {\r\n    intents: [GatewayIntentBits.Guilds,GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildMembers],\r\n    partials: [Partials.Channel, Partials.Message, Partials.User, Partials.GuildMember, Partials.Reaction],\r\n    allowedMentions: {\r\n      parse: ['users']\r\n    },\r\n  }\r\n);\r\n\r\nconst clientID = client.user.id;\r\n/// Using the Handlers\r\n\r\nclient.kakashi = Kakashi.Create(client, {\r\n  vote: {\r\n    url: 'https://top.gg/bot/760923630212874251/vote', // your bot vote url\r\n    webhook: {\r\n      token: 'topggwebtoken', // your topgg token\r\n      path: '/dblwebhook', // web path\r\n      port: 8081, // web port\r\n      auth: 'kakashi-self-handler' // web auth\r\n    },\r\n    // vote embed is for customizing vote embed message which will be sent when user is required to vote before using command\r\n    embed: {\r\n      enabled: true, // To use embed or not\r\n      message: 'Hey please vote first', // your custom vote message to send this will overwrite emoji you should use emoji inside message if you want\r\n      emoji: '<:emoji_24:959075020217405550>', //custom emoji for default embed message\r\n      footer: false, //whether to send footer\r\n    },\r\n    // vote button is for customizing vote button emoji and whether to send the button or not\r\n    button: {\r\n      enabled: true, // whether to send vote url button with mesage\r\n      emoji: '1158760255476486225' // custom emoji id for button\r\n    }\r\n  },\r\n  Events: {\r\n    path: './src/events/' // your path to events\r\n  },\r\n  GuildCommands : {\r\n    path: './src/scommands', // your path to guildcommands\r\n    clientId: '1230503138629259418', // your bot id\r\n    guildId: '761857421701414912', // your guild id to register slash commands in that guild\r\n    token: process.env.hyperzone // your bot token\r\n  },\r\n  MessageCommands: {\r\n    path: './src/commands' // your path to Messagecommand\r\n  },\r\n  // cooldown is for customizing cooldown message and button\r\n  cooldown: {\r\n      // embed is for customizing your embed or rather not to send embed\r\n    embed: {\r\n      enabled: true, // To use embed or not\r\n      message: 'Please wait remainingtime to use this command again', // your custom cooldown message to send this will overwrite emoji you should use emoji inside message if you want\r\n// please use remainingtime text to send time\r\n      footer: true, //whether to send footer\r\n      emoji: '<:emoji_24:959075020217405550>', // custom emoji for default embed message\r\n    },\r\n    // cooldown button is for customizing support server button emoji and whether to send the button or not\r\n    button: {\r\n      enabled: true, // enable support server button or not\r\n    },\r\n  },\r\n  //support is for defining your server url and support server button customization\r\n  support: {\r\n    server: 'https://discord.gg/mTxBX87Bdr', // your support server url\r\n    button: {\r\n      enabled: true, // here enabling this button the handler will send support server button on perms error and vote message\r\n      emoji: '1128799007452430387' // custom emoji id for button\r\n    }\r\n  },\r\n  Components: {\r\n    path: './src/interaction'\r\n  },\r\n})\r\nclient.login(process.env.TOKEN)\r\n```\r\n- Interaction Event\r\n```js\r\nmodule.exports = {\r\n  name: \"interactionCreate\",\r\n  async execute(interaction, client) {\r\n    try{\r\n    await client.kakashi.Interaction(interaction)\r\n    } catch(err) {\r\n      return console.log(err)\r\n    }\r\n  },\r\n};\r\n```\r\n- Message Event\r\n```js\r\nconst prefix = '!'; /// prefix for bot\r\nmodule.exports = {\r\n  name: \"messageCreate\",\r\n  async execute(message, client) {\r\n    try{\r\n    await client.kakashi.MessageEvents(message, prefix)\r\n    } catch(err) {\r\n      return console.log(err)\r\n    }\r\n  },\r\n};\r\n```\r\n- Slash command Example\r\n```js\r\nconst {SlashCommandBuilder} = require('discord.js')\r\nmodule.exports = {\r\n    data: new SlashCommandBuilder()\r\n        .setName('ping')\r\n        .setDescription('Get pong reply'),\r\n        category: 'Bot', /// optional can be usefull in help command\r\n        cooldown: '7', /// 7 second cooldown the cooldown is optional.\r\n        voteonly: true, /// sets this command to only run when user has voted\r\n    async execute(interaction, client) {\r\n        interaction.reply({\r\n            content: 'pong',\r\n            ephemeral: true\r\n        })\r\n    }\r\n}\r\n```\r\n- Message Command Example\r\n```js\r\nconst { EmbedBuilder } = require('discord.js')\r\nmodule.exports = {\r\n  name: 'embed',\r\n  description: 'Return embed',\r\n  aliases: ['embed-create', 'em'],\r\n  botPerms: ['EmbedLinks'],\r\n  userPerms: ['ManageMessages'],\r\n  category: 'Bot',\r\n  cooldown: '9',\r\n  voteonly: false, /// it will run if user hasnt voted\r\n  async execute(message, client, args) {\r\n    const embed = new EmbedBuilder()\r\n      .setColor('Green')\r\n      .setTitle(`${message.author.username}`)\r\n      .setDescription(`this is an embed`);\r\n    await message.reply({\r\n      embeds: [embed],\r\n    })\r\n\r\n  }\r\n}\r\n```\r\n- Button Example\r\n```js\r\nmodule.exports = {\r\n  data: {\r\n    name: 'ok-button', /// customID \r\n    cooldown: '15' /// 15 second cooldown the cooldown is optional.\r\n    voteonly: true, /// it wil only run this button if the user has voted\r\n  },\r\n  async execute(interaction, client) {\r\n    interaction.reply({\r\n      content: 'This button is working',\r\n      ephemeral: true\r\n    })\r\n  }\r\n}\r\n```\r\n\r\n## Information \r\n\r\n#### For other components like select menu and other handler same use customID on name\r\n\r\n#### The handler only handles mongo schemas so you need to connect to mongo yourself\r\n\r\n#### If you dont want cooldowns on your command dont put the cooldown: '7' part on your commands, buttons\r\n\r\n\r\n## Screenshots\r\n- vote button with everything customized\r\n![](https://i.imgur.com/tVVfcTf.png)\r\n- Normal vote message without embed and without server button\r\n\r\n![](https://i.imgur.com/0FQv87q.png?1)\r\n\r\n- Vote message with embed and without server button\r\n\r\n![](https://i.imgur.com/b4j7Rhn.png)\r\n\r\n- Cooldown Embed without server button\r\n\r\n![Cooldown embed screenshot](https://i.imgur.com/3DkmpaW.png)\r\n\r\n- Permission Message and without server button\r\n\r\n![](https://i.imgur.com/q8nLVQF.png)\r\n## Authors\r\n\r\n- [@kakashidracq](https://github.com/kakashidracq)\r\n\r\n![Discord](https://discord.c99.nl/widget/theme-2/614018799212953611.png)\r\n## Support\r\n\r\n[Discord](https://discord.gg/mTxBX87Bdr)","readmeFilename":"readme.md","homepage":"https://github.com/kakashidracq/kakashi-self-handler#readme","repository":{"type":"git","url":"git+https://github.com/kakashidracq/kakashi-self-handler.git"},"bugs":{"url":"https://github.com/kakashidracq/kakashi-self-handler/issues"}}