diff options
Diffstat (limited to 'bot')
-rw-r--r-- | bot/resources/snakes/snake_facts.json | 20 | ||||
-rw-r--r-- | bot/seasons/evergreen/snakes/utils.py | 2 |
2 files changed, 11 insertions, 11 deletions
diff --git a/bot/resources/snakes/snake_facts.json b/bot/resources/snakes/snake_facts.json index 49b5a80e..ca9ba769 100644 --- a/bot/resources/snakes/snake_facts.json +++ b/bot/resources/snakes/snake_facts.json @@ -3,10 +3,10 @@ "fact": "The decapitated head of a dead snake can still bite, even hours after death. These types of bites usually contain huge amounts of venom." }, { - "fact": "What is considered the most “dangerous” snake depends on both a specific country’s health care and the availability of antivenom following a bite. Based on these criteria, the most dangerous snake in the world is the saw-scaled viper, which bites and kills more people each year than any other snake." + "fact": "What is considered the most 'dangerous' snake depends on both a specific country’s health care and the availability of antivenom following a bite. Based on these criteria, the most dangerous snake in the world is the saw-scaled viper, which bites and kills more people each year than any other snake." }, { - "fact": "Snakes live on everywhere on Earth except Ireland, Iceland, New Zealand, and the North and South Poles.a" + "fact": "Snakes live everywhere on Earth except Ireland, Iceland, New Zealand, and the North and South Poles." }, { "fact": "Of the approximately 725 species of venomous snakes worldwide, 250 can kill a human with one bite." @@ -54,7 +54,7 @@ "fact": "Some snakes have been known to explode after eating a large meal. For example, a 13-foot python blew up after it tried to eat a 6-foot alligator. The python was found with the alligator’s tail protruding from its midsection. Its head was missing." }, { - "fact": "The word “snake” is from the Proto-Indo-European root *sneg -, meaning “to crawl, creeping thing.” The word “serpent” is from the Proto-Indo-European root *serp -, meaning “to crawl, creep.”" + "fact": "The word 'snake' is from the Proto-Indo-European root *sneg -, meaning 'to crawl, creeping thing.' The word 'serpent' is from the Proto-Indo-European root *serp -, meaning 'to crawl, creep.'" }, { "fact": "Rattlesnake rattles are made of rings of keratin, which is the same material as human hair and fingernails. A rattler will add a new ring each time it sheds its skin." @@ -84,7 +84,7 @@ "fact": "A snake’s fangs usually last about 6–10 weeks. When a fang wears out, a new one grows in its place." }, { - "fact": "Because the end of a snake’s tongue is forked, the two tips taste different amounts of chemicals. Essentially, a snake “smells in stereo” and can even tell which direction a smell is coming from. It identifies scents on its tongue using pits in the roof of its mouth called the Jacobson’s organ." + "fact": "Because the end of a snake’s tongue is forked, the two tips taste different amounts of chemicals. Essentially, a snake 'smells in stereo' and can even tell which direction a smell is coming from. It identifies scents on its tongue using pits in the roof of its mouth called the Jacobson’s organ." }, { "fact": "The amount of food a snake eats determines how many offspring it will have. The Arafura file snake eats the least and lays just one egg every decade." @@ -141,7 +141,7 @@ "fact": "Elephant trunk snakes are almost completely aquatic. They cannot slither because they lack the broad scales in the belly that help other snakes move on land. Rather, elephant trunk snakes have large knobby scales to hold onto slippery fish and constrict them underwater." }, { - "fact": "The shortest known snake is the thread snake. It is about 4 inches long and lives on the island of Barbados in the Caribbean. It is said to be as “thin as spaghetti” and it feeds primarily on termites and larvae." + "fact": "The shortest known snake is the thread snake. It is about 4 inches long and lives on the island of Barbados in the Caribbean. It is said to be as 'thin as spaghetti' and it feeds primarily on termites and larvae." }, { "fact": "In 2009, a farm worker in East Africa survived an epic 3-hour battle with a 12-foot python after accidentally stepping on the large snake. It coiled around the man and carried him into a tree. The man wrapped his shirt over the snake’s mouth to prevent it from swallowing him, and he was finally rescued by police after calling for help on his cell phone." @@ -150,7 +150,7 @@ "fact": "The venom from a Brazilian pit viper is used in a drug to treat high blood pressure." }, { - "fact": "The word “cobra” means “hooded.” Some cobras have large spots on the back of their hood that look like eyes to make them appear intimating even from behind." + "fact": "The word 'cobra' means 'hooded.' Some cobras have large spots on the back of their hood that look like eyes to make them appear intimating even from behind." }, { "fact": "Some desert snakes, such as the African rock python, sleep during the hottest parts of the desert summer. This summer sleep is similar to hibernation and is called “aestivation.”" @@ -201,7 +201,7 @@ "fact": "In the United States, fewer than 1 in 37,500 people are bitten by venomous snakes each year (7,000–8,000 bites per year), and only 1 in 50 million people will die from snake bite (5–6 fatalities per year). In the U.S., a person is 9 times more likely to die from being struck by lightening than to die from a venomous snakebite." }, { - "fact": "Some members of the U.S. Army Special Forces are taught to kill and eat snakes during their survival training, which has earned them the nickname “Snake Eaters.”" + "fact": "Some members of the U.S. Army Special Forces are taught to kill and eat snakes during their survival training, which has earned them the nickname 'Snake Eaters.'" }, { "fact": "One of the great feats of the legendary Greek hero Perseus was to kill Medusa, a female monster whose hair consisted of writhing, venomous snakes." @@ -216,7 +216,7 @@ "fact": "The snake has held various meanings throughout history. For example, The Egyptians viewed the snake as representing royalty and deity. In the Jewish rabbinical tradition and in Hinduism, it represents sexual passion and desire. And the Romans interpreted the snake as a symbol of eternal love." }, { - "fact": "Anacondas mate in a huge “breeding ball.” The ball consists of 1 female and nearly 12 males. They stay in a “mating ball” for up to a month." + "fact": "Anacondas mate in a huge 'breeding ball.' The ball consists of 1 female and nearly 12 males. They stay in a 'mating ball' for up to a month." }, { "fact": "Depending on the species, snakes can live from 4 to over 25 years." @@ -228,6 +228,6 @@ "fact": "Endangered snakes include the San Francisco garter snake, eastern indigo snake, the king cobra, and Dumeril’s boa." }, { - "fact": "A mysterious, new “mad snake disease” causes captive pythons and boas to tie themselves in knots. Other symptoms include “stargazing,” which is when snakes stare upwards for long periods of time. Snake experts believe a rodent virus causes the fatal disease." + "fact": "A mysterious, new 'mad snake disease' causes captive pythons and boas to tie themselves in knots. Other symptoms include 'stargazing,' which is when snakes stare upwards for long periods of time. Snake experts believe a rodent virus causes the fatal disease." } -]
\ No newline at end of file +] diff --git a/bot/seasons/evergreen/snakes/utils.py b/bot/seasons/evergreen/snakes/utils.py index 605c7ef3..ec280223 100644 --- a/bot/seasons/evergreen/snakes/utils.py +++ b/bot/seasons/evergreen/snakes/utils.py @@ -117,7 +117,7 @@ ANGLE_RANGE = math.pi * 2 def get_resource(file: str) -> List[dict]: - with (SNAKE_RESOURCES / f"{file}.json").open() as snakefile: + with (SNAKE_RESOURCES / f"{file}.json").open(encoding="utf-8") as snakefile: return json.load(snakefile) |