▄▄▄· .▄▄ · ▄▄· ▪ ▪ ▄▄▄▄· ▄▄▄▄▄
▐█ ▀█ ▐█ ▀. ▐█ ▌▪██ ██ ▐█ ▀█▪▪ •██
▄█▀▀█ ▄▀▀▀█▄██ ▄▄▐█·▐█· ▐█▀▀█▄ ▄█▀▄ ▐█.▪
▐█ ▪▐▌▐█▄▪▐█▐███▌▐█▌▐█▌ ██▄▪▐█▐█▌.▐▌ ▐█▌·
▀ ▀ ▀▀▀▀ ·▀▀▀ ▀▀▀▀▀▀ ·▀▀▀▀ ▀█▄▀▪ ▀▀▀
A Discord bot that creates ASCII art. Created with Node.js using the discord.js library.
You can add this bot to your discord server here.
This bot adds a slash command and a message interaction:
/ascii-text
Converts a text to ASCII art using FIGletright click message with an image attachment > apps > Image to ASCII
Converts all images attached to the message into ASCII art
- Clone this repository
- Install dependencies with
npm install
- Add a
.env
file (envirnoment variables described below) - Register bot commands by running one of the following:
npm run discord:register-commands
register the commands only for the guild specified byGUILD_ID
npm run discord:register-commands:global
register the commands globally
- Start the bot with
npm start
env variable | |
---|---|
TOKEN | The discord API token |
CLIENT_ID | Client id of the application, needed to register commands |
GUILD_ID | Guild id, needed to run npm run discord:register-commands |