diff options
| author | 2019-10-03 03:28:22 -0400 | |
|---|---|---|
| committer | 2019-10-03 03:28:22 -0400 | |
| commit | 000110847972c6d74f57830737f599e0efe9bd3e (patch) | |
| tree | beab0d3aded99df9ae0152c1294bd626a5019132 | |
| parent | Add pride facts cog (diff) | |
Minor improvements for pride facts cog
| -rw-r--r-- | bot/resources/pride/facts.json | 6 | ||||
| -rw-r--r-- | bot/seasons/pride/pride_facts.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bot/resources/pride/facts.json b/bot/resources/pride/facts.json index 0b7a4358..f6597201 100644 --- a/bot/resources/pride/facts.json +++ b/bot/resources/pride/facts.json @@ -3,11 +3,11 @@ "No research has conclusively proven what causes homosexuality, heterosexuality, or bisexuality.", "Records of same-sex relationships have been found in nearly every culture throughout history with varying degrees of acceptance.", "Various slurs targeting queer people have been reappropriated by them, notably \"dyke\", and \"queer\".", - "October 8th is lesbian pride day!", - "Historians note that in some cultures, some homosexual behavior was not viewed as effeminate but as evidence of a man's masculinity. Examples include the Celtic and Greek cultures.", - "Every year for the past few decades, a greater percentage of people have identified as being homosexual or bisexual.", + "Historians note that in some cultures, some homosexual behavior was not viewed as effeminate, but as evidence of a man's masculinity. Examples include the Celtic and Greek cultures.", + "Over time, the proportion of people who identify as homosexual or bisexual appears to be increasing. It is not know if this is because they feel it is safer to come out, or if the actual numbers of homosexual/bisexual people are increasing.", "A large proportion of people, both in and out of the LGBTQ+ communities, do not believe bisexuality exists. This is known as bisexual erasure.", "Queer people commit suicide are much more common in politically conservative regions, and also more common than non-queer people in general.", + "October 8th is lesbian pride day!", "Stormé DeLarverie, a lesbian drag king, had a \"scuffle\" with the police which many claim is what kicked off the Stonewall Riots.", "Gilbert Baker, also known as the “Gay Betsy Ross,” designed the rainbow flag, or Pride Flag, in San Francisco in 1978.", "The rainbow pride flag is well-known, but there are flags for most labeled gender/sexual minorities.", diff --git a/bot/seasons/pride/pride_facts.py b/bot/seasons/pride/pride_facts.py index 90804d65..d691b7e7 100644 --- a/bot/seasons/pride/pride_facts.py +++ b/bot/seasons/pride/pride_facts.py @@ -40,7 +40,7 @@ class PrideFacts(commands.Cog): now = datetime.utcnow() if isinstance(_date, str): try: - date = dateutil.parser.parse(_date, dayfirst=True, fuzzy=True) + date = dateutil.parser.parse(_date, dayfirst=False, yearfirst=False, fuzzy=True) except (ValueError, OverflowError) as err: await ctx.send(f"Error parsing date: {err}") return |