backup push before migration to BaseStruct

This commit is contained in:
ION606
2023-04-07 19:13:15 -04:00
parent 1a048a01db
commit e6b32cc115
15 changed files with 248 additions and 68 deletions
+5 -2
View File
@@ -1,8 +1,10 @@
import axios from 'axios';
import { Channel } from './Channel.js';
import Guild from './Guild.js';
import { BaseStruct } from '../baseStruct.js';
export class GuildChannelManager {
export class GuildChannelManager extends BaseStruct {
#token;
/** @type {Guild} */
@@ -91,8 +93,9 @@ export class GuildChannelManager {
});
}
constructor(token, guild, newCache) {
super();
this.#token = token;
this.guild = guild;
this.cache = newCache;