mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 08:33:19 +01:00
Add a documentation comment
This commit is contained in:
@@ -49,6 +49,11 @@ namespace Tgstation.Server.Host.Components.Chat.Providers
|
||||
/// </summary>
|
||||
readonly List<ulong> mappedChannels;
|
||||
|
||||
/// <summary>
|
||||
/// Normalize a discord mention string
|
||||
/// </summary>
|
||||
/// <param name="fromDiscord">The mention <see cref="string"/> provided by the Discord library</param>
|
||||
/// <returns>The normalized mention <see cref="string"/></returns>
|
||||
static string NormalizeMention(string fromDiscord) => fromDiscord.Replace("!", "", StringComparison.Ordinal);
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user