mirror of
https://github.com/danbulant/ssps-bot
synced 2026-05-19 03:58:39 +00:00
to API je svělý
This commit is contained in:
parent
e4c7ba2396
commit
846aa93cc1
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ module.exports = class suplovani extends commando.Command {
|
|||
changes.set(t.Hour, [...changes.get(t.Hour), `(\`${t.Subject}\`) **${t.ChgType1}** ${t.Group ? "(sk. " + t.Group + ")" : ""} ${t.Room ? "v `" + api.formatRoom(t.Room) + "`" : ""}`]);
|
||||
}
|
||||
if(!change.Class.Abbrev) continue;
|
||||
if(!changes.entries().length) continue;
|
||||
embed.addField(change.Class.Abbrev,
|
||||
[...changes.entries()].map(t => `**${t[0]}**. h.: ${t[1].map(t => t.trim()).join("; ")}`) || "Žádná změna",
|
||||
true
|
||||
|
|
|
|||
Loading…
Reference in a new issue