import royalnet.engineer as engi import random _emojis = { "abcd": ["๐Ÿ”ก", "๐Ÿ” "], "back": ["๐Ÿ”™"], "cool": ["๐Ÿ†’"], "free": ["๐Ÿ†“"], "1234": ["๐Ÿ”ข"], "abc": ["๐Ÿ”ค"], "atm": ["๐Ÿง"], "new": ["๐Ÿ†•"], "sos": ["๐Ÿ†˜"], "top": ["๐Ÿ”"], "zzz": ["๐Ÿ’ค"], "end": ["๐Ÿ”š"], "777": ["๐ŸŽฐ"], "100": ["๐Ÿ’ฏ"], "ab": ["๐Ÿ†Ž"], "cl": ["๐Ÿ†‘"], "id": ["๐Ÿ†”"], "ng": ["๐Ÿ†–"], "no": ["โ™‘๏ธ"], "ok": ["๐Ÿ†—"], "on": ["๐Ÿ”›"], "sy": ["๐Ÿ’ฑ"], "tm": ["โ„ข๏ธ"], "wc": ["๐Ÿšพ"], "up": ["๐Ÿ†™"], "!!": ["โ€ผ๏ธ"], "!?": ["โ‰๏ธ"], "69": ["โ™‹๏ธ"], "24": ["๐Ÿช"], "18": ["๐Ÿ”ž"], "10": ["๐Ÿ™Œ", "๐Ÿ”Ÿ", "๐Ÿคฒ"], "a": ["๐Ÿ…ฐ๏ธ"], "b": ["๐Ÿ…ฑ๏ธ"], "c": ["โ˜ช๏ธ", "ยฉ", "๐Ÿฅ"], "d": ["๐Ÿ‡ฉ"], "e": ["๐Ÿ“ง", "๐Ÿ’ถ"], "f": ["๐ŸŽ"], "g": ["๐Ÿ‡ฌ"], "h": ["๐Ÿจ", "๐Ÿฉ", "๐Ÿ‹โ€โ™€", "๐Ÿ‹โ€โ™‚"], "i": ["โ„น๏ธ", "โ™Š๏ธ", "๐Ÿ••"], "j": ["โคด๏ธ"], "k": ["๐ŸŽ‹", "๐Ÿฆ…", "๐Ÿ’ƒ"], "l": ["๐Ÿ›ด", "๐Ÿ•’"], "m": ["โ™๏ธ", "โ“‚๏ธ", "ใ€ฝ๏ธ"], "n": ["๐Ÿ“ˆ"], "o": ["โญ•๏ธ", "๐Ÿ…พ๏ธ", "๐Ÿ“ฏ", "๐ŸŒ", "๐ŸŒš", "๐ŸŒ•", "๐Ÿฅฏ", "๐Ÿ™†โ€โ™€", "๐Ÿ™†โ€โ™‚"], "p": ["๐Ÿ…ฟ๏ธ"], "q": ["๐Ÿ”", "๐Ÿ€", "๐Ÿญ"], "r": ["ยฎ"], "s": ["๐Ÿ’ฐ", "๐Ÿ’ต", "๐Ÿ’ธ", "๐Ÿ’ฒ"], "t": ["โœ๏ธ", "โฌ†๏ธ", "โ˜ฆ๏ธ"], "u": ["โ›Ž", "โš“๏ธ", "๐Ÿ‰", "๐ŸŒ™", "๐Ÿ‹"], "v": ["โœ…", "๐Ÿ”ฝ", "โ˜‘๏ธ", "โœ”๏ธ"], "w": ["๐Ÿคทโ€โ™€", "๐Ÿคทโ€โ™‚", "๐Ÿคพโ€โ™€", "๐Ÿคพโ€โ™‚", "๐Ÿคฝโ€โ™€", "๐Ÿคฝโ€โ™‚"], "x": ["๐Ÿ™…โ€โ™€", "๐Ÿ™…โ€โ™‚", "โŒ", "โŽ"], "y": ["๐Ÿ’ด"], "z": ["โšก๏ธ"], "*": ["*๏ธโƒฃ"], "!": ["โ—๏ธ", "โ•", "โš ๏ธ"], "?": ["โ“", "โ”"], "9": ["9๏ธโƒฃ"], "8": ["๐ŸŽฑ", "8๏ธโƒฃ"], "7": ["7๏ธโƒฃ"], "6": ["6๏ธโƒฃ"], "5": ["โœ‹", "๐Ÿคš", "๐Ÿ‘‹", "5๏ธโƒฃ"], "4": ["4๏ธโƒฃ"], "3": ["๐Ÿฅ‰", "3๏ธโƒฃ"], "2": ["โœŒ๏ธ", "๐Ÿค˜", "๐Ÿฅˆ", "2๏ธโƒฃ"], "1": ["๐Ÿ‘†", "โ˜๏ธ", "๐Ÿ–•", "๐Ÿฅ‡", "1๏ธโƒฃ"], "0": ["โญ•๏ธ", "๐Ÿ…พ๏ธ", "๐Ÿ“ฏ", "๐ŸŒ", "๐ŸŒš", "๐ŸŒ•", "๐Ÿฅฏ", "๐Ÿ™†โ€โ™€", "๐Ÿ™†โ€โ™‚", "0๏ธโƒฃ"], "+": ["๐Ÿฅ"], "/": ["๐Ÿ’", "๐Ÿงช", "๐Ÿงน"], "\\": ["๐Ÿข", "๐Ÿก", "๐Ÿฅ„", "๐ŸŒ‚"], } @engi.TeleportingConversation async def emojify(*, _msg: engi.Message, message: str, **__): """ Converti un messaggio in emoji. """ message = message.lower() for key in _emojis: selected_emoji = random.sample(_emojis[key], 1)[0] message = message.replace(key, selected_emoji) await _msg.reply(text=message) __all__ = ("emojify",)