Skip to content

Commit df49599

Browse files
committed
Fix emoji insertion on button label
1 parent b632cea commit df49599

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/europython_discord/registration

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 `\N{...}` here
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)