Skip to content

Commit 8b913f1

Browse files
authored
Update automate-right-to-erasure.md
Fixed styling more (curse auto-indent). Replaced other sections that use "DISCORD_BOT_TOKEN" or "GUILDED_BOT_TOKEN" to just use "BOT_TOKEN" for better interchangeability.
1 parent d632132 commit 8b913f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en-us/cloud/webhooks/automate-right-to-erasure.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ After you finish setting up the webhook, bot, and API key for data stores, add t
134134
pip3 install requests
135135
pip3 install urllib3==1.26.6
136136
```
137-
137+
138138
</TabItem>
139139
<TabItem label="Discord">
140140

@@ -146,7 +146,7 @@ After you finish setting up the webhook, bot, and API key for data stores, add t
146146

147147
</TabItem>
148148
<Tabs>
149-
149+
150150
2. Copy and save the following scripts corresponding to different parts of the bot logic in the same directory:
151151

152152
```python title="bot_config.py"
@@ -381,7 +381,7 @@ After you finish setting up the webhook, bot, and API key for data stores, add t
381381
await message.reply(f"Failed to delete ordered data stores data for " +
382382
f"user ID: {user_id}, data: {dict(failures)}")
383383

384-
client.run(bot_config.GUILDED_BOT_TOKEN)
384+
client.run(bot_config.BOT_TOKEN)
385385

386386
if __name__ == "__main__":
387387
run()
@@ -434,7 +434,7 @@ After you finish setting up the webhook, bot, and API key for data stores, add t
434434
await message.reply(f"Failed to delete ordered data stores data for " +
435435
f"user ID: {user_id}, data: {dict(failures)}")
436436

437-
client.run(bot_config.DISCORD_BOT_TOKEN)
437+
client.run(bot_config.BOT_TOKEN)
438438

439439
if __name__ == "__main__":
440440
run()
@@ -445,7 +445,7 @@ After you finish setting up the webhook, bot, and API key for data stores, add t
445445

446446
1. On the **bot_config.py** file for main configuration of the bot:
447447

448-
1. Set `DISCORD_BOT_TOKEN` or `GUILDED_BOT_TOKEN` to the token generated by your bot.
448+
1. Set `BOT_TOKEN` to the token generated by your bot.
449449
2. Set `OPEN_CLOUD_API_KEY` as the API key you created.
450450
3. Set `ROBLOX_WEBHOOK_SECRET` as the secret you set when configuring the webhook on Creator Dashboard.
451451
4. In `STANDARD_DATA_STORE_ENTRIES` and `ORDERED_DATA_STORE_ENTRIES` dictionaries for locating the data store of each record to delete:

0 commit comments

Comments
 (0)