Skip to content

jackcooper20/DEV-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEV-bot

Setup

  1. Clone the repository.
  2. Install dependencies:
    npm install
  3. Create a .env file in the root and add your environment variables:
    DISCORD_TOKEN=YOUR_DISCORD_BOT_TOKEN

Development

  • Compile TypeScript:
    npm run build
  • Run the compiled bot:
    npm start
  • Run in development mode (uses ts-node and nodemon for live reload):
    npm run dev

Basic Test

With the bot running and invited to a server:

  • !ping -> Pong! (using default prefix).

Project Structure

  • src/: TypeScript source files (main logic in src/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.

Contributing

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

TODO

  • 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.

About

Discord bot for the scoutgame token DEV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%