Etymology
Today it means: In a discreditable manner Full definition →
From discreditable + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.