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