fix errors
This commit is contained in:
parent
9de5c73952
commit
5ccddc474d
@ -56,8 +56,8 @@ export class SqueebotCLI {
|
|||||||
case 'upd':
|
case 'upd':
|
||||||
case 'update':
|
case 'update':
|
||||||
if (!args[1]) {
|
if (!args[1]) {
|
||||||
const repos = this.bot.repositoryManager.getAll();
|
const repolist = this.bot.repositoryManager.getAll();
|
||||||
for (const repo of repos) {
|
for (const repo of repolist) {
|
||||||
await this.checkUpdate(repo);
|
await this.checkUpdate(repo);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
@ -306,7 +306,7 @@ export class SqueebotCLI {
|
|||||||
if (idx !== -1) {
|
if (idx !== -1) {
|
||||||
chan2.plugins.splice(idx, 1);
|
chan2.plugins.splice(idx, 1);
|
||||||
}
|
}
|
||||||
logger.log('Plugin "%s" added to channel!', name);
|
logger.log('Plugin "%s" removed from channel!', name);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user