Skip to content

Commit 3ca3b3e

Browse files
committedMay 10, 2025
Fix emoji insertion on button label
1 parent b632cea commit 3ca3b3e

File tree

1 file changed

+2
-1
lines changed
  • src/europython_discord/registration

1 file changed

+2
-1
lines changed
 

‎src/europython_discord/registration/cog.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515

1616
_logger = logging.getLogger(__name__)
1717

18-
REGISTRATION_BUTTON_LABEL = "Register here :point_left:"
18+
# Discord's colon-syntax `:point_left: does not work in button labels`, so we use Python's syntax
19+
REGISTRATION_BUTTON_LABEL = "Register here \N{WHITE LEFT POINTING BACKHAND INDEX}"
1920
WELCOME_MESSAGE_TITLE = "## Welcome to EuroPython 2025 on Discord! :tada::snake:"
2021

2122

0 commit comments

Comments
 (0)