From 66d2593a1cf585c6586afe1e16f5b40cc289ab49 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 8 Oct 2024 17:42:48 -0700 Subject: [PATCH] Update joke.py --- modules/games/joke.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/games/joke.py b/modules/games/joke.py index 64f83d8..9526590 100644 --- a/modules/games/joke.py +++ b/modules/games/joke.py @@ -1,3 +1,6 @@ +# This module is used to tell jokes to the user +# The emoji table of contents is used to replace words in the joke with emojis +# As a Ham, is this obsecuring the meaning of the joke? Or is it enhancing it? from dadjokes import Dadjoke # pip install dadjokes from modules.log import * @@ -64,7 +67,7 @@ def tableOfContents(): 'test tube': '๐Ÿงช', 'petri dish': '๐Ÿงซ', 'beaker': '๐Ÿงช', 'bunsen burner': '๐Ÿ”ฅ', 'graduated cylinder': '๐Ÿงช', 'pipette': '๐Ÿงช', 'scalpel': '๐Ÿ”ช', 'syringe': '๐Ÿ’‰', 'pill': '๐Ÿ’Š', 'stethoscope': '๐Ÿฉบ', 'thermometer': '๐ŸŒก๏ธ', 'x-ray': '๐Ÿฉป', 'brain': '๐Ÿง ', 'heart': 'โค๏ธ', 'lung': '๐Ÿซ', 'bone': '๐Ÿฆด', 'muscle': '๐Ÿ’ช', 'robot arm': '๐Ÿฆพ', 'robot leg': '๐Ÿฆฟ', 'prosthetic arm': '๐Ÿฆพ', 'prosthetic leg': '๐Ÿฆฟ', 'wheelchair': '๐Ÿฆฝ', 'crutch': '๐Ÿฆฏ', 'hearing aid': '๐Ÿฆป', 'glasses': '๐Ÿ‘“', 'magnifying glass': '๐Ÿ”', 'circus tent': '๐ŸŽช', - 'locomotive': '๐Ÿš‚', 'arm': '๐Ÿ’ช', 'leg': '๐Ÿฆต', + 'locomotive': '๐Ÿš‚', 'arm': '๐Ÿ’ช', 'leg': '๐Ÿฆต', 'sponge': '๐Ÿงฝ', } return wordToEmojiMap