Skip to content

fishtested/ConvertBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

066aa4b · · Oct 2, 2025

History

5 Commits
Oct 2, 2025
Oct 2, 2025

Repository files navigation

ConvertBot

A Discord.js bot that converts units and currencies quickly and easily.

How it works

  • Run /convert with the input and unit you want it to be converted to
  • The script finds the formula for your input and requested unit
  • Replies to your message with the result
  • Currency conversion rates and data are from ExchangeRate-API. The free plan allows 1.5K requests per month and daily updates with an API key.

Screenshot

command
weight result
currency result
length result

Installation

  1. Install the Node.js dependencies (npm install discord.js)
  2. Download the bot.js file
  3. Create a config.json file with your bot token and ExchangeRate-API key
  4. Run the bot (node bot.js)