Some cleanup
This commit is contained in:
parent
280d18c80b
commit
f9fbc5990c
1 changed files with 2 additions and 8 deletions
|
@ -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()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue