feat: add advanced translator cog with proxy and languages
Introduces multilingual translation cog supporting fantasy languages Adds proxying features for role-playing with sonas and auto-translation Includes admin commands for managing custom languages and context menus Replaces basic translation with enhanced functionality for Discord bot
This commit is contained in:
8
translator/languages/morsecode.py
Normal file
8
translator/languages/morsecode.py
Normal file
@@ -0,0 +1,8 @@
|
||||
MAP = {'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':'--..','1':'.----','2':'..---','3':'...--','4':'....-','5':'.....','6':'-....','7':'--...','8':'---..','9':'----.','0':'-----',' ':'/'}
|
||||
|
||||
def get_language():
|
||||
return {
|
||||
'name': 'Morse Code',
|
||||
'type': 'special',
|
||||
'map': MAP
|
||||
}
|
||||
Reference in New Issue
Block a user