public async Task Spellbook([Remainder] string Name = null) { var c = GetCharacter(); if (c == null) { await ReplyAsync("You have no active character."); return; } if (Name.NullorEmpty()) { var fs = await SheetService.GetAllSpells(c, Context); if (fs == null) { await ReplyAsync(c.Name + " has no Spellcasting classes."); return; } await ReplyAsync("", fs); return; } var f = await SheetService.GetSpell(c, Name, Context); if (f == null) { await ReplyAsync(c.Name + " knows no spell that start with that name."); return; } await ReplyAsync("", f); return; }