banner/accent_color support for profiles
This commit is contained in:
parent
1eea6cc005
commit
d4a8393f69
10 changed files with 365 additions and 23 deletions
|
@ -65,6 +65,24 @@ class Channel {
|
|||
}, null, (_) => {
|
||||
return _.hasPermission("CREATE_INSTANT_INVITE") && _.type !== 4;
|
||||
});
|
||||
/*
|
||||
this.contextmenu.addbutton("Test button",function(){
|
||||
this.localuser.ws.send(JSON.stringify({
|
||||
"op": 14,
|
||||
"d": {
|
||||
"guild_id": this.guild.id,
|
||||
"channels": {
|
||||
[this.id]: [
|
||||
[
|
||||
0,
|
||||
99
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}))
|
||||
},null);
|
||||
/**/
|
||||
}
|
||||
createInvite() {
|
||||
const div = document.createElement("div");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue