mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 06:45:31 +02:00
Fix
This commit is contained in:
@@ -25,7 +25,7 @@ module.exports = class WaifuCommand extends Command {
|
||||
const num = Math.floor(Math.random() * 100000);
|
||||
const { text } = await request.get(`https://www.thiswaifudoesnotexist.net/snippet-${num}.txt`);
|
||||
const embed = new MessageEmbed()
|
||||
.setDescription(shorten(text))
|
||||
.setDescription(shorten(text, 1000))
|
||||
.setThumbnail(`https://www.thiswaifudoesnotexist.net/example-${num}.jpg`);
|
||||
return msg.embed(embed);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user