mirror of
https://github.com/arthur-pbty/bot-discord-coins.git
synced 2026-06-07 23:04:42 +02:00
update saymorse
This commit is contained in:
@@ -10,32 +10,33 @@ module.exports = {
|
||||
async execute(message, args, client) {
|
||||
message.delete()
|
||||
const morseCode = {
|
||||
"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": "--..",
|
||||
"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": "--.. ",
|
||||
" ": " "
|
||||
};
|
||||
|
||||
const convertToMorse = (str) => {
|
||||
|
||||
Reference in New Issue
Block a user