- Clone the repository.
- Install dependencies:
npm install
- Create a
.env
file in the root and add your environment variables:DISCORD_TOKEN=YOUR_DISCORD_BOT_TOKEN
- Compile TypeScript:
npm run build
- Run the compiled bot:
npm start
- Run in development mode (uses
ts-node
andnodemon
for live reload):npm run dev
With the bot running and invited to a server:
!ping
->Pong!
(using default prefix).
src/
: TypeScript source files (main logic insrc/index.ts
).dist/
: Compiled JavaScript output (ignored by Git).package.json
: Project metadata, dependencies, and scripts.tsconfig.json
: TypeScript compiler options..env
: For environment variables (token, prefix - ignored by Git)..gitignore
: Specifies intentionally untracked files.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a Pull Request.
- Implement the
/price
command: Display current DEV token price and a Uniswap link. - Implement the
/volume
command: Display 24-hour trading volume for DEV token. - Implement the
/linkwallet [wallet_address]
command: Allow users to link their wallets. - Implement the
/balance
command: Show DEV token balance and USD value for linked wallets.