fix a few bugs
This commit is contained in:
parent
81dd5516b5
commit
def930115f
4 changed files with 8 additions and 8 deletions
|
@ -201,7 +201,7 @@ class User {
|
|||
createjankpromises() {
|
||||
new Promise(_ => { });
|
||||
}
|
||||
async buildprofile(x, y, guild) {
|
||||
async buildprofile(x, y, guild = null) {
|
||||
if (Contextmenu.currentmenu != "") {
|
||||
Contextmenu.currentmenu.remove();
|
||||
}
|
||||
|
@ -258,7 +258,7 @@ class User {
|
|||
userbody.appendChild(rule);
|
||||
const biohtml = this.bio.makeHTML();
|
||||
userbody.appendChild(biohtml);
|
||||
{
|
||||
if (guild) {
|
||||
Member.resolveMember(this, guild).then(member => {
|
||||
if (!member)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue