You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
const Monitor = require('../../models/monitor');
|
|
|
|
module.exports = async client => {
|
|
client.misc.cache.monit = {};
|
|
|
|
for await (const tm of Monitor.find()) {
|
|
client.misc.cache.monit[tm.gid] = {
|
|
messages: tm.messages,
|
|
voice: tm.voice
|
|
};
|
|
}
|
|
} |