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

Can't get group from regex match #10

Open
emmiegit opened this issue Oct 24, 2018 · 0 comments
Open

Can't get group from regex match #10

emmiegit opened this issue Oct 24, 2018 · 0 comments
Labels

Comments

@emmiegit
Copy link

Oct 24 21:47:25 Lilith pypy3[3692]: Traceback (most recent call last):
Oct 24 21:47:25 Lilith pypy3[3692]:   File "/opt/pypy3.5/site-packages/discord/client.py", line 225, in _run_event
Oct 24 21:47:25 Lilith pypy3[3692]:     await coro(*args, **kwargs)
Oct 24 21:47:25 Lilith pypy3[3692]:   File "/home/mallard/repo/mallard/client.py", line 134, in on_message
Oct 24 21:47:25 Lilith pypy3[3692]:     query = self._clean(message)
Oct 24 21:47:25 Lilith pypy3[3692]:   File "/home/mallard/repo/mallard/client.py", line 123, in _clean
Oct 24 21:47:25 Lilith pypy3[3692]:     if int(match[1]) == self.user.id:
Oct 24 21:47:25 Lilith pypy3[3692]: TypeError: '_sre.SRE_Match' object is not subscriptable
@emmiegit emmiegit added the bug label Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant