swaglyrics

swaglyrics

概览

A smart bot that fetches lyrics for song you are currently listening to on Spotify.


inviteme Discord Server Discord Bots Discord Bots Build Status codecov

SwagLyrics-discord-bot

An implementation of swaglyrics into a discord bot. When you listen to music on spotify, this bot will print you the lyrics. All automatic!

Usage

Simply type $swaglyrics and let the magic happen!

For specific lyrics, type $swaglyrics <song> <artist>

SwagLyrics Bot in action

Commands

Swaglyrics

Command: $swaglyrics [song] [artists] where song and artist are optional arguments.

Aliases: $sl.

Action: Main command, gets lyrics for song you are listening to.

Example: $swaglyrics "Round And Round" "Imagine Dragons"

Ping

Command: $ping.

Action: Pings bot, returns bot latency in ms.

Stats

Command: $stats.

Action: Shows bot statistics and technical data.

Requirements

Spotify needs to be connected with discord, status in "Settings -> Connections -> Spotify -> Display Spotify as your status" needs to be turned on.

Building from source

Install requirements with pip3 install -r requirements.txt (use pip or pip3, depending on your setup).

cd to Swaglyrics-discord-bot directory.

Create .env file and fill it with token

BOT_TOKEN=<your token>

Congratulations! Bot is successfully configured. Now you can run directily with python3 __main__.py or install it with python3 setup.py install and run with python3 -m SwaglyricsBot. Remember to run it from directory where .env is located.

Additional settings

If you want, you can setup logging directly to discord server using webhooks and upload stats to TopGG

.env entries:

WEBHOOK_URL=<your discord webhook url>

WEBHOOK_ERROR_SUPERVISOR_ID=<discord user id> Used for pinging user if error occurs.

DBL_TOKEN=<your TopGG token>

评分和评论


4.29

7 评论

只能由注册用户留下评论。所有评论都由Top.gg版主主持。 请确保在发布之前检查 我们的指南

5 星

6

4 星

0

3 星

0

2 星

0

1 星星

0



mygritty
mygritty
over 3 years ago

I love how easy to use it is and how the creator isn't desperate for voting remarks, it just proves they're genuine in what they do



ManyDucky
ManyDucky
about 4 years ago

gives a good and accurate service for free


jiggleburj
jiggleburj
about 4 years ago

its pretty good bot, idt i've ever faced any lag with this bot


clash
clash
over 4 years ago

it depends on the availability of the lyrics in that language, it is high for some other languages but less for some.


JimSxn
JimSxn
over 4 years ago

does this work with other language?


sayyss
sayyss
about 5 years ago

Fast and reliable.

Avatar
swaglyrics回复 sayyss

thanks bb



Top.gg

探索海量Discord机器人和应用

支持

提交服务单

管理Cookie设置

合作伙伴

Medal

MCP Servers