mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Alphabet Reverse
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"a": "z",
|
||||
"b": "y",
|
||||
"c": "x",
|
||||
"d": "w",
|
||||
"e": "v",
|
||||
"f": "u",
|
||||
"g": "t",
|
||||
"h": "s",
|
||||
"i": "r",
|
||||
"j": "q",
|
||||
"k": "p",
|
||||
"l": "o",
|
||||
"m": "n",
|
||||
"n": "m",
|
||||
"o": "l",
|
||||
"p": "k",
|
||||
"q": "j",
|
||||
"r": "i",
|
||||
"s": "h",
|
||||
"t": "g",
|
||||
"u": "f",
|
||||
"v": "e",
|
||||
"w": "d",
|
||||
"x": "c",
|
||||
"y": "b",
|
||||
"z": "a",
|
||||
"A": "Z",
|
||||
"B": "Y",
|
||||
"C": "X",
|
||||
"D": "W",
|
||||
"E": "V",
|
||||
"F": "U",
|
||||
"G": "T",
|
||||
"H": "S",
|
||||
"I": "R",
|
||||
"J": "Q",
|
||||
"K": "P",
|
||||
"L": "O",
|
||||
"M": "N",
|
||||
"N": "M",
|
||||
"O": "L",
|
||||
"P": "K",
|
||||
"Q": "J",
|
||||
"R": "I",
|
||||
"S": "H",
|
||||
"T": "G",
|
||||
"U": "F",
|
||||
"V": "E",
|
||||
"W": "D",
|
||||
"X": "C",
|
||||
"Y": "B",
|
||||
"Z": "A",
|
||||
"0": "9",
|
||||
"1": "8",
|
||||
"2": "7",
|
||||
"3": "6",
|
||||
"4": "5",
|
||||
"5": "4",
|
||||
"6": "3",
|
||||
"7": "2",
|
||||
"8": "1",
|
||||
"9": "0"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const { letterTrans } = require('custom-translate');
|
||||
const dictionary = require('../../assets/json/alphabet-reverse');
|
||||
|
||||
module.exports = class AlphabetReverseCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'alphabet-reverse',
|
||||
aliases: ['reverse-alphabet', 'tebahpla'],
|
||||
group: 'text-edit',
|
||||
memberName: 'alphabet-reverse',
|
||||
description: 'Reverses the alphabet of text.',
|
||||
args: [
|
||||
{
|
||||
key: 'text',
|
||||
prompt: 'What text would you like to reverse the alphabet of?',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
run(msg, { text }) {
|
||||
return msg.say(letterTrans(text, dictionary));
|
||||
}
|
||||
};
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "42.2.1",
|
||||
"version": "42.3.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Shard.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user