0
0
Fork 0

Add the resetChannel DB method

This commit is contained in:
Oliver-Akins 2023-02-20 19:59:11 -07:00
parent 50c110a008
commit 57b0fc0b73

View file

@ -32,6 +32,10 @@ export class JSONDatabase {
};
};
public async resetChannel(name: string) {
await this.createChannel(name);
};
public async getChannel(name: string) {
return this.data[name];
};