Prettify
This commit is contained in:
parent
21d8446383
commit
f9093f5681
@ -33,16 +33,13 @@ module.exports = {
|
||||
let data = response.body[0]
|
||||
|
||||
if (isNotDefined(data)) {
|
||||
|
||||
return interaction.editReply("Sorry, nothing was found!")
|
||||
}
|
||||
|
||||
|
||||
if (isNotDefined(data.phonetics[1])) {
|
||||
phonetic = ""
|
||||
} else {
|
||||
phonetic = data.phonetics[1].text
|
||||
|
||||
}
|
||||
|
||||
let audio = data.phonetics[0].audio
|
||||
|
Loading…
Reference in New Issue
Block a user