Fixed seasons roles reloading while bot reloading

This commit is contained in:
KaKi87 2020-05-07 18:51:09 +02:00
parent 55e0103f11
commit 870f376576
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ Client.on('ready', () => {
};
checkPreDB();
}
if(config.categories.seasons){
if(config.categories.seasons && !seasonsRoles.length){
show.getAllSeasonsNumbers(res => {
(async() => {
for(let i = res.length - 1; i >= 0; i--){