Files
frosty/lib/utils.dart
Tommy Chow 8fab6bdbc9 Add support for 7TV emote update events (#305)
* Get 7TV emote set id

* Add initial support for 7TV emote set events in chat

* Add 7TV emote add/remove alerts in chat

* Add author to 7TV events
2023-11-28 03:21:05 -05:00

10 lines
216 B
Dart

import 'package:frosty/constants.dart';
String getReadableName(String displayName, String username) {
if (!regexEnglish.hasMatch(displayName)) {
return '$displayName ($username)';
}
return displayName;
}