Table of Contents

Enum Direction

Namespace
Discord
Assembly
Discord.Net.Core.dll

Specifies the direction of where entities (e.g. bans/messages) should be retrieved from.

public enum Direction

Fields

After = 1

The entity(s) should be retrieved after an entity.

Around = 2

The entity(s) should be retrieved around an entity.

Before = 0

The entity(s) should be retrieved before an entity.

Remarks

This enum is used to specify the direction for retrieving entities.

important

At the time of writing, Around is not yet implemented into GetMessagesAsync(int, CacheMode, RequestOptions). Attempting to use the method with Around will throw a NotImplementedException.