2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-10-17 14:35:56 +00:00

merged ban & admin DBs into user DB

This commit is contained in:
Pouria Ezzati
2017-09-27 00:11:20 +03:30
parent c27d1097c3
commit 1219654065
16 changed files with 75 additions and 103 deletions

View File

@@ -12,8 +12,8 @@ const { masterID } = loadJSON('config.json');
const { replyOptions } = require('../../bot/options');
// DB
const { isAdmin, admin } = require('../../stores/admin');
const { isBanned } = require('../../stores/ban');
const { isAdmin, admin } = require('../../stores/user');
const { isBanned } = require('../../stores/user');
const { getWarns, nowarns } = require('../../stores/warn');
const adminHandler = async ({ message, reply }) => {