Skip to content

Instantly share code, notes, and snippets.

@AllGistsEqual
Created February 15, 2021 12:40
Show Gist options
  • Save AllGistsEqual/dc9b1e3adc59ea8a310e22b4abf70dae to your computer and use it in GitHub Desktop.
Save AllGistsEqual/dc9b1e3adc59ea8a310e22b4abf70dae to your computer and use it in GitHub Desktop.
// File: src/index.js
// Set default config directory
bot.setConfigDirectory(
path.join(os.homedir(), `.discord-${sanitise(initialConfig.name)}-bot`)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment