Some cleanup

This commit is contained in:
Toastie 2024-12-26 20:18:07 +13:00
parent 280d18c80b
commit f9fbc5990c
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -257,9 +257,6 @@ public static class Interviewer
public static async Task ProcessResponseMessage(DiscordMessage message) public static async Task ProcessResponseMessage(DiscordMessage message)
{ {
// TODO: Handle other interactions like button presses.
// TODO: Handle FAIL event, cancelling the interview.
// Either the message or the referenced message is null. // Either the message or the referenced message is null.
if (message.Channel == null || message.ReferencedMessage?.Channel == null) if (message.Channel == null || message.ReferencedMessage?.Channel == null)
{ {
@ -384,6 +381,7 @@ public static class Interviewer
break; break;
case QuestionType.ERROR: case QuestionType.ERROR:
default: default:
// TODO: Post error message.
break; break;
} }
} }
@ -432,6 +430,7 @@ public static class Interviewer
break; break;
case QuestionType.DONE: case QuestionType.DONE:
case QuestionType.CANCEL: case QuestionType.CANCEL:
case QuestionType.ERROR:
default: default:
break; break;
} }
@ -440,9 +439,4 @@ public static class Interviewer
DiscordMessage message = await channel.SendMessageAsync(msgBuilder); DiscordMessage message = await channel.SendMessageAsync(msgBuilder);
question.messageID = message.Id; question.messageID = message.Id;
} }
public static void CreateSummary()
{
}
} }