A Source Code Of My Small Discord Bot
- Nodejs
- Typescript
- Discord.js v14
- Mongoose
Here you describe how to run your project locally
Here you list all prerequisites necessary for running your project.
How to clone your project
git clone https://github.com/Nekitori17/Shakiri-Ayui
Use the .env.example
as reference to create your configuration file .env.development
for development and .env.production
for production with your Discord Bot Token And MongoDB Connection String
# Bot token from discord application
BOT_TOKEN = ""
# Bot ID from discord application
CLIENT_ID = ""
# GEMINI AI API
GEMINI_AI_TOKEN = ""
# Your API url base from nekitori17/fratizy-app
CUSTOM_URL_API_BASE = ""
# # MongoDB connection string
MONGODB_CONNECTION_URI = ""
## Array of user id that can access developer commands. Example: ["123456789","987654321"]
DEVELOPER_ACCOUNT_IDS = ""
# Webhook for logging error.
WEBHOOK_LOG_ERROR_URL = ""
How to start your project
- First Install Dependence Packages:
cd Shakiri-Ayui
npm i
- For Development with .env.development:
npm run dev
- For Deployment with .env.production:
npm start
Here you will explain how other developers can contribute to your project. For example, explaining how can create their branches, which patterns to follow and how to open an pull request
git clone https://github.com/Nekitori17/Shakiri-Ayui
git checkout -b feature/NAME
- Follow commit patterns
- Open a Pull Request explaining the problem solved or feature made, if exists, append screenshot of visual modifications and wait for the review!