Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There's a better way to parse mentions #23

Open
drzel opened this issue Jul 30, 2021 · 0 comments
Open

There's a better way to parse mentions #23

drzel opened this issue Jul 30, 2021 · 0 comments

Comments

@drzel
Copy link
Member

drzel commented Jul 30, 2021

20:37] drzel: Is there a method to convert @mention strings to user_id? right now I'm mention[/\d+/] which works but seems a bit hacky
[20:39] snapcase: https://drb.shardlab.dev/main/Discordrb/Bot.html#parse_mention-instance_method
https://drb.shardlab.dev/main/Discordrb/Bot.html#parse_mentions-instance_method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant