Skip to content

Commit 9548707

Browse files
committed
prepping for original PR
2 parents f13d526 + 03182de commit 9548707

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
- [pnpm](https://pnpm.io/installation)
5353

5454
> **Note for Windows Users:** [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install-manual) is required.
55+
5556
### Use the Starter (Recommended)
5657

5758
```bash
@@ -147,4 +148,4 @@ pnpm install --include=optional sharp
147148

148149
## Star History
149150

150-
[![Star History Chart](https://api.star-history.com/svg?repos=elizaos/eliza&type=Date)](https://star-history.com/#elizaos/eliza&Date)
151+
[![Star History Chart](https://api.star-history.com/svg?repos=elizaos/eliza&type=Date)](https://star-history.com/#elizaos/eliza&Date)

packages/plugin-solana/src/actions/transfer.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export default {
101101
if (!isTransferContent(runtime, content)) {
102102
if (callback) {
103103
callback({
104-
text: "look, i need like, the token address and stuff to make this work. it's pretty basic protocol stuff, you know?",
104+
text: "Token address needed to send the token.",
105105
content: { error: "Invalid transfer content" },
106106
});
107107
}
@@ -158,7 +158,7 @@ export default {
158158

159159
if (callback) {
160160
callback({
161-
text: `yeah so like, i sent ${content.amount} tokens to ${content.recipient}\nhere's the receipt thing: ${signature}`,
161+
text: `Sent ${content.amount} tokens to ${content.recipient}\nTransaction hash: ${signature}`,
162162
content: {
163163
success: true,
164164
signature,
@@ -173,7 +173,7 @@ export default {
173173
elizaLogger.error("Error during token transfer:", error);
174174
if (callback) {
175175
callback({
176-
text: `uh... there might be a small issue with the transfer: ${error.message}`,
176+
text: `Issue with the transfer: ${error.message}`,
177177
content: { error: error.message },
178178
});
179179
}
@@ -192,7 +192,7 @@ export default {
192192
{
193193
user: "{{user2}}",
194194
content: {
195-
text: "cool cool, sending those tokens now...",
195+
text: "Sending the tokens now...",
196196
action: "SEND_TOKEN",
197197
},
198198
},

packages/plugin-solana/src/actions/transfer_sol.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default {
8989
if (!isSolTransferContent(content)) {
9090
if (callback) {
9191
callback({
92-
text: "yo, i need like, an address and amount to send the SOL. pretty basic stuff.",
92+
text: "Need an address and the amount of SOL to send.",
9393
content: { error: "Invalid transfer content" },
9494
});
9595
}
@@ -122,7 +122,7 @@ export default {
122122

123123
if (callback) {
124124
callback({
125-
text: `sent ${content.amount} SOL, basically fine. here's the proof: ${signature}`,
125+
text: `Sent ${content.amount} SOL. Transaction hash: ${signature}`,
126126
content: {
127127
success: true,
128128
signature,
@@ -137,7 +137,7 @@ export default {
137137
elizaLogger.error("Error during SOL transfer:", error);
138138
if (callback) {
139139
callback({
140-
text: `uh... slight problem with the SOL transfer: ${error.message}`,
140+
text: `Problem with the SOL transfer: ${error.message}`,
141141
content: { error: error.message },
142142
});
143143
}
@@ -156,7 +156,7 @@ export default {
156156
{
157157
user: "{{user2}}",
158158
content: {
159-
text: "sure thing, sending that SOL now...",
159+
text: "Sure thing, SOL on its way.",
160160
action: "SEND_SOL",
161161
},
162162
},

sbf.png

-2.47 MB
Binary file not shown.

0 commit comments

Comments
 (0)