Add channel feedback on 'book' command
We suppressed channel feedback for most actions, to keep it quiet. However for the book action, it's good to show that the command worked. Change-Id: I4777ecbc854c3f00a3edf69ad30660ec636d3d37
This commit is contained in:
parent
668bbf43f1
commit
32f8b03541
|
@ -136,6 +136,8 @@ class PTGBot(SASL, SSL, irc.bot.SingleServerIRCBot):
|
|||
room, sep, timeslot = params.partition('-')
|
||||
if self.data.is_slot_valid_and_empty(room, timeslot):
|
||||
self.data.book(track, room, timeslot)
|
||||
self.send(chan, "%s: Room %s is now booked on %s for %s" %
|
||||
(nick, room, timeslot, track))
|
||||
else:
|
||||
self.send(chan, "%s: invalid slot reference '%s'" %
|
||||
(nick, params))
|
||||
|
|
Loading…
Reference in New Issue