stuff
This commit is contained in:
parent
1af2a06d09
commit
03768736d3
|
@ -1814,7 +1814,7 @@ module.exports = (_ => {
|
|||
}
|
||||
else BDFDB.TimeUtils.suppress(data.callOriginalMethod, `originalMethod of ${methodName} in ${module.constructor ? module.constructor.displayName || module.constructor.name : "module"}`)();
|
||||
callInstead = false, stopCall = false;
|
||||
return methodName == "render" && data.returnValue === undefined ? null : data.returnValue;
|
||||
return (methodName == "render" || methodName == "default") && data.returnValue === undefined ? null : data.returnValue;
|
||||
};
|
||||
for (let key of Object.keys(originalMethod)) module[methodName][key] = originalMethod[key];
|
||||
if (!module[methodName].__originalFunction) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"Channel": {"props": ["getRecipientId", "isManaged", "getGuildId"]},
|
||||
"Guild": {"props": ["getIconURL", "getMaxEmojiSlots", "getRole"]},
|
||||
"Invite": {"props": ["getExpiresAt", "isExpired"]},
|
||||
"Message": {"props": ["getReaction", "getAuthorName", "getChannelId"]},
|
||||
"Message": {"props": ["getReaction", "isEdited", "getChannelId"]},
|
||||
"Messages": {"props": ["jumpToMessage", "hasAfterCached", "forEach"]},
|
||||
"Relationship": {"protos": ["comparator"], "array": true},
|
||||
"Timestamp": {"props": ["add", "dayOfYear", "hasAlignedHourOffset"]},
|
||||
|
|
Loading…
Reference in New Issue