mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-05-14 22:26:54 +00:00
Completed Threads
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import axios from 'axios';
|
||||
import {message} from '../messages/message.js';
|
||||
import { BaseStruct } from '../baseStruct.js';
|
||||
import { DataManager } from '../DataManager.js';
|
||||
|
||||
export class Channel extends BaseStruct {
|
||||
export class Channel extends DataManager {
|
||||
/** @type {String} */
|
||||
id;
|
||||
|
||||
@@ -111,7 +111,7 @@ export class Channel extends BaseStruct {
|
||||
toObj() {
|
||||
var obj = {};
|
||||
for (const key in this) {
|
||||
if (key != 'guild') {
|
||||
if (key != 'guild' && key != 'client') {
|
||||
obj[key] = this[key];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user