Skip to content

Commit

Permalink
๐Ÿ“ Added funnyfont upside down
Browse files Browse the repository at this point in the history
  • Loading branch information
wiki-Bird committed Jul 3, 2024
1 parent d49204b commit 31107a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 207 deletions.
9 changes: 7 additions & 2 deletions src/commands/funnyfont.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ const funnyfont: Command = {
.setRequired(false)
.addChoices(
{ name: "cool edgy", value: "cooledgy" },
{ name: "cursive", value: "cursive" }
{ name: "cursive", value: "cursive" },
{ name: "upside down", value: "upsidedown" }
)
)
.setDescription('Makes text into a funny font'),

execute: async function (interaction: CommandInteraction<'cached' | 'raw'>): Promise<void> {
const text = interaction.options.getString("text", true);
const font = interaction.options.getString("font", false) || "cooledgy";
const font = interaction.options.getString("font", false) || "cursive";

let lowerCaseOut: Array<string>;
let upperCaseOut: Array<string>;
Expand All @@ -42,6 +43,10 @@ const funnyfont: Command = {
lowerCaseOut = ['๐“ช', '๐“ซ', '๐“ฌ', '๐“ญ', '๐“ฎ', '๐“ฏ', '๐“ฐ', '๐“ฑ', '๐“ฒ', '๐“ณ', '๐“ด', '๐“ต', '๐“ถ', '๐“ท', '๐“ธ', '๐“น', '๐“บ', '๐“ป', '๐“ผ', '๐“ฝ', '๐“พ', '๐“ฟ', '๐”€', '๐”', '๐”‚', '๐”ƒ'];
upperCaseOut = ['๐“', '๐“‘', '๐“’', '๐““', '๐“”', '๐“•', '๐“–', '๐“—', '๐“˜', '๐“™', '๐“š', '๐“›', '๐“œ', '๐“', '๐“ž', '๐“Ÿ', '๐“ ', '๐“ก', '๐“ข', '๐“ฃ', '๐“ค', '๐“ฅ', '๐“ฆ', '๐“ง', '๐“จ', '๐“ฉ'];
}
else if (font ==="upsidedown") {
lowerCaseOut = ["ษ","q","ษ”","p","ว","ษŸ","ฦƒ","ษฅ","แด‰","ษพ","สž","l","ษฏ","u","o","d","b","ษน","s","ส‡","n","สŒ","ส","x","สŽ","z"];
upperCaseOut = ["โˆ€","q","ฦ†","p","ฦŽ","โ„ฒ","ืค","H","I","ลฟ","สž","หฅ","W","N","O","ิ€","Q","ษน","S","โ”ด","โˆฉ","ฮ›","M","X","โ…„","Z"];
}
else{
return;
}
Expand Down
205 changes: 0 additions & 205 deletions src/commands/textedit.ts

This file was deleted.

0 comments on commit 31107a3

Please sign in to comment.