Skip to content

Commit

Permalink
fix: reverted for PR review
Browse files Browse the repository at this point in the history
Removing the last push to main to have the changes reviewed and tested in PSkinnerTech-Construct.
PSkinnerTech committed Feb 8, 2024
1 parent b869b40 commit c2f55d8
Showing 7 changed files with 6 additions and 119 deletions.
1 change: 0 additions & 1 deletion languages/strings/en.json
Original file line number Diff line number Diff line change
@@ -28,7 +28,6 @@
"guides-tutorials-token": "Build a Token",
"guides-tutorials-dao": "Start a Custom Dao",
"guides-tutorials-bot": "Spawn an Autonomous Agent",
"guides-tutorials-rabbithole": "Into The Construct",
"guides-aos": "aos",
"guides-aos-intro": "Introduction",
"guides-aos-installing": "Installing",
12 changes: 4 additions & 8 deletions src/.vitepress/locales.js
Original file line number Diff line number Diff line change
@@ -110,10 +110,6 @@ export const localeConfig = (langCode) => ({
text: get_i18n_str(langCode, "guides-tutorials-bot"),
link: get_i18n_link(langCode, "/guides/tutorials/bot"),
},
{
text: get_i18n_str(langCode, "guides-tutorials-rabbithole"),
link: get_i18n_link(langCode, "/guides/tutorials/rabbithole"),
},
],
},
{
@@ -172,7 +168,7 @@ export const localeConfig = (langCode) => ({
text: get_i18n_str(langCode, "guides-installing-connect"),
link: get_i18n_link(
langCode,
"/guides/aoconnect/installing-connect"
"/guides/aoconnect/installing-connect",
),
},
{
@@ -183,21 +179,21 @@ export const localeConfig = (langCode) => ({
text: get_i18n_str(langCode, "guides-sending-messages"),
link: get_i18n_link(
langCode,
"/guides/aoconnect/sending-messages"
"/guides/aoconnect/sending-messages",
),
},
{
text: get_i18n_str(langCode, "guides-reading-results"),
link: get_i18n_link(
langCode,
"/guides/aoconnect/reading-results"
"/guides/aoconnect/reading-results",
),
},
{
text: get_i18n_str(langCode, "guides-spawning-processes"),
link: get_i18n_link(
langCode,
"/guides/aoconnect/spawning-processes"
"/guides/aoconnect/spawning-processes",
),
},
],
1 change: 0 additions & 1 deletion src/guides/tutorials/chapter2/index.md

This file was deleted.

1 change: 0 additions & 1 deletion src/guides/tutorials/chapter2/item1.md

This file was deleted.

16 changes: 2 additions & 14 deletions src/guides/tutorials/chatroom.md
Original file line number Diff line number Diff line change
@@ -24,21 +24,9 @@ We will adopt an iterative development approach, utilizing the `.load` feature o
### Step 3: Load Your Script in aos

- Save `chatroom.lua`.
- In the aos CLI, load the `chatroom.lua` file into aos by typing the following command into aos.

```lua
aos> .load chatroom.lua
```

- In the aos CLI, type `.load chatroom.lua` to incorporate your script into the aos process.
- Verify the initialization by typing `Weavers` in aos. It should return an empty array `[]`.

```lua
-- Type this into aos
aos> Weavers
-- This is the expected output
{ }
```

## Implementing Chatroom Functionalities

### Register Handler
@@ -92,7 +80,7 @@ aos> Weavers

2. **Reload and Test**:

- Save changes and reload in aos. _Follow Step 3 of "Setting Up Your Environment" to reload the script._
- Save changes and reload in aos.
- Test broadcasting:
```lua
Send({Target = ao.id, Tags = { Action = "Broadcast" }, Data = "Hello World" })
91 changes: 0 additions & 91 deletions src/guides/tutorials/rabbithole.md

This file was deleted.

3 changes: 0 additions & 3 deletions src/public/white_rabbit_outline.svg

This file was deleted.

0 comments on commit c2f55d8

Please sign in to comment.