wow that took awhile

This commit is contained in:
cottongin
2025-11-01 10:40:53 -04:00
parent 9143a0bc60
commit bd9513b86c
44 changed files with 4484 additions and 76 deletions

15
bridge/irc/formatting.go Normal file
View File

@@ -0,0 +1,15 @@
package birc
// IRC formatting control codes
const (
IRCBold = "\x02" // Bold
IRCMonospace = "\x11" // Monospace/fixed-width font
IRCReset = "\x0F" // Reset all formatting
)
// FormatRoomCode formats a room code with IRC bold and monospace formatting
// Returns the code wrapped in bold + monospace with a reset at the end
func FormatRoomCode(roomCode string) string {
return IRCBold + IRCMonospace + roomCode + IRCReset
}