182
183
184@UserBot.on_message(filters.command(["weeb", "weebify"], ".") & filters.me)
185async def weebify(bot: UserBot, message: Message):186 cmd = message.command
187
188 raw_text = ""
A function, method or class is being redefined in the same scope. This would override the original definition, and doing this is strongly discouraged. Please verify that this is something that you intended to do. Redefining anything can lead to confusion, decreases code readability and may cause bugs that are difficult to diagnose. It is recommended either to refactor the function/method/class, or choose different names.
def calc(x, y):
return x + y
def calc(x, y):
return x * y
def calc_sum(x, y):
return x + y
def calc_product(x, y):
return x * y