mirror of
https://github.com/danbulant/Shasha
synced 2026-06-08 00:50:46 +00:00
small bug in DM
This commit is contained in:
parent
30082e91db
commit
629cdb86fd
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ module.exports = class avatar extends commando.Command {
|
||||||
if (uID.length > 0) {
|
if (uID.length > 0) {
|
||||||
let ree = [];
|
let ree = [];
|
||||||
if (/^\d{17,19}$/.test(uID)) {
|
if (/^\d{17,19}$/.test(uID)) {
|
||||||
const findmem = msg.guild.member(uID);
|
const findmem = msg.guild?.member(uID);
|
||||||
if (findmem) {
|
if (findmem) {
|
||||||
ree.push(findmem.user);
|
ree.push(findmem.user);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue