The Channel object

TextChannel {
  id: '852164079123955742',
  type: 0,
  client: <ref *1> Client {
    _events: [Object: null prototype] {
      ready: [Function (anonymous)],
      messageCreate: [AsyncFunction (anonymous)]
    },
    _eventsCount: 2,
    _maxListeners: undefined,
    options: {
      allowedMentions: [Object],
      autoreconnect: true,
      compress: false,
      connectionTimeout: 30000,
      defaultImageFormat: 'jpg',
      defaultImageSize: 128,
      disableEvents: {},
      firstShardID: 0,
      getAllUsers: false,
      guildCreateTimeout: 2000,
      guildSubscriptions: true,
      largeThreshold: 250,
      maxReconnectAttempts: Infinity,
      maxResumeAttempts: 10,
      maxShards: 1,
      messageLimit: 100,
      opusOnly: false,
      requestTimeout: 15000,
      restMode: false,
      seedVoiceConnections: false,
      ws: {},
      reconnectDelay: [Function: reconnectDelay],
      lastShardID: 0
    },
    requestHandler: RequestHandler {
      options: [Object],
      userAgent: 'DiscordBot (https://github.com/abalabahaha/eris, 0.15.1)', // or your user agent
      ratelimits: [Object],
      latencyRef: [Object],
      globalBlock: false,
      readyQueue: []
    },
    ready: true,
    bot: true,
    startTime: 1628745676856,
    lastConnect: 0,
    channelGuildMap: {
      '811898123097210900': '811895115975098398',
      '811898163655999489': '811895115975098398',
      '812252279129243678': '811895115975098398',
      '811895213181108254': '811895115975098398',
      '811895115975098402': '811895115975098398',
      '811896379575369738': '811895115975098398',
      '812243455442681876': '811895115975098398',
      '811897137948262401': '811895115975098398',
      '811895115975098399': '811895115975098398',
      '811912013034029086': '811895115975098398',
      '812218553255198790': '811895115975098398',
      '848103608700764190': '811895115975098398',
      '811896233777037312': '811895115975098398',
      '811895115975098401': '811895115975098398',
      '811898855112179713': '811895115975098398',
      '818046200065949706': '811895115975098398',
      '812218556178759710': '811895115975098398',
      '811910119184924713': '811895115975098398',
      '811898235903410186': '811895115975098398',
      '811897873272406026': '811895115975098398',
      '811912316765470721': '811895115975098398',
      '811897096894414848': '811895115975098398',
      '811897860324720671': '811895115975098398',
      '811898933508964372': '811895115975098398',
      '811896636754231307': '811895115975098398',
      '811898059940036649': '811895115975098398',
      '848095504776691762': '811895115975098398',
      '811912038082805831': '811895115975098398',
      '812218549077934100': '811895115975098398',
      '812243421988126731': '811895115975098398',
      '812252451020210186': '811895115975098398',
      '811895115975098403': '811895115975098398',
      '811910188055003167': '811895115975098398',
      '811906518202056715': '811895115975098398',
      '811910119184924712': '811895115975098398',
      '811895674005487656': '811895115975098398',
      '811902968931942401': '811895115975098398',
      '812218558977277973': '811895115975098398',
      '811906353152262154': '811895115975098398',
      '811896454749880330': '811895115975098398',
      '812252888075468812': '811895115975098398',
      '848386756613242890': '811895115975098398',
      '854703118674296850': '852141536694239273',
      '855271120567926814': '852141536694239273',
      '852173977585844284': '852141536694239273',
      '852157862217121792': '852141536694239273',
      '852164831431098378': '852141536694239273',
      '852145398994436137': '852141536694239273',
      '852158195245121577': '852141536694239273',
      '852162921541664800': '852141536694239273',
      '852154697762209822': '852141536694239273',
      '852165031340408832': '852141536694239273',
      '852173539289464872': '852141536694239273',
      '852145510387286026': '852141536694239273',
      '852157833047048222': '852141536694239273',
      '852142037402386483': '852141536694239273',
      '852159456455950376': '852141536694239273',
      '852390278291259402': '852141536694239273',
      '852154777378750515': '852141536694239273',
      '856472285174956042': '852141536694239273',
      '852164079123955742': '852141536694239273',
      '852159350301917295': '852141536694239273',
      '852174236751888444': '852141536694239273',
      '856471885196951593': '852141536694239273',
      '852173879329161286': '852141536694239273',
      '856472254564663316': '852141536694239273',
      '853100666683523154': '852141536694239273',
      '852162990353547295': '852141536694239273',
      '852159436512559205': '852141536694239273',
      '852391020158779402': '852141536694239273',
      '852155180359483463': '852141536694239273',
      '852165144154341476': '852141536694239273',
      '852146836424753172': '852141536694239273',
      '852390791766474753': '852141536694239273',
      '852158227092471808': '852141536694239273',
      '856472269697187891': '852141536694239273'
    },
    shards: ShardManager(1) [Map] {
      0 => [Shard],
      baseObject: [class Shard extends EventEmitter],
      limit: undefined,
      _client: [Circular *1],
      connectQueue: [],
      lastConnect: 1628745676831,
      connectTimeout: null
    },
    groupChannels: Collection(0) [Map] {
      baseObject: [class GroupChannel extends PrivateChannel],
      limit: undefined
    },
    guilds: Collection(2) [Map] {
      '811895115975098398' => [Guild],
      '852141536694239273' => [Guild],
      baseObject: [class Guild extends Base],
      limit: undefined
    },
    privateChannelMap: {},
    privateChannels: Collection(0) [Map] {
      baseObject: [class PrivateChannel extends Channel],
      limit: undefined
    },
    guildShardMap: { '811895115975098398': 0, '852141536694239273': 0 },
    unavailableGuilds: Collection(0) [Map] {
      baseObject: [class UnavailableGuild extends Base],
      limit: undefined
    },
    relationships: Collection(0) [Map] {
      baseObject: [class Relationship extends Base],
      limit: undefined
    },
    users: Collection(2) [Map] {
      '848166639367094302' => [ExtendedUser],
      '725573213622632468' => [User],
      baseObject: [class User extends Base],
      limit: undefined
    },
    presence: { game: null, status: 'offline' },
    userGuildSettings: [],
    userSettings: {},
    notes: {},
    voiceConnections: VoiceConnectionManager(0) [Map] {
      baseObject: [Function],
      limit: undefined,
      pendingGuilds: {}
    },
    connect: [Function: bound connect] AsyncFunction,
    lastReconnectDelay: 0,
    reconnectAttempts: 0,
    commands: Collection(10) [Map] {
      'help' => [Object],
      'ping' => [Object],
      'bal' => [Object],
      'beg' => [Object],
      'buy' => [Object],
      'create' => [Object],
      'inv' => [Object],
      'sell' => [Object],
      'shop' => [Object],
      'use' => [Object],
      baseObject: undefined,
      limit: undefined
    },
    cooldowns: Collection(0) [Map] { baseObject: undefined, limit: undefined },
    gatewayURL: 'wss://gateway.discord.gg/?v=6&encoding=json',
    user: ExtendedUser {
      id: '848166639367094302',
      bot: true,
      system: false,
      avatar: '2de4b6e8279ea4dc01ad7e0f732a2bba',
      username: 'The Praetorian Guard',
      discriminator: '2857',
      email: null,
      verified: true,
      mfaEnabled: false
    },
    application: { id: '848166639367094302', flags: 262144 },
    [Symbol(kCapture)]: false
  },
  guild: Guild {
    id: '852141536694239273',
    shard: Shard {
      id: 0,
      client: [Client],
      onPacket: [Function: bound onPacket],
      connecting: false,
      ready: true,
      preReady: true,
      requestMembersPromise: {},
      getAllUsersCount: {},
      getAllUsersQueue: [],
      getAllUsersLength: 1,
      guildSyncQueue: [],
      guildSyncQueueLength: 1,
      unsyncedGuilds: 0,
      latency: 231,
      lastHeartbeatAck: true,
      lastHeartbeatReceived: 1628745676777,
      lastHeartbeatSent: 1628745676546,
      status: 'ready',
      connectTimeout: null,
      seq: 4,
      sessionID: '53a4d1dacbe5e9830e3f3f9347046ae4',
      reconnectInterval: 1000,
      connectAttempts: 0,
      ws: [WebSocket],
      heartbeatInterval: Timeout {
        _idleTimeout: 41250,
        _idlePrev: [TimersList],
        _idleNext: [TimersList],
        _idleStart: 1109,
        _onTimeout: [Function (anonymous)],
        _timerArgs: undefined,
        _repeat: 41250,
        _destroyed: false,
        [Symbol(refed)]: true,
        [Symbol(kHasPrimitive)]: false,
        [Symbol(asyncId)]: 44,
        [Symbol(triggerId)]: 28
      },
      guildCreateTimeout: null,
      globalBucket: [Bucket],
      presenceUpdateBucket: [Bucket],
      presence: [Object],
      discordServerTrace: [Array]
    },
    unavailable: false,
    joinedAt: 1623240400770,
    voiceStates: Collection(0) [Map] {
      baseObject: [class VoiceState extends Base],
      limit: undefined
    },
    channels: Collection(34) [Map] {
      '854703118674296850' => [TextChannel],
      '855271120567926814' => [TextChannel],
      '852173977585844284' => [TextChannel],
      '852157862217121792' => [TextChannel],
      '852164831431098378' => [CategoryChannel],
      '852145398994436137' => [CategoryChannel],
      '852158195245121577' => [TextChannel],
      '852162921541664800' => [CategoryChannel],
      '852154697762209822' => [CategoryChannel],
      '852165031340408832' => [TextChannel],
      '852173539289464872' => [CategoryChannel],
      '852145510387286026' => [TextChannel],
      '852157833047048222' => [TextChannel],
      '852142037402386483' => [TextChannel],
      '852159456455950376' => [TextChannel],
      '852390278291259402' => [TextChannel],
      '852154777378750515' => [TextChannel],
      '856472285174956042' => [TextChannel],
      '852164079123955742' => [TextChannel],
      '852159350301917295' => [CategoryChannel],
      '852174236751888444' => [CategoryChannel],
      '856471885196951593' => [CategoryChannel],
      '852173879329161286' => [CategoryChannel],
      '856472254564663316' => [TextChannel],
      '853100666683523154' => [TextChannel],
      '852162990353547295' => [TextChannel],
      '852159436512559205' => [TextChannel],
      '852391020158779402' => [TextChannel],
      '852155180359483463' => [TextChannel],
      '852165144154341476' => [TextChannel],
      '852146836424753172' => [TextChannel],
      '852390791766474753' => [CategoryChannel],
      '852158227092471808' => [TextChannel],
      '856472269697187891' => [TextChannel],
      baseObject: [class GuildChannel extends Channel],
      limit: undefined
    },
    members: Collection(2) [Map] {
      '848166639367094302' => [Member],
      '725573213622632468' => [Member],
      baseObject: [class Member extends Base],
      limit: undefined
    },
    memberCount: 10,
    roles: Collection(43) [Map] {
      '852143891306119169' => [Role],
      '852142934349971456' => [Role],
      '855635525019893792' => [Role],
      '852168868629970975' => [Role],
      '856471968459390977' => [Role],
      '852143034190659604' => [Role],
      '852169353884598302' => [Role],
      '852157476475764816' => [Role],
      '852167807692701757' => [Role],
      '852168095313035276' => [Role],
      '852143297744601108' => [Role],
      '852166970060570695' => [Role],
      '852156746704617513' => [Role],
      '855810648980848651' => [Role],
      '852143170523234305' => [Role],
      '854697905306206228' => [Role],
      '852169205805744169' => [Role],
      '852167614582620180' => [Role],
      '853106050633826326' => [Role],
      '852168425384312842' => [Role],
      '852169510077464606' => [Role],
      '852142110240538624' => [Role],
      '852143344268345354' => [Role],
      '854577610884775946' => [Role],
      '855635321261916191' => [Role],
      '852142563640082444' => [Role],
      '852143925891301406' => [Role],
      '852159711305531434' => [Role],
      '852142467754622987' => [Role],
      '852160533913927680' => [Role],
      '852141536694239273' => [Role],
      '852162026801463318' => [Role],
      '852165115636875264' => [Role],
      '852143839691145216' => [Role],
      '852143592680062996' => [Role],
      '852167229537648640' => [Role],
      '852167691530666061' => [Role],
      '852143866349486091' => [Role],
      '852143699441877032' => [Role],
      '852143253582643220' => [Role],
      '852167448916787240' => [Role],
      '852169020828549181' => [Role],
      '857519015911620661' => [Role],
      baseObject: [class Role extends Base],
      limit: undefined
    },
    applicationID: null,
    name: 'The Twelfth Legion Fulminata',
    verificationLevel: 0,
    splash: null,
    discoverySplash: null,
    banner: null,
    region: 'singapore',
    ownerID: '725573213622632468',
    icon: '8b6cb1cdb96103443d3f2951c372ec82',
    features: [],
    emojis: [],
    afkChannelID: null,
    afkTimeout: 300,
    defaultNotifications: 1,
    mfaLevel: 0,
    large: false,
    explicitContentFilter: 0,
    systemChannelID: null,
    systemChannelFlags: 0,
    premiumTier: 0,
    premiumSubscriptionCount: 0,
    vanityURL: null,
    preferredLocale: 'en-US',
    description: null,
    maxMembers: 100000,
    publicUpdatesChannelID: null,
    rulesChannelID: null,
    maxVideoChannelUsers: 25,
    nsfw: false
  },
  name: 'server-config',
  position: 7,
  parentID: '852162921541664800',
  nsfw: false,
  permissionOverwrites: Collection(5) [Map] {
    '852141536694239273' => PermissionOverwrite {
      allow: 0n,
      deny: 1049600n,
      id: '852141536694239273',
      type: 'role'
    },
    '852142934349971456' => PermissionOverwrite {
      allow: 1049600n,
      deny: 0n,
      id: '852142934349971456',
      type: 'role'
    },
    '852143034190659604' => PermissionOverwrite {
      allow: 1049600n,
      deny: 0n,
      id: '852143034190659604',
      type: 'role'
    },
    '852143170523234305' => PermissionOverwrite {
      allow: 1049600n,
      deny: 0n,
      id: '852143170523234305',
      type: 'role'
    },
    '852160533913927680' => PermissionOverwrite {
      allow: 1049600n,
      deny: 0n,
      id: '852160533913927680',
      type: 'role'
    },
    baseObject: [class PermissionOverwrite extends Permission],
    limit: undefined
  },
  rateLimitPerUser: 0,
  topic: null,
  messages: Collection(1) [Map] {
    '875247563777929267' => Message {
      id: '875247563777929267',
      type: 0,
      timestamp: 1628745680518,
      channel: [TextChannel],
      content: '-foo',
      hit: false,
      reactions: {},
      guildID: '852141536694239273',
      messageReference: null,
      flags: 0,
      author: [User],
      referencedMessage: null,
      interaction: null,
      member: [Member],
      mentionEveryone: false,
      mentions: [],
      roleMentions: [],
      pinned: false,
      tts: false,
      attachments: [],
      embeds: []
    },
    baseObject: [class Message extends Base],
    limit: 100
  },
  lastMessageID: '875247563777929267',
  lastPinTimestamp: null
}
Copyright © Dusty 2021 - 2021