Commit 51d7db20 authored by Jens Langhammer's avatar Jens Langhammer

Hopefully fix mentioning bug

parent 23326886
......@@ -29,7 +29,9 @@ class ARKCog:
def escape_query(self, query) -> str:
"""Escape mentions from queries"""
return query.replace('`', '\`')
if '@' in query:
return ''
return query
async def ark(self, query: str, field_to_return: str = None):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment