dev: refactored .bible and .quran, moved to their own folder and created ReligiousApiService for their logic

This commit is contained in:
Kwoth
2024-07-30 14:12:16 +00:00
parent d9e080f4b9
commit 6fefce4c4d
9 changed files with 178 additions and 124 deletions

View File

@@ -1,21 +0,0 @@
#nullable disable
using System.Text.Json.Serialization;
namespace NadekoBot.Modules.Searches.Common;
public class BibleVerses
{
public string Error { get; set; }
public BibleVerse[] Verses { get; set; }
}
public class BibleVerse
{
[JsonPropertyName("book_name")]
public string BookName { get; set; }
public int Chapter { get; set; }
public int Verse { get; set; }
public string Text { get; set; }
}