Sign inSign up

rl404/naka

By rl404

•Updated about 1 year ago

Discord bot for playing youtube song.

Image
0

2.9K

rl404/naka repository overview

⁠Naka

Naka is a discord bot to play song from youtube.

Naka⁠'s name is taken from japanese cuiser. Also, exists⁠ in Kantai Collection games and anime as a fleet's idol. To live up its name, this bot will 'sing' for you like an idol.

⁠Features

  • Play song from youtube url.
  • Search song from youtube.
  • Song queue system.
    • Pause song.
    • Resume song.
    • Stop song.
    • Next song.
    • Previous song.
    • Skip/jump to specific song in queue.
    • Remove 1 or more song from queue.
    • Delete queue.

⁠Requirement

⁠Environment Variables

EnvDefaultDescription
NAKA_DISCORD_TOKEN*Discord bot token.
NAKA_DISCORD_PREFIX=Discord bot prefix command.
NAKA_CACHE_DIALECTinmemoryCache type (inmemory, redis, memcache).
NAKA_CACHE_ADDRESSCache address.
NAKA_CACHE_PASSWORDCache password.
NAKA_CACHE_TIME24hCache duration.
NAKA_YOUTUBE_KEY*Youtube API key.

⁠Bot Commands

⁠Play Song
# Play song in queue.
=play

# Will put the song to queue and play.
=play https://www.youtube.com/watch?v=dQw4w9WgXcQ

# Will search, put the song to queue, and play.
=play suisei stellar
⁠Queue Song
# See queue list.
=queue

# Will put the song to queue.
=queue https://www.youtube.com/watch?v=dQw4w9WgXcQ

# Will search and put the song to queue.
=queue suisei stellar
⁠Other Commands
=join       # Bot join to voice channel.
=leave      # Bot leave voice channel.
=pause      # Pause song.
=resume     # Resume song.
=stop       # Stop song.
=next       # Go to next song in queue.
=prev       # Go to previous song in queue.
=skip 2     # Go to song number 2 in queue.
=remove 1 2 # Remove song number 1 and 2 from queue.
=purge      # Remove all songs from queue.

⁠License

MIT License

Copyright (c) 2022 Axel

Tag summary

Content type

Image

Digest

sha256:f3112d319…

Size

77.1 MB

Last updated

about 1 year ago

docker pull rl404/naka