Refactor uptimeObject to use a Map instead of an object
Signed-off-by: Scott Gould <greysilly7@gmail.com>
This commit is contained in:
@@ -17,9 +17,8 @@ class Emoji{
|
||||
get guild(){
|
||||
if(this.owner instanceof Guild){
|
||||
return this.owner;
|
||||
}else{
|
||||
return undefined;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
get localuser(){
|
||||
if(this.owner instanceof Guild){
|
||||
@@ -83,7 +82,7 @@ class Emoji{
|
||||
array[i] = read8();
|
||||
}
|
||||
//console.log(array);
|
||||
return new TextDecoder("utf-8").decode(array.buffer);
|
||||
return new TextDecoder("utf8").decode(array.buffer as ArrayBuffer);
|
||||
}
|
||||
const build: { name: string; emojis: { name: string; emoji: string }[] }[] =
|
||||
[];
|
||||
|
Reference in New Issue
Block a user