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", "name": "awscibo",
"version": "0.4.1", "version": "0.4.1",
"main": "awesomescibo.mjs", "main": "awesomescibo.js",
"bin": { "bin": {
"awscibo": "./awesomescibo.mjs" "awscibo": "./awesomescibo.js"
}, },
"scripts": { "scripts": {
"test": "node awesomescibo.mjs randomtoken", "test": "node awesomescibo.js randomtoken",
"start": "nodemon awesomescibo.mjs" "start": "nodemon awesomescibo.js"
}, },
"keywords": [ "keywords": [
"discord", "discord",

Loading…
Cancel
Save