Error: Cannot find module 'steamid'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\Testing\testbot\reportBot.js:2:20)
at Module._compile (module.js:5702)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:4872)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438)
Config.js
Spoiler
Code:
var config = {
admins: ["341146299988574208"], // people without the admin role that are allowed to use the bot, this is their discord ID
serverID: "231945815575232512", // discord server ID
host: "", // MySQL IP or hostname
user: "", // MySQL username
password: "", // MySQL password
database: "garbage_reports", // MySQL database
reportsDB: "reports", // MySQL report location can't really change this
blockedDB: "blocked", // MySQL blocked location can't really change this
channelName: "bot-reports", // Channel the bot will post reports in, create the channel before running the bot!
commandStr: "!ms ", // !ms block 76561198023897791
SteamAPIKey: "MzQ1ODA2MzUyODUxMDA5NTM3.DHMclg.iEs25x-j0b5HLv5iAgIRxSvRE4c", // SteamAPI Key https://steamcommunity.com/dev/api
adminRole: "Admin", // The role name of people that should be able to use the bot
token: "Censored" // Bot Token
}
module.exports = config;