Nothing Special   »   [go: up one dir, main page]

Skip to content

jarrodwatts/ai-discord-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord AI Agent

An AI-powered Discord bot that you can speak to inside a Discord voice channel.

To see how this was made, check out my video tutorial.

Features

Getting Started

  1. Important: Node.js version 22.x is required. Recommend using nvm to install it.
nvm install 22
nvm use 22
  1. Clone the repository:
git clone https://github.com/jarrodwatts/onchain-agent.git

cd onchain-agent
  1. Install dependencies:
npm install
  1. Create a Discord bot and get your application and the API token.

  2. Sign up for OpenAI and get your API key.

  3. For blockchain interactions, you'll need a wallet private key. Please DO NOT use a wallet with any real funds.

  4. Sign up for ElevenLabs and get your API key and pick a voice ID.

  5. Create the .env file and add your OpenAI API key and wallet private key:

# OpenAI
OPENAI_API_KEY=

# Wallet
PRIVATE_KEY=

# Discord
DISCORD_APPLICATION_ID=
DISCORD_API_TOKEN=

# Elevenlabs
ELEVENLABS_API_KEY=
ELEVENLABS_VOICE_ID=
  1. Run the agent:
npm start

Releases

No releases published

Packages

No packages published