Skip to content

Commit

Permalink
Add to readme and fix some stuffings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonfor committed Dec 13, 2024
1 parent 0d80be9 commit 73cef0b
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 86 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,19 @@ you [here](https://discordjs.guide/preparations/setting-up-a-bot-application.htm
Nonna says to run `yarn install` for all the ~~ingredients~~ dependencies to install. Don't @ her with your npm
garbagio.

Finally, it is very important to `yarn start` at just the right temperature to "shape of Italy" the botini.
Finally, it is very important to `yarn start` at just the right temperature to "shape of Italy" the Nonna bot.

Permissions needed are:

bot
Send Messages
Send Messages in Threads (Not in use but might be)
Embed Links
Read Message History
Add Reactions
Use Slash Commands (For the future)

You also need to turn on the following in the Bot section of the Discord developers applications:

Server Members Intent
Message Content Intent
76 changes: 0 additions & 76 deletions data/pasta.json

This file was deleted.

10 changes: 6 additions & 4 deletions data/pastas.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
"Bavette",
"Bigoli",
"Bucatini",
"Busiate (or busiati)",
"Busiate",
"Busiati",
"Capellini",
"Fedelini",
"Ferrazzuoli",
"Fettuccine",
"Fileja",
"Lagane[25]",
"Lagane",
"Lasagne",
"Lasagnette",
"Lasagnotte",
Expand Down Expand Up @@ -99,7 +100,8 @@
"Sagnarelli",
"Sedani",
"Spirali",
"Spiralini (Scharfalini)",
"Spiralini",
"Scharfalini",
"Strapponi",
"Strozzapreti",
"Testaroli",
Expand Down Expand Up @@ -129,7 +131,7 @@
"Ditali",
"Egg barley",
"Farfalline",
"Fideos[126]",
"Fideos",
"Filini",
"Fregula",
"Funghini",
Expand Down
1 change: 1 addition & 0 deletions scripts/update-pantry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { fetchPastas } from "../src/pasta.js";
import * as fs from "node:fs";

const pastas = fetchPastas();
const json = JSON.stringify(pastas, null, 2);
Expand Down
1 change: 0 additions & 1 deletion src/pasta.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { parse } from "node-html-parser";
import fs from "node:fs";

export async function fetchPastas() {
const response = await fetch(
Expand Down
10 changes: 6 additions & 4 deletions src/pasta.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ describe("pastas", () => {
"Bavette",
"Bigoli",
"Bucatini",
"Busiate (or busiati)",
"Busiate",
"Busiati",
"Capellini",
"Fedelini",
"Ferrazzuoli",
"Fettuccine",
"Fileja",
"Lagane[25]",
"Lagane",
"Lasagne",
"Lasagnette",
"Lasagnotte",
Expand Down Expand Up @@ -105,7 +106,8 @@ describe("pastas", () => {
"Sagnarelli",
"Sedani",
"Spirali",
"Spiralini (Scharfalini)",
"Spiralini",
"Scharfalini",
"Strapponi",
"Strozzapreti",
"Testaroli",
Expand Down Expand Up @@ -135,7 +137,7 @@ describe("pastas", () => {
"Ditali",
"Egg barley",
"Farfalline",
"Fideos[126]",
"Fideos",
"Filini",
"Fregula",
"Funghini",
Expand Down

0 comments on commit 73cef0b

Please sign in to comment.