throw error if something weird happens

This commit is contained in:
MathMan05 2024-09-07 19:40:02 -05:00
parent 515a11f110
commit c2c0e08b03
2 changed files with 6 additions and 0 deletions

View file

@ -10,6 +10,9 @@ import { Contextmenu } from "./contextmenu.js";
class Direct extends Guild{
channelids:{[key:string]:Group};
getUnixTime(): number {
throw new Error("Do not call this for Direct, it does not make sense");
}
constructor(json:dirrectjson[],owner:Localuser){
super(-1,owner,null);
this.message_notifications=0;