Heroku/hikka/compat/geek.py

8 lines
179 B
Python

def compat(code: str) -> str:
"""Reformats modules, built for GeekTG to work with Hikka"""
code = code.replace("GeekInlineQuery", "InlineQuery")
return code