mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +02:00
Remove all useless async
This commit is contained in:
@@ -48,10 +48,10 @@ module.exports = class WattpadCommand extends commando.Command {
|
||||
response.body.stories[0].readCount, true)
|
||||
.addField('**Comments:**',
|
||||
response.body.stories[0].commentCount, true);
|
||||
message.channel.sendEmbed(embed);
|
||||
return message.channel.sendEmbed(embed);
|
||||
}
|
||||
catch (err) {
|
||||
message.channel.send(":x: Error! Book not Found!");
|
||||
return message.channel.send(":x: Error! Book not Found!");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user