Table of Contents

Class TelemetryConfiguration

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

Configuration for Discord client telemetry and Sentry error reporting.

public sealed class TelemetryConfiguration
Inheritance
TelemetryConfiguration
Inherited Members

Constructors

TelemetryConfiguration()

Creates a new telemetry configuration with default values.

TelemetryConfiguration(TelemetryConfiguration)

Creates a clone of another telemetry configuration.

Properties

AttachRecentLogEntries

Whether to attach recent log entries.

Defaults to false.

AttachUserInfo

Whether to attach the bots username and id to sentry reports.

This helps us to pinpoint problems.

Defaults to false.

DeveloperUserId

Your discord user id we can reach out when your bot encounters library bugs.

Will only be transmitted if AttachUserInfo is true.

Defaults to null.

EnableDiscordIdScrubber

Whether to replace every discord-based id with {DISCORD_ID}.

Defaults to false.

EnableSentry

Whether to enable sentry.

This helps us to track missing data and library bugs better.

Defaults to false.

note

Please refer to the docs for more information.

FeedbackEmail

Your email address we can reach out when your bot encounters library bugs.

Will only be transmitted if AttachUserInfo is true.

Defaults to null.