Browse Source

Update package.json to reflect new file names

pull/9/head
Abheek Dhawan 4 years ago
parent
commit
9854fb2f37
  1. 14
      bot/mongooseModels/mongooseGeneratedRoundModel.js
  2. 8
      bot/package.json

14
bot/mongooseModels/mongooseGeneratedRoundModel.js

@ -0,0 +1,14 @@
const mongoose = require("mongoose");
const generatedRoundSchema = new mongoose.Schema({
htmlContent: {
type: String,
required: true,
},
requestedBy: {
type: String,
required: true,
},
});
module.exports = mongoose.model("GeneratedRounds", generatedRoundSchema);

8
bot/package.json

@ -10,13 +10,13 @@
},
"name": "awscibo",
"version": "0.4.1",
"main": "awesomescibo.mjs",
"main": "awesomescibo.js",
"bin": {
"awscibo": "./awesomescibo.mjs"
"awscibo": "./awesomescibo.js"
},
"scripts": {
"test": "node awesomescibo.mjs randomtoken",
"start": "nodemon awesomescibo.mjs"
"test": "node awesomescibo.js randomtoken",
"start": "nodemon awesomescibo.js"
},
"keywords": [
"discord",

Loading…
Cancel
Save