I've fixed the situation by changing the require string to "~/Desktop/ bot/cfg" instead of just "cfg". You guys are awesome, thanks for the help.