function channel_info() {
  clear_screen();
  let guild_name = "";
  let guild_index = "";
  let channel_index = "";
  if (channel.type === "text") {
    guild_name = guild.name;
    guild_index = client.guilds.array().indexOf(guild);
    channel_index = guild.channels.array().indexOf(channel);
  }
  console_out(
    "Info for channel " +
      channel_name() +
      "\nguild: " +
      guild_name +
      "\nguild_index: " +
      guild_index +
      "\nchannel_index: " +
      channel_index +
      "\ncreated_at: " +
      channel.createdAt +
      "\ntype: " +
      channel.type +
      "\nmemory_allocated: " +
      Math.round((process.memoryUsage().rss / 1024 / 1024) * 100) / 100 +
      "MB" +
      "\nmemory_used: " +
      Math.round((process.memoryUsage().heapUsed / 1024 / 1024) * 100) / 100 +
      "MB"
  );
}
// Shows info for the currently selected channel
Shows info for the currently selected channel
Shows info for the currently selected channel
function channel_info() {
  clear_screen();
  let guild_name = "";
  let guild_index = "";
  let channel_index = "";
  if (channel.type === "text") {
    guild_name = guild.name;
    guild_index = client.guilds.array().indexOf(guild);
    channel_index = guild.channels.array().indexOf(channel);
  }
  console_out(
    "Info for channel " +
      channel_name() +
      "\nguild: " +
      guild_name +
      "\nguild_index: " +
      guild_index +
      "\nchannel_index: " +
      channel_index +
      "\ncreated_at: " +
      channel.createdAt +
      "\ntype: " +
      channel.type +
      "\nmemory_allocated: " +
      Math.round((process.memoryUsage().rss / 1024 / 1024) * 100) / 100 +
      "MB" +
      "\nmemory_used: " +
      Math.round((process.memoryUsage().heapUsed / 1024 / 1024) * 100) / 100 +
      "MB"
  );
}
function channel_info ( ) { clear_screen ( ) ; let guild_name = "" ; let guild_index = "" ; let channel_index = "" ; if ( channel . type === "text" ) { guild_name = guild . name ; guild_index = client . guilds . array ( ) . indexOf ( guild ) ; channel_index = guild . channels . array ( ) . indexOf ( channel ) ; } console_out ( "Info for channel " + channel_name ( ) + "\nguild: " + guild_name + "\nguild_index: " + guild_index + "\nchannel_index: " + channel_index + "\ncreated_at: " + channel . createdAt + "\ntype: " + channel . type + "\nmemory_allocated: " + Math . round ( ( process . memoryUsage ( ) . rss / 1024 / 1024 ) * 100 ) / 100 + "MB" + "\nmemory_used: " + Math . round ( ( process . memoryUsage ( ) . heapUsed / 1024 / 1024 ) * 100 ) / 100 + "MB" ) ; }
Shows info for the currently selected channel
Shows info for the currently selected channel