async def METHOD_NAME(event):
    "To delete paticular note in bot."
    name = event.pattern_match.group(1)
    name = name.lower()
    if catsnip := get_note(name):
        rm_note(name)
    else:
        return await edit_or_reply(
            event, f"Are you sure that #{name} is saved as snip?"
        )
    await edit_or_reply(event, f"`snip #{name} deleted successfully`")