Skip to content

About

A Discord AI chatbot made using discord.js v.14 and OpenAI API

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Hiro

An AI chatbot for your Discord server.

Hiro runs on discord.js and OpenAI — answer questions, generate creative content, translate languages, and more, right inside any Discord server.

Node.js Discord.js OpenAI


What Hiro can do

  • Answer questions — open-ended, challenging, or strange
  • Generate creative content — poems, code, scripts, emails, musical pieces
  • Translate languages
  • Write in different tones and formats on demand

Tech Stack

Runtime Node.js
Bot Framework discord.js
AI OpenAI API

Getting Started

Prerequisites

Setup

# Clone the repo
git clone https://github.com/Akai771/hiro-bot.git
cd hiro-bot

# Install dependencies
npm install

# Configure environment variables
# → Add Discord bot token and OpenAI API key to .env

# Start the bot
node index.js

Add the bot to your Discord server via the OAuth2 URL from the Developer Portal.


Commands

Command Description
!info Show Hiro's version and current OpenAI model

Contributing

Open-source — contributions welcome. Fork the repo and submit a pull request.


License

MIT


Built by Akai

About

A Discord AI chatbot made using discord.js v.14 and OpenAI API

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages