Add message when task is started
This commit is contained in:
parent
5fa2fcffdb
commit
d28e5ec8fd
@ -19,6 +19,7 @@ type Task struct {
|
||||
}
|
||||
|
||||
func processTask(task *Task, s *discordgo.Session) {
|
||||
log.Println(fmt.Sprintf("Processing task %v", task.ID))
|
||||
guild, err := s.Guild(task.GuildID)
|
||||
if err != nil {
|
||||
log.Print(fmt.Sprintf("Can't find guild with ID %v. Canceling task %v.", task.GuildID, task.ID))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user