generated from Baipyrus/DiscordJS-Template
Compare commits
No commits in common. "b76e772ee25548463531f638cf1ba0aa9d187ae4" and "80d4693c3db171c00b55b841fe01a9496a10066b" have entirely different histories.
b76e772ee2
...
80d4693c3d
@ -3,7 +3,6 @@ import defineVoiceChannel from './models/voiceChannels.js';
|
||||
import defineMessage from './models/messages.js';
|
||||
import { Sequelize } from 'sequelize';
|
||||
import { config } from 'dotenv';
|
||||
|
||||
config();
|
||||
|
||||
const { DB_NAME } = process.env;
|
||||
|
@ -3,9 +3,8 @@ import { DataTypes, Sequelize } from 'sequelize';
|
||||
/**
|
||||
* @typedef {Object} Message
|
||||
* @property {string} id A Discord message ID.
|
||||
* @property {(model: Object) => void} hasMany Defines an One-To-Many relationship.
|
||||
* @property {(conditions: Object) => void} findOne Finds one instance in the database matching the provided condition(-s).
|
||||
* @property {(conditions: Object) => void} findAll Finds all instances in the database matching the provided condition(-s).
|
||||
* @method hasMany Defines an One-To-Many relationship.
|
||||
* @param {Object}
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -6,9 +6,6 @@ import { DataTypes, Deferrable, Sequelize } from 'sequelize';
|
||||
* @property {string} message A Discord message ID as a foreign key reference.
|
||||
* @property {string} role A Discord role ID.
|
||||
* @property {string} emoji Either a unicode emoji or a string representation in Discord custom emoji format.
|
||||
* @property {(model: Object) => void} hasMany Defines an One-To-Many relationship.
|
||||
* @property {(conditions: Object) => void} findOne Finds one instance in the database matching the provided condition(-s).
|
||||
* @property {(conditions: Object) => void} findAll Finds all instances in the database matching the provided condition(-s).
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -5,9 +5,6 @@ import { DataTypes, Sequelize } from 'sequelize';
|
||||
* @property {string} id A Discord channel ID.
|
||||
* @property {boolean} create Whether or not this channel is registered to create customs when joined.
|
||||
* @property {(string|null)} owner The owner of this channel, if not registered for customs.
|
||||
* @property {(model: Object) => void} hasMany Defines an One-To-Many relationship.
|
||||
* @property {(conditions: Object) => void} findOne Finds one instance in the database matching the provided condition(-s).
|
||||
* @property {(conditions: Object) => void} findAll Finds all instances in the database matching the provided condition(-s).
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -9,7 +9,7 @@
|
||||
"deploy": "node deploy.js",
|
||||
"lint": "prettier --check . && eslint .",
|
||||
"format": "prettier --write .",
|
||||
"jsdoc": "rm -rf docs/ && jsdoc -c ./.jsdoc.conf.json -d docs/ -r ."
|
||||
"jsdoc": "jsdoc -c ./.jsdoc.conf.json -d docs/ -r ."
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
Loading…
Reference in New Issue
Block a user