mirror of
https://github.com/danbulant/Shasha
synced 2026-05-24 20:31:47 +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) {
|
||||
let ree = [];
|
||||
if (/^\d{17,19}$/.test(uID)) {
|
||||
const findmem = msg.guild.member(uID);
|
||||
const findmem = msg.guild?.member(uID);
|
||||
if (findmem) {
|
||||
ree.push(findmem.user);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue