mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
Hmm
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = class YearsCommand extends Command {
|
|||||||
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
|
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
|
||||||
return msg.say('This Command requires the `Attach Files` Permission.');
|
return msg.say('This Command requires the `Attach Files` Permission.');
|
||||||
const { user } = args;
|
const { user } = args;
|
||||||
const avatarURL = user.avatarURL('png', 512);
|
const avatarURL = user.avatarURL('png', 2048);
|
||||||
if (!avatarURL) return msg.say('This user has no avatar.');
|
if (!avatarURL) return msg.say('This user has no avatar.');
|
||||||
let images = [];
|
let images = [];
|
||||||
images.push(Jimp.read(avatarURL));
|
images.push(Jimp.read(avatarURL));
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ module.exports = class BeautifulCommand extends Command {
|
|||||||
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
|
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
|
||||||
return msg.say('This Command requires the `Attach Files` Permission.');
|
return msg.say('This Command requires the `Attach Files` Permission.');
|
||||||
const { user } = args;
|
const { user } = args;
|
||||||
const avatarURL = user.avatarURL('png', 512);
|
const avatarURL = user.avatarURL('png', 2048);
|
||||||
if (!avatarURL) return msg.say('This user has no avatar.');
|
if (!avatarURL) return msg.say('This user has no avatar.');
|
||||||
let images = [];
|
let images = [];
|
||||||
images.push(Jimp.read(avatarURL));
|
images.push(Jimp.read(avatarURL));
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ module.exports = class BobRossCommand extends Command {
|
|||||||
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
|
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
|
||||||
return msg.say('This Command requires the `Attach Files` Permission.');
|
return msg.say('This Command requires the `Attach Files` Permission.');
|
||||||
const { user } = args;
|
const { user } = args;
|
||||||
const avatarURL = user.avatarURL('png', 512);
|
const avatarURL = user.avatarURL('png', 2048);
|
||||||
if (!avatarURL) return msg.say('This user has no avatar.');
|
if (!avatarURL) return msg.say('This user has no avatar.');
|
||||||
const blank = new Jimp(600, 775, 0xFFFFFFFF);
|
const blank = new Jimp(600, 775, 0xFFFFFFFF);
|
||||||
let images = [];
|
let images = [];
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ module.exports = class RIPCommand extends Command {
|
|||||||
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
|
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
|
||||||
return msg.say('This Command requires the `Attach Files` Permission.');
|
return msg.say('This Command requires the `Attach Files` Permission.');
|
||||||
const { user } = args;
|
const { user } = args;
|
||||||
const avatarURL = user.avatarURL('png', 512);
|
const avatarURL = user.avatarURL('png', 2048);
|
||||||
if (!avatarURL) return msg.say('This user has no avatar.');
|
if (!avatarURL) return msg.say('This user has no avatar.');
|
||||||
let images = [];
|
let images = [];
|
||||||
images.push(Jimp.read(avatarURL));
|
images.push(Jimp.read(avatarURL));
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ module.exports = class SteamCardCommand extends Command {
|
|||||||
return msg.say('This Command requires the `Attach Files` Permission.');
|
return msg.say('This Command requires the `Attach Files` Permission.');
|
||||||
const { user } = args;
|
const { user } = args;
|
||||||
const username = msg.guild ? msg.guild.member(user).displayName : user.username;
|
const username = msg.guild ? msg.guild.member(user).displayName : user.username;
|
||||||
const avatarURL = user.avatarURL('png', 512);
|
const avatarURL = user.avatarURL('png', 2048);
|
||||||
if (!avatarURL) return msg.say('This user has no avatar.');
|
if (!avatarURL) return msg.say('This user has no avatar.');
|
||||||
const blank = new Jimp(494, 568, 0xFFFFFFFF);
|
const blank = new Jimp(494, 568, 0xFFFFFFFF);
|
||||||
let images = [];
|
let images = [];
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ module.exports = class TriggeredCommand extends Command {
|
|||||||
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
|
if (!msg.channel.permissionsFor(this.client.user).has('ATTACH_FILES'))
|
||||||
return msg.say('This Command requires the `Attach Files` Permission.');
|
return msg.say('This Command requires the `Attach Files` Permission.');
|
||||||
const { user } = args;
|
const { user } = args;
|
||||||
const avatarURL = user.avatarURL('png', 512);
|
const avatarURL = user.avatarURL('png', 2048);
|
||||||
if (!avatarURL) return msg.say('This user has no avatar.');
|
if (!avatarURL) return msg.say('This user has no avatar.');
|
||||||
const blank = new Jimp(320, 371, 0xFFFFFFFF);
|
const blank = new Jimp(320, 371, 0xFFFFFFFF);
|
||||||
let images = [];
|
let images = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user