mrmBot-Matrix/utils/database.js

6 lines
202 B
JavaScript
Raw Normal View History

// wrapper for the database drivers in ./database/
import { config } from "dotenv";
config();
export default await import(`./database/${process.env.DB ? process.env.DB.split("://")[0] : "dummy"}.js`);