Skip to content

Commit

Permalink
Update example.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Starman3787 committed Sep 16, 2024
1 parent a38b4a5 commit 7a5a43f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions example.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import get from "./get.js";
import languages from "./get.js";

console.log(await get.en_us.slash_commands.ping.name);
const language = "en_pr";

console.log(await languages[language].slash_commands.ping.name);

0 comments on commit 7a5a43f

Please sign in to comment.