cosmetic: sus
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -69,7 +69,7 @@ switch (args._[0]) {
|
||||
} else if (title && artists) {
|
||||
one({ title, artists })
|
||||
}
|
||||
} else words({ sus: args.s || args.banned })
|
||||
} else words({ susOnly: args.s || args.banned })
|
||||
break
|
||||
case 'convert':
|
||||
let tid = args.T ? [args.T] : args.tids
|
||||
|
||||
+2
-2
@@ -55,7 +55,7 @@ async function one({ title, artists, tid }) {
|
||||
|
||||
export { one }
|
||||
|
||||
export default function words({ sus, rolling }) {
|
||||
export default function words({ sus: susOnly, rolling }) {
|
||||
return getTop(rolling ? 'rolling' : 'once').then(async (top) => {
|
||||
for (let tid of top.slice(20)) {
|
||||
const { title, artists } = await getTrack(tid)
|
||||
@@ -91,7 +91,7 @@ export default function words({ sus, rolling }) {
|
||||
options.color = 'yellow'
|
||||
options.meta = ' no lyrics found'
|
||||
} else {
|
||||
if (sus) return
|
||||
if (susOnly) return
|
||||
}
|
||||
|
||||
logTrack(track, options)
|
||||
|
||||
Reference in new issue
Block a user