Commit Graph

12 Commits

Author SHA1 Message Date
thec0sm0s
252506e16c Use user_id shorthand property 2020-05-15 18:31:39 +05:30
thec0sm0s
7332ae9f4c Docs typo fix 2020-05-14 22:34:25 +05:30
thec0sm0s
3633d67d4c Minor fix, pass dict rather than list 2020-05-14 22:32:00 +05:30
thec0sm0s
362e784ba6 Override default fetch_from_api to implement updating guild cache 2020-05-14 22:28:04 +05:30
thec0sm0s
782d09246f Add MANY property to automatically return list from fetch_from_api when many of these models exists 2020-05-12 12:35:09 +05:30
thec0sm0s
6365ab461a Use DiscordModelsMeta class. Set ROUTE as required class attribute for bases. Add fetch_from_api classmethod which is shorthand to return the current model 2020-05-12 12:20:32 +05:30
thecosmos
03952f66f9 Prefix all configs with DISCORD_ to prevent un intended user override 2020-04-14 08:46:55 +05:30
thecosmos
d975547968 Add base class. Make to_json available to all of the existing models. 2019-05-22 23:52:17 +05:30
thecosmos
480fdc556e Return None when guild has no icon 2019-05-22 10:57:21 +05:30
thecosmos
ce488393e6 Documentation 2019-05-08 15:46:24 +05:30
thecosmos
3021a160ae Minor fix 2019-05-07 22:06:34 +05:30
thecosmos
c022ccec9a Basic Guild model 2019-05-07 17:47:27 +05:30