Disregarding the fact that only a single token is being processed and that the token syntax is fucked all over, that's a perfect case - as always - for dynamic dispatch and strategy pattern
>parse input string into token & text pair
>has token strategy object configured for token?
>execute token strategy with text
Literally 3 lines of code.

AI https://github.com/htadashi/GPT3-AHK
format | mime-type
tokenization
etymology

ID-guess:
	[Website]:
	[Invite]:
	[Token]: