Discore
Show / Hide Table of Contents

Property IsNewSession

| Improve this Doc View Source

IsNewSession

Gets whether the shard created a new session.

A new session means that the bot's user presence may have been reset and any cached data is most likely invalid. When false, a resume was completed and any missed Gateway have already been received. Cached data may be kept when a resume occurs.
Declaration
public bool IsNewSession { get; }
Property Value
Type Description
bool
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX