Go to file
Carter Penterman 3a167cf686
Some checks failed
continuous-integration/drone/push Build is failing
Parse map models and validate them (#13)
The enhancements:
- Added map validation that checks for some common errors that maps have
- /take: Does map validation but will still take the map even if there are problems
- /take: Improved the help text and added links to the maptest places
- /submit: Does map validation and will not let you submit if there are problems
- /submissions: Now shows the map's display name and creator
- Added an ESLint config and tidied some things up
- Updated some of the packages

Reviewed-on: #13
Co-authored-by: Carter Penterman <carterpenterman@gmail.com>
Co-committed-by: Carter Penterman <carterpenterman@gmail.com>
2024-04-24 06:28:07 +00:00
commands Parse map models and validate them (#13) 2024-04-24 06:28:07 +00:00
config Parse map models and validate them (#13) 2024-04-24 06:28:07 +00:00
files added submissions 2022-05-13 12:01:16 -05:00
.drone.yml Update CI to new infra 2022-11-15 21:57:35 -05:00
.gitignore update gitignore 2022-05-12 15:00:37 -05:00
bot.js Parse map models and validate them (#13) 2024-04-24 06:28:07 +00:00
common.js Parse map models and validate them (#13) 2024-04-24 06:28:07 +00:00
deploy-commands.js Add CI files 2022-06-17 23:26:52 -04:00
Dockerfile Revert "if at first you fail try again" 2024-04-18 15:07:02 -07:00
eslint.config.mjs Parse map models and validate them (#13) 2024-04-24 06:28:07 +00:00
LICENSE Create LICENSE 2022-05-13 14:57:01 -05:00
package.json Parse map models and validate them (#13) 2024-04-24 06:28:07 +00:00
README.md feature/verify-submit (#1) 2022-07-12 02:09:07 +00:00

maptest bot

to setup (requires node.js):

  • (in the config folder) create a copy of example_config.json named config.json
  • fill out empty values with correct values in config.json (token is discord token, cookie is .ROBLOSECURITY cookie, clientId is the bot's ID (right click bot in discord then choose copy ID with developer mode enabled))
  • install dependencies
npm install
  • register slash commands globally (this only needs to be ran once)
node deploy-commands.js
  • run the bot
node bot.js

also, the bot requires the bot and applications.commands scope, which can be found in developer portal -> bot -> oauth2 -> url generator -> scopes, simply generate link with the bot and applications.commands scopes checked then add bot to server (can be done if bot already in server). no other permissions are needed.

finally, the bhop/surf/deathrun cookies in the config.json require the full _|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_ text, so include it