Skip to content

๐ŸŽŒ Otaku Bot is a Go-powered Slack bot that sends random anime quotes with character names, show titles, and cover images โ€” perfect for anime-loving teams.

Notifications You must be signed in to change notification settings

Yash-death/Otaku--bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽŒ Otaku Bot (Slack Anime Quote Bot)

Otaku Bot is a fun Slack bot built in Go that delivers random inspirational, funny, or emotional anime quotes directly into your Slack channels โ€” complete with character names, anime titles, and even anime poster images via the Kitsu API.


๐Ÿ“ธ Preview

Example output from the /animequote command:

alt text


โœจ Features

  • โšก๏ธ Slash command: /animequote
  • ๐ŸŽญ Random anime quotes via AnimeChan API
  • ๐Ÿ–ผ๏ธ Anime cover images fetched from Kitsu API
  • ๐Ÿ’ฌ Nicely formatted message using Slack Block Kit

๐Ÿš€ Getting Started

1. Clone the Repo

git clone https://github.com/yash-death/otaku-bot.git
cd otaku-bot

2. Set up your .env

Create a .env file in the root directory:

SLACK_BOT_TOKEN=xoxb-your-bot-token
SLACK_APP_TOKEN=xapp-your-app-level-token

You can get these from your Slack App dashboard.

3. Install dependencies

go mod tidy

4. Run the bot

go run main.go

The bot will connect using Slack Socket Mode and post quotes using the /animequote command.


๐Ÿงฑ Project Structure

.
โ”œโ”€โ”€ main.go             # Entry point
โ”œโ”€โ”€ commands/
โ”‚   โ””โ”€โ”€ animequote.go   # Quote command logic
โ”œโ”€โ”€ utils/
โ”‚   โ””โ”€โ”€ kitsu.go        # Anime image fetcher (Kitsu API)
โ”œโ”€โ”€ .env                # Environment variables

๐Ÿ”ฎ Planned Features

  • ๐Ÿ”˜ Slack interactive buttons (Refresh, Save, More Info)
  • ๐Ÿ—‚๏ธ Quote history storage (JSON or DB)
  • ๐Ÿ† Karma system (upvote/downvote anime)
  • ๐Ÿง  Slash command autocomplete

๐Ÿ‘จโ€๐Ÿ’ป Built With


๐Ÿค Contributing

Pull requests are welcome! If you have ideas for fun features, feel free to open an issue or submit a PR.


๐Ÿ“œ License

MIT License


๐Ÿ“ซ Contact

Made with โค๏ธ by Yash Badoniya

About

๐ŸŽŒ Otaku Bot is a Go-powered Slack bot that sends random anime quotes with character names, show titles, and cover images โ€” perfect for anime-loving teams.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages