Table of Contents

Class AsciiBannerService

Namespace
EchoHub.Core.Services
Assembly
EchoHub.Core.dll

Renders short text as a 5-row block-character banner (the /banner command). Entirely local — a hand-rolled figlet-style font, no dependencies, no network. Output is plain message content, so it travels (and encrypts) like any other text.

public static class AsciiBannerService
Inheritance
AsciiBannerService
Inherited Members

Fields

MaxInputLength

public const int MaxInputLength = 20

Field Value

int

Methods

Render(string)

Renders text as banner lines joined with '\n'. Returns null when the input is empty or contains no renderable characters. Characters outside the font (letters, digits, and basic punctuation) are skipped.

public static string? Render(string text)

Parameters

text string

Returns

string