public async Task Register() { if (await student.IsRegistered(Context.User.Id)) { await SendMsg(Context.User.Username + "님은 이미 등록되어 있습니다."); return; } await student.AddDatum(new StudentRecord() { ID = Context.User.Id, Name = Context.User.Username, Dormitory = "Null", JoinedDate = DateTimeOffset.Now, Grade = "Silver" }); await log.AddStudentLog(new LogLine() { Message = "Added " + Context.User + "(" + Context.User.Id + ") into registration", Log_lv = LOG_LEVEL.INFO, Time = DateTimeOffset.Now }); await SendMsg(Context.User.Username + "님, 등록되었습니다. "); }