Table of Contents

Method StripIds

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

StripIds(string?, bool)

Removes discord-based ids from a given string.

public static string? StripIds(string? str, bool strip)

Parameters

str string

The string to remove the ids from.

strip bool

Whether to strip discord-based ids.

Returns

string

A new string with the ids replaced with {DISCORD_ID}.