Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mikesprague/put-a-bot-on-it

Silly discord.js bot for a private discord server I run
https://github.com/mikesprague/put-a-bot-on-it

bot discord discord-bot discord-js discordjs

Last synced: 3 months ago
JSON representation

Silly discord.js bot for a private discord server I run

Awesome Lists containing this project

README

        

# :robot: put-a-bot-on-it

[![Deploy to Fly.io](https://github.com/mikesprague/put-a-bot-on-it/actions/workflows/deploy-to-fly-io.yml/badge.svg)](https://github.com/mikesprague/put-a-bot-on-it/actions/workflows/deploy-to-fly-io.yml)

![put-a-bird-on-it.gif](./put-a-bird-on-it.gif)

Silly bot for a private discord server I run

## Requirements

- Bun >= 1.x
-
-

### Local Development

1. Clone repo `git clone https://github.com/mikesprague/put-a-bot-on-it.git`
1. Enter directory `cd put-a-bot-on-it`
1. Install dependencies `bun install`
1. Set up environment variables:
- `DISCORD_BOT_TOKEN`
- `DISCORD_CLIENT_ID`
- `DISCORD_GUILD_ID`
- `DISCORD_GUILD_ADMIN_ID`
- `GIPHY_API_KEY`
- `TENOR_API_KEY`
- `TENOR_API_V2_KEY`
- `NASA_API_KEY`
- `OPEN_AI_API_KEY`
1. Run locally `bun run dev`

### Uses (incomplete list)

- [Bun](https://bun.sh/)
- [Biome](https://biomejs.dev)
- [discord.js Library](https://github.com/discordjs/discord.js)
- [OpenAI library and APIs](https://github.com/openai/openai-node)
- [Tenor API](https://developers.google.com/tenor/guides/quickstart)
- [YouTube API](https://developers.google.com/youtube/v3/getting-started)
- [Giphy API](https://developers.giphy.com/)
- [NASA API (Astronomy Picture of the Day)](https://api.nasa.gov/)
- [icanhazdadjoke.com API](https://icanhazdadjoke.com)
- [Cat Facts API](https://catfact.ninja/)
- [package.place API](https://package.place)
- [kanye.rest API](https://kanye.rest/)
- ...