Basic housekeeping, as well as very basic work on per-channel !toke commands
This commit is contained in:
parent
dc01b8a15a
commit
575244ac53
22 changed files with 139 additions and 35 deletions
|
|
@ -15,8 +15,8 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
||||
|
||||
//local imports
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils.js');
|
||||
const channelModel = require('../../../schemas/channel/channelSchema.js');
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils');
|
||||
const channelModel = require('../../../schemas/channel/channelSchema');
|
||||
|
||||
//api list channel functions
|
||||
module.exports.get = async function(req, res){
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
||||
|
||||
//local imports
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils.js');
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils');
|
||||
const {userModel} = require('../../../schemas/userSchema');
|
||||
|
||||
//api list account functions
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
|||
const {validationResult, matchedData} = require('express-validator');
|
||||
|
||||
//local imports
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils.js');
|
||||
const permissionModel = require('../../../schemas/permissionSchema.js');
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils');
|
||||
const permissionModel = require('../../../schemas/permissionSchema');
|
||||
|
||||
//api permissions functions
|
||||
module.exports.get = async function(req, res){
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
|||
const {validationResult, matchedData} = require('express-validator');
|
||||
|
||||
//local imports
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils.js');
|
||||
const tokeCommandModel = require('../../../schemas/tokebot/tokeCommandSchema.js');
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils');
|
||||
const tokeCommandModel = require('../../../schemas/tokebot/tokeCommandSchema');
|
||||
|
||||
module.exports.get = async function(req, res){
|
||||
try{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue