mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 14:21:41 +02:00
Fix
This commit is contained in:
@@ -55,7 +55,7 @@ module.exports = class EjectCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async run(msg, { user, imposter }) {
|
async run(msg, { user, imposter }) {
|
||||||
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 512 });
|
const avatarURL = user.displayAvatarURL({ extension: 'png', size: 128 });
|
||||||
const { body } = await request.get(avatarURL);
|
const { body } = await request.get(avatarURL);
|
||||||
const avatar = await loadImage(body);
|
const avatar = await loadImage(body);
|
||||||
if (imposter === '') {
|
if (imposter === '') {
|
||||||
|
|||||||
Reference in New Issue
Block a user