nsCore is the official app of the nsLaboratory server, an informative Discord app specially created for Creator's World and the nsLaboratory server! This is also the base model for all the products in nsLaboratory, and it's open source, so anyone can use it for their creative Discord apps too.
Note
nsCore is our personal bot, so we can't permit it for public use. However, we have a public bot with the same features called Power Op, a cute, user-friendly, powerful Discord app based on nsCore. Please add our Power Op bot to your server and experience the essence of nsCore! Thank you.
Here is the invite link for our Power Op bot: Invite Now
- Built-in information commands
- Supports both Discord message and interaction (slash) commands
- Advanced command, event, and error handler
- Built-in Dev-only command option with developer commands (message only)
- Comes with tests by jest
- Join the Creator's Worlds Discord server.
- Start your command journey by typing
ns.help
to view the full list of commands. - Access interaction commands through slash commands by typing
/
and selecting from the available options. - For detailed guidance, refer to the docs
To use nsCore as your base model, follow these steps:
-
Clone this repo:
git clone https://github.com/nsgpriyanshu/nscore.git
-
Set up your
.env
file with the necessary environment variables:AUTH_TOKEN=YOUR-DISCORD-BOT-TOKEN CLIENT_ID=YOUR-DISCORD-BOT-ID DEVELOPER_IDS=YOUR-DISCORD-ID SERVER_ID=YOUR-DEV-SERVER-ID ERROR_CHANNEL_ID=YOUR-ERROR-CHANNEL-ID
-
Install the dependencies:
npm install
-
Run the bot:
npm run start
-
Deploy the commands:
npm run deploy
For full details, check out our docs.
- TypeScript for enhanced type safety and maintainability
- Discord.js the most powerful and popular Discord library
- Nextra simple, powerful and flexible site generation framework with everything you love from Next.js
We have separate documentation tailored for both users and developers:
- Docs - Designed for users, this documentation contains all the commands and features you need to get started and effectively use the bot.
- nsDocs - Designed for developers, this documentation provides detailed information on setup, customization, and advanced usage.
- Discord.js Guide - The official Discord.js guide, aimed at users who are either unfamiliar or inexperienced with Node.js and creating Discord bots. It assumes you have a basic understanding of JavaScript.
- TypeScript Handbook - The TypeScript Handbook is the official documentation of TypeScript. If you are not familiar with TypeScript basics, you can visit this handbook to get started.
If you need assistance with understanding the documentation, encounter any issues, or simply require guidance, please join our Discord server. Our community and support team are here to help you!