1-
21===============================
32Classes
43===============================
@@ -22,128 +21,61 @@ LoggerBASE
2221.. autoclass :: daf.logging.LoggerBASE
2322 :members:
2423
25-
26-
2724
2825LoggerCSV
2926========================
3027.. autoclass :: daf.logging.LoggerCSV
3128 :members:
3229
33-
34-
3530
3631LoggerJSON
3732========================
3833.. autoclass :: daf.logging.LoggerJSON
3934 :members:
4035
41-
42-
4336
4437LoggerSQL
4538========================
4639.. autoclass :: daf.logging.sql.LoggerSQL
4740 :members:
4841
49-
50-
5142
5243----------------------------
53- Exceptions
44+ Message data types
5445----------------------------
5546
56- DAFError
47+ EMBED
5748========================
58- .. autoclass :: daf.exceptions.DAFError
59- :members:
60-
61-
49+ .. autoclass :: daf.dtypes.EMBED
6250
6351
64- DAFNotFoundError
52+ FILE
6553========================
66- .. autoclass :: daf.exceptions.DAFNotFoundError
54+ .. autoclass :: daf.dtypes.FILE
6755 :members:
6856
69-
70-
7157
72- DAFSQLError
58+ AUDIO
7359========================
74- .. autoclass :: daf.exceptions.DAFSQLError
60+ .. autoclass :: daf.dtypes.AUDIO
7561 :members:
7662
77-
78- .. glossary ::
79-
80- DAF_SNOWFLAKE_NOT_FOUND:
81- Value: 1
82-
83- Info: Guild with specified snowflake was not found (or user).
84-
85- DAF_USER_CREATE_DM:
86- Value: 2
87-
88- Info: Was unable to create DM with user (probably user not found).
89-
90- DAF_YOUTUBE_STREAM_ERROR:
91- Value: 3
92-
93- Info: The given youtube link could not be streamed (AUDIO, VoiceMESSAGE).
94-
95- DAF_FILE_NOT_FOUND:
96- Value: 4
97-
98- Info: The given file was not found.
99-
100- DAF_SQL_CREATE_TABLES_ERROR:
101- Value: 5
102-
103- Info: Unable to create all the tables.
104-
105- DAF_SQL_BEGIN_ENGINE_ERROR:
106- Value: 7
107-
108- Info: Unable to start engine.
109-
110- DAF_SQL_CR_LT_VALUES_ERROR:
111- Value: 8
112-
113- Info: Unable to create lookuptables' rows.
114-
115- DAF_SQL_SAVE_LOG_ERROR:
116- Value: 12
117-
118- Info: Unable to save the log to SQL
119-
12063
12164----------------------------
122- Message data types
65+ Automatic generation
12366----------------------------
12467
125- EMBED
68+ AutoCHANNEL
12669========================
127- .. autoclass :: daf.dtypes.EMBED
70+ .. autoclass :: daf.message.AutoCHANNEL
12871 :members:
129- :exclude-members: Colour, Color
13072
13173
132- FILE
74+ AutoGUILD
13375========================
134- .. autoclass :: daf.dtypes.FILE
76+ .. autoclass :: daf.guild.AutoGUILD
13577 :members:
13678
137-
138-
139-
140- AUDIO
141- ========================
142- .. autoclass :: daf.dtypes.AUDIO
143- :members:
144-
145-
146-
14779
14880----------------------------
14981Messages
@@ -154,24 +86,18 @@ TextMESSAGE
15486.. autoclass :: daf.message.TextMESSAGE
15587 :members:
15688
157- .. autoproperty :: daf.message.TextMESSAGE.created_at
158-
15989
16090DirectMESSAGE
16191========================
16292.. autoclass :: daf.message.DirectMESSAGE
16393 :members:
16494
165- .. autoproperty :: daf.message.DirectMESSAGE.created_at
166-
16795
16896VoiceMESSAGE
16997========================
17098.. autoclass :: daf.message.VoiceMESSAGE
17199 :members:
172100
173- .. autoproperty :: daf.message.VoiceMESSAGE.created_at
174-
175101
176102----------------------------
177103Guilds
@@ -182,21 +108,9 @@ GUILD
182108.. autoclass :: daf.guild.GUILD
183109 :members:
184110
185- .. autoproperty :: daf.guild.GUILD.created_at
186-
187- .. autoproperty :: daf.guild.GUILD.messages
188-
189- .. autoproperty :: daf.guild.GUILD.snowflake
190-
191111
192112USER
193113========================
194114.. autoclass :: daf.guild.USER
195115 :members:
196116
197- .. autoproperty :: daf.guild.USER.created_at
198-
199- .. autoproperty :: daf.guild.USER.messages
200-
201- .. autoproperty :: daf.guild.USER.snowflake
202-
0 commit comments