You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: examples/gated-group/README.md
+29-34
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
To create a gated group chat using XMTP, you will need an admin bot within the group to manage member additions and removals. The admin bot will create the group, assign you as the admin, and then verify NFT ownership before adding new members.
4
4
5
+

6
+
5
7
#### Environment variables
6
8
7
9
```bash
@@ -26,45 +28,38 @@ yarn gen:keys
26
28
Start your XMTP client and begin listening to messages. The bot responds to the following commands:
27
29
28
30
-`/create` - Creates a new gated group
29
-
-`/add <wallet_address> <group_id>` - Adds a wallet to an existing group (if they own the required NFT)
Copy file name to clipboardexpand all lines: examples/gated-group/index.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ async function main() {
83
83
);
84
84
85
85
awaitconversation.send(
86
-
`Group created!\n- ID: ${group.id}\n- Group URL: https://xmtp.chat/conversations/${group.id}: \n- This url will deeplink to the group created\n- Once in the other group you can share the invite with your friends.\n- You can add more members to the group by using the /add <group.id> <wallet-address>.`,
86
+
`Group created!\n- ID: ${group.id}\n- Group URL: https://xmtp.chat/conversations/${group.id}: \n- This url will deeplink to the group created\n- Once in the other group you can share the invite with your friends.\n- You can add more members to the group by using the /add <group_id> <wallet_address>.`,
0 commit comments