mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Some Changes
This commit is contained in:
@@ -41,7 +41,7 @@ module.exports = class UrbanDictionary extends commando.Command {
|
||||
.setAuthor('Urban Dictionary', 'http://a1.mzstatic.com/eu/r30/Purple71/v4/66/54/68/6654683f-cacd-4a55-1784-f14257f77874/icon175x175.png')
|
||||
.setURL(data.permalink)
|
||||
.setTitle(data.word)
|
||||
.setDescription(`${data.definition.substr(0, 1900)} [Read the Rest Here!](${data.permalink})`)
|
||||
.setDescription(data.definition.substr(0, 1900))
|
||||
.addField('**Example:**',
|
||||
data.example.substr(0, 1900) || 'None');
|
||||
return message.embed(embed);
|
||||
|
||||
Reference in New Issue
Block a user