@@ -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+
1501502 . 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
4464461 . 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