diff options
| author | 8cy <[email protected]> | 2020-06-14 05:28:23 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-06-14 05:28:23 -0700 |
| commit | 427d2ac085a21ac562f6f2f768ca8017430eb135 (patch) | |
| tree | 6a58dc40277bd545e6a890bcb528cf305ac561d9 /src/bot.ts | |
| parent | add whois, change versioning in package.json (diff) | |
| download | dep-core-427d2ac085a21ac562f6f2f768ca8017430eb135.tar.xz dep-core-427d2ac085a21ac562f6f2f768ca8017430eb135.zip | |
more config shit
Diffstat (limited to 'src/bot.ts')
| -rw-r--r-- | src/bot.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ import { CommandoClient } from 'discord.js-commando'; import Welcome from './models/welcome.js'; import Goodbye from './models/goodbye.js'; import mongoose from 'mongoose'; -mongoose.connect('mongodb://sin:[email protected]:47107/heroku_4qrjvmb9', { useNewUrlParser: true, useUnifiedTopology: true }) +mongoose.connect(config['mongodburi'], { useNewUrlParser: true, useUnifiedTopology: true }) import path from 'path'; // @ts-ignore emoji-random doesnt have types import emoji from 'emoji-random'; |