hashishin
v6.0.0
Published
A discord.js wrapper to create bots in a simpler way.
Downloads
13
Maintainers
Readme
Hashi
Hashi is a NPM package that wraps and implements features from Discord.js library. Including a command handler, an event handler, integrated database system, and more. Documentation link: (hashi.marikobot.com)[https://hashi.marikobot.com/]
Authors
Compatible with
We recommand using TypeScript to take benefits with all of our exported types that could simplify your programming experience. (Anyway, TypeScript is better :>)
License
Requirements
Node.js and a package manager (Yarn, PNPM, NPM) installed in your environment. We recommand using PNPM.
Installation
Simply run the command:
pnpm install hashi@latest
Creating a new version
First, let's build the package:
On Windows (burk):
.\scripts\build.bat ; git add .
On Linux/Mac (gigachad):
./scripts/build.sh && git add .
Secondly, let's box our files into a commit:
git commit -m "My message!"
Then, let's update the version:
npm version <patch|minor|major|prerelease --preid=devbuild>
Finally, let's publish the new version and push it to GitHub:
git push; npm publish; git push --tags
Well done!
Testing the code
To run the code placed into the lab/ folder, just run:
ts-node lab/lab.test.ts
(Don't forget to build just before running it.)
Used by
You? What are you waiting for?