Summary of commits:
-Fixed some grammar typos in messages
-Changed the way typing is triggered
-Fixed a lot of the old slash commands not working at all
-Added the rest of the slash commands
-Added a context menu #33 for hadith
-Slight refactors to code
-Rewrote set calc method to be representative of the slash equivalent
-Added a methodlist command
-Added relevant commands in help
-In /dua removed the choices since not all are displayed
-/(a)quran, /(a)tafsir and /mushaf now instead of referencing as 1:1 or 1:1-7 now is (#34):
surah_num:1start_verse:1end_verse: optional:7
(for tafsir and mushaf commands, start_verse is named verse_num with no end_verse since multiple ayahs with this command was never a feature)
-Implemented the option to reference a surah by the revelation order (reveal_order opt in slash commands only) (#5)
-Added a random mushaf command both text and slash
I can see this being useful because someone may just want to read a bit of Qur'aan but is unsure which page to start from
-Fixed #39
Massive PR, take your time checking it
It's all been tested though.
Issues:
-Errors are handled from cmds like -hadith with @hadith.error however, this cannot be implemented in the same manner with slash commands
-/ireload raises an Exception saying something like "cannot await a NoneType" in reload_extension, however the actual reloading of the extension still works (-ireload works perfectly still)
-We either have to migrate to something else that supports fluent error handling for slash commands or if there is a way with the current package, with that, else, manually have try, excepts in slash cmd funcs?
Summary of commits: -Fixed some grammar typos in messages -Changed the way typing is triggered -Fixed a lot of the old slash commands not working at all -Added the rest of the slash commands -Added a context menu #33 for hadith -Slight refactors to code -Rewrote set calc method to be representative of the slash equivalent -Added a methodlist command -Added relevant commands in help -In /dua removed the choices since not all are displayed -/(a)quran, /(a)tafsir and /mushaf now instead of referencing as 1:1 or 1:1-7 now is (#34):
surah_num:
1
start_verse:
1
end_verse: optional:
7
(for tafsir and mushaf commands,start_verse
is namedverse_num
with noend_verse
since multiple ayahs with this command was never a feature) -Implemented the option to reference a surah by the revelation order (reveal_order
opt in slash commands only) (#5) -Added a random mushaf command both text and slash-Fixed #39
Massive PR, take your time checking it It's all been tested though.
Issues: -Errors are handled from cmds like -hadith with
@hadith.error
however, this cannot be implemented in the same manner with slash commands -/ireload raises an Exception saying something like "cannot await a NoneType" inreload_extension
, however the actual reloading of the extension still works (-ireload
works perfectly still) -We either have to migrate to something else that supports fluent error handling for slash commands or if there is a way with the current package, with that, else, manually have try, excepts in slash cmd funcs?