← back to browse
goat command grade A

manageprefix

Manage prefix settings for the bot

0
views
0
likes
0
installs

Aliases: mp

analysis — static scan, nothing executed
0 grade A
No known red flags found
Security 89
Privacy 100
Quality 86
Maintenance 90
Community 0
low Dynamic require 4×

require() is called with a value computed at runtime, so the loaded module cannot be known from reading the file.

L59global.GoatBot.config = require(global.client.dirConfig);
L75global.GoatBot.config = require(global.client.dirConfig);
L92global.GoatBot.config = require(global.client.dirConfig);
L113global.GoatBot.config = require(global.client.dirConfig);
low Filesystem access

Reads or writes files on the machine running the bot.

L2const fs = require("fs-extra");
capabilities — what this file can do, regardless of intent
Network Filesystem Shell Env vars Dynamic code Session data Installs packages Process control
dependencies

fs-extra

checks
Exports a command/module
Handles errors (try/catch or .catch)
Readable, not minified
Has explanatory comments
No deprecated dependencies
Reasonable size (< 200 KB)
raw source — loaded on demand
Loading source…

View raw file · View analysis as JSON