mirror of
https://github.com/danbulant/ssps-bot
synced 2026-07-05 11:00:47 +00:00
formatting
This commit is contained in:
parent
593fa2cea9
commit
4bef072456
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ module.exports = class rozvrh extends commando.Command {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if(!Array.isArray(cell)) cell = [cell];
|
if(!Array.isArray(cell)) cell = [cell];
|
||||||
for(const scell of cell) {
|
for(const scell of cell) {
|
||||||
embed.addField(scell.Subject.Abbrev, `\`${api.formatRoom(scell.Room.Abbrev) || "?"}\` - ${scell.Teacher.Name} - **${scell.Group.Name}**`, cell.length > 1);
|
embed.addField(scell.Subject.Abbrev, `\`${api.formatRoom(scell.Room.Abbrev) || "?"}\` - ${scell.Teacher.Name} - **${scell.Group.Name}**`, cell.length > 1);
|
||||||
}
|
}
|
||||||
if(cell.length > 1 && Array.isArray(schedule[cellI + 1]) && schedule[cellI + 1].length > 1) embed.addField("\u200B", "\u200B", true);
|
if(cell.length > 1 && Array.isArray(schedule[cellI + 1]) && schedule[cellI + 1].length > 1) embed.addField("\u200B", "\u200B", true);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue