general changes and reducing logs
This commit is contained in:
parent
0d757b7d4e
commit
7a745a5286
16 changed files with 146 additions and 78 deletions
|
@ -5,7 +5,6 @@ class Embed {
|
|||
owner;
|
||||
json;
|
||||
constructor(json, owner) {
|
||||
console.log(json);
|
||||
this.type = this.getType(json);
|
||||
this.owner = owner;
|
||||
this.json = json;
|
||||
|
@ -41,7 +40,6 @@ class Embed {
|
|||
return this.guild.localuser;
|
||||
}
|
||||
generateRich() {
|
||||
console.log(this.json);
|
||||
const div = document.createElement("div");
|
||||
if (this.json.color) {
|
||||
div.style.backgroundColor = "#" + this.json.color.toString(16);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue