Method Dispose | Improve this Doc View Source Dispose() Clears the cache and unsubscribes from shard and Gateway events. Declaration public void Dispose() Implements IDisposable.Dispose()