diff options
author | Dmitrii Morozov <snoopdesigns@gmail.com> | 2024-04-12 13:56:20 +0200 |
---|---|---|
committer | Dmitrii Morozov <snoopdesigns@gmail.com> | 2024-04-12 13:56:20 +0200 |
commit | 45c6a88acee5507215c51cc3529acb285790ebfd (patch) | |
tree | b88db999bd99c6b5bcd4335b6db186d235bde6ca /Formatter.py | |
parent | 9c8fcc8a636ed8c1fa6734e4f5ad6ca346830939 (diff) |
Formatting of online message + exception handler for telebot
Diffstat (limited to 'Formatter.py')
-rw-r--r-- | Formatter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Formatter.py b/Formatter.py index e43b782..07499e5 100644 --- a/Formatter.py +++ b/Formatter.py @@ -61,9 +61,9 @@ def formatFriendOnline(display_name: str, party_size: int): if party_size == 1: text = 'is playing Fortnite\!' elif party_size == 2: - text = 'is playing Fortnite with {} friend\!'.format(str(party_size - 1)) + text = 'is playing Fortnite together with {} friend\!'.format(str(party_size - 1)) elif party_size > 2: - text = 'is playing Fortnite with {} friends\!'.format(str(party_size - 1)) + text = 'is playing Fortnite together with {} friends\!'.format(str(party_size - 1)) return formatting.format_text( u'\u2b50', formatting.mbold('{}'.format(display_name)), |